diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-15 13:52:59 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-15 13:52:59 +0000 |
commit | a7a58f737995ba16c6dc3e2c7f232d5fd3d3daf2 (patch) | |
tree | 1a99356b5efc5f440c51a163bc1e45d69b546693 /sca-java-2.x/trunk/itest/ws-jaxws | |
parent | 248bae009f994c270a25936462a104fe21332e3d (diff) |
changes for looking for memory leaks.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934410 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
2 files changed, 97 insertions, 29 deletions
diff --git a/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java b/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java index b07b80c2c4..d20ecc3899 100644 --- a/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java +++ b/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java @@ -71,8 +71,15 @@ public class JavaFirstTestCase extends TestCase { assertEquals(5, f2.getBars()[1].getY().intValue()); assertTrue(f2.getBars()[1].getB().booleanValue()); */ - } + } +/* + public void testWait() throws Exception { + System.out.println("Press a key"); + System.in.read(); + } + +*/ @Override protected void tearDown() throws Exception { node.stop(); diff --git a/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCase.java b/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCase.java index 692c1029be..dd14dbbd74 100644 --- a/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCase.java +++ b/sca-java-2.x/trunk/itest/ws-jaxws/test-launcher/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCase.java @@ -43,39 +43,100 @@ public class WSDLFirstTestCase extends TestCase { } public void testCalculator() throws Exception { - - HelloWorldClientLauncher.main(null); - -/* - Foo f = new Foo(); - Bar b1 = new Bar(); - b1.setS("petra"); - b1.setX(1); - b1.setY(new Integer(2)); - b1.setB(Boolean.TRUE); - Bar b2 = new Bar(); - b2.setS("beate"); - b2.setX(3); - b2.setY(new Integer(4)); - b2.setB(Boolean.FALSE); - f.setBars(new Bar[] { b1, b2} ); - - Foo f2 = helloWorld.getGreetingsComplex(f); - - assertEquals("petra", f2.getBars()[0].getS()); - assertEquals(1, f2.getBars()[0].getX()); - assertEquals(2, f2.getBars()[0].getY().intValue()); - assertTrue(f2.getBars()[0].getB().booleanValue()); - assertEquals("simon", f2.getBars()[1].getS()); - assertEquals(4, f2.getBars()[1].getX()); - assertEquals(5, f2.getBars()[1].getY().intValue()); - assertTrue(f2.getBars()[1].getB().booleanValue()); -*/ + HelloWorldClientLauncher.main(null); + } + + public void testWait1() throws Exception { + System.out.println("Press a key"); + System.in.read(); + } + + public void testCalculator1() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator2() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator3() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator4() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator5() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator6() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator7() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator8() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator9() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator10() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator11() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator12() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator13() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator14() throws Exception { + HelloWorldClientLauncher.main(null); } + public void testCalculator15() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator16() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator17() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator18() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator19() throws Exception { + HelloWorldClientLauncher.main(null); + } + + public void testCalculator20() throws Exception { + HelloWorldClientLauncher.main(null); + } + + + @Override protected void tearDown() throws Exception { node.stop(); + node = null; } } |