diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-02 12:47:20 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-02 12:47:20 +0000 |
commit | 3aee1ff0d471d8a197add711b9a46f91060d81c4 (patch) | |
tree | 15eb7a1dbb873dd2eb3bf94c90ca683289cf4803 /sca-java-1.x/trunk/itest/databindings | |
parent | ab7ab0d3489408ae2c959b9e69a2a3eab6a35b05 (diff) |
TUSCANY-3806: Close the SCA domain after running the tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041352 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/itest/databindings')
-rw-r--r-- | sca-java-1.x/trunk/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sca-java-1.x/trunk/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm b/sca-java-1.x/trunk/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm index 7bdfc57924..cdd7d4c965 100644 --- a/sca-java-1.x/trunk/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm +++ b/sca-java-1.x/trunk/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm @@ -41,7 +41,6 @@ import $file.getJavaPackage().$file.getFactory(); */ public class InteropDatabindingTestCase extends TestCase { - private static boolean initalised = false; private GreeterService greeterClient; private static SCADomain domain; @@ -49,18 +48,15 @@ public class InteropDatabindingTestCase extends TestCase { * Runs before each test method */ protected void setUp() throws Exception { - if (!initalised) { - domain = SCADomain.newInstance("interopgreeter.composite"); - super.setUp(); - initalised = true; - } + domain = SCADomain.newInstance("interopgreeter.composite"); + super.setUp(); } /** * Runs after each test method */ protected void tearDown() { - + domain.close(); } /** |