tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r950540 - /tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java
Date Wed, 02 Jun 2010 12:45:58 GMT
Author: antelder
Date: Wed Jun  2 12:45:58 2010
New Revision: 950540

URL: http://svn.apache.org/viewvc?rev=950540&view=rev
Log:
Merge 950539 to m5 branch to update test to use local loop back address

Modified:
    tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java
  (contents, props changed)

Modified: tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java?rev=950540&r1=950539&r2=950540&view=diff
==============================================================================
--- tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java
(original)
+++ tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java
Wed Jun  2 12:45:58 2010
@@ -23,8 +23,6 @@ import static org.junit.Assert.assertEqu
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.fail;
 
-import java.net.URI;
-
 import org.apache.tuscany.sca.node.Node;
 import org.apache.tuscany.sca.node.NodeFactory;
 import org.junit.AfterClass;
@@ -40,15 +38,15 @@ public class HazelcastBindingTestCase {
     @BeforeClass
     public static void setUpBeforeClass() throws Exception {
         // Note use of NodeFactory.newInstance() so as to start separate runtimes
-        serviceNode = NodeFactory.newInstance().createNode(URI.create("tuscany:HazelcastBindingTestCase"),
"service.composite", new String[]{"target/test-classes"});
+        serviceNode = NodeFactory.newInstance("uri:HazelcastBindingTestCase?bind=127.0.0.1").createNode("service.composite",
new String[]{"target/test-classes"});
         serviceNode.start();
-        clientNode = NodeFactory.newInstance().createNode(URI.create("tuscany:HazelcastBindingTestCase"),
 "client.composite", new String[]{"target/test-classes"});
+        clientNode = NodeFactory.newInstance("uri:HazelcastBindingTestCase?bind=127.0.0.1").createNode("client.composite",
new String[]{"target/test-classes"});
         clientNode.start();
     }
 
     @Test
     public void testNestedClient() throws Exception {
-        Node client2Node = NodeFactory.newInstance().createNode(URI.create("tuscany:HazelcastBindingTestCase"),
 "client2.composite", new String[]{"target/test-classes"});
+        Node client2Node = NodeFactory.newInstance("uri:HazelcastBindingTestCase?bind=127.0.0.1").createNode("client2.composite",
new String[]{"target/test-classes"});
         client2Node.start();
         TestService service = client2Node.getService(TestService.class, "TestServiceClient2");
         assertNotNull(service);

Propchange: tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Jun  2 12:45:58 2010
@@ -0,0 +1,4 @@
+/tuscany/branches/sca-java-1.3/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java:671193
+/tuscany/branches/sca-java-1.x/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java:713805-714043
+/tuscany/java/sca/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java:694816-713804
+/tuscany/sca-java-2.x/trunk/modules/binding-hazelcast-runtime/src/test/java/org/apache/tuscany/sca/binding/hazelcast/HazelcastBindingTestCase.java:950539



Mime
View raw message