You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/01/23 14:01:50 UTC
svn commit: r902402 -
/tuscany/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java
Author: antelder
Date: Sat Jan 23 13:01:49 2010
New Revision: 902402
URL: http://svn.apache.org/viewvc?rev=902402&view=rev
Log:
Uncomment out test method that was inadvertently committed commented out
Modified:
tuscany/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java
Modified: tuscany/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java?rev=902402&r1=902401&r2=902402&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java (original)
+++ tuscany/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/TwoNodesTestCase.java Sat Jan 23 13:01:49 2010
@@ -72,16 +72,16 @@
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 {