summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/itest/databindings/interop
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/trunk/itest/databindings/interop')
-rw-r--r--sca-java-1.x/trunk/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm10
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();
}
/**