diff options
Diffstat (limited to 'sca-java-2.x/trunk/itest')
-rw-r--r-- | sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java b/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java index 298fdcdbbd..80c36e5ee9 100644 --- a/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java +++ b/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java @@ -72,16 +72,16 @@ public class TwoNodesTestCase { throw new IllegalStateException("Can't find jar in: " + targetDirectory); } -// @Test -// public void testCalculator() throws Exception { -// Helloworld service = serviceNode.getService(Helloworld.class, "HelloworldService"); -// assertNotNull(service); -// assertEquals("Hello Petra", service.sayHello("Petra")); -// -// Helloworld client = clientNode.getService(Helloworld.class, "HelloworldClient"); -// assertNotNull(client); -// assertEquals("Hi Hello Petra", client.sayHello("Petra")); -// } + @Test + public void testCalculator() throws Exception { + Helloworld service = serviceNode.getService(Helloworld.class, "HelloworldService"); + assertNotNull(service); + assertEquals("Hello Petra", service.sayHello("Petra")); + + Helloworld client = clientNode.getService(Helloworld.class, "HelloworldClient"); + assertNotNull(client); + assertEquals("Hi Hello Petra", client.sayHello("Petra")); + } @Test public void testCalculatorClientAPI() throws Exception { |