diff options
author | slewis | 2015-03-30 20:59:06 +0000 |
---|---|---|
committer | slewis | 2015-03-30 20:59:06 +0000 |
commit | e5fc2f21fc5cb6a092f1ccf210a5f98071c659d0 (patch) | |
tree | b4c5a05c85931d5d57a99031301391fe3a0c6080 /tests | |
parent | dd627441647669e2ed8304684f0929dfa7c4e6da (diff) | |
download | org.eclipse.ecf-e5fc2f21fc5cb6a092f1ccf210a5f98071c659d0.tar.gz org.eclipse.ecf-e5fc2f21fc5cb6a092f1ccf210a5f98071c659d0.tar.xz org.eclipse.ecf-e5fc2f21fc5cb6a092f1ccf210a5f98071c659d0.zip |
Fix for rosgi ws/wss test code.
Change-Id: I3925172406695e264aeb1b7fdf0b7d7ffc0ec308
Diffstat (limited to 'tests')
2 files changed, 4 insertions, 11 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.ws/src/org/eclipse/ecf/tests/osgi/services/distribution/r_osgi/ws/R_OSGiWSRemoteServiceRegisterTest.java b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.ws/src/org/eclipse/ecf/tests/osgi/services/distribution/r_osgi/ws/R_OSGiWSRemoteServiceRegisterTest.java index de14b2408..05176768f 100644 --- a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.ws/src/org/eclipse/ecf/tests/osgi/services/distribution/r_osgi/ws/R_OSGiWSRemoteServiceRegisterTest.java +++ b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.ws/src/org/eclipse/ecf/tests/osgi/services/distribution/r_osgi/ws/R_OSGiWSRemoteServiceRegisterTest.java @@ -12,7 +12,6 @@ package org.eclipse.ecf.tests.osgi.services.distribution.r_osgi.ws; import org.eclipse.ecf.core.ContainerFactory; import org.eclipse.ecf.core.IContainer; -import org.eclipse.ecf.core.identity.IDFactory; import org.eclipse.ecf.tests.osgi.services.distribution.AbstractRemoteServiceRegisterTest; @@ -40,10 +39,8 @@ public class R_OSGiWSRemoteServiceRegisterTest extends AbstractRemoteServiceRegi super.tearDown(); } - protected IContainer createClient(int index) throws Exception { - return ContainerFactory.getDefault().createContainer(CONTAINER_TYPE_NAME, - new Object[] { IDFactory.getDefault().createStringID( - "r-osgi.ws://localhost:"+(9279+index)) }); + protected int getClientCount() { + return 0; } protected IContainer createServer() throws Exception { diff --git a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.wss/src/org/eclipse/ecf/tests/distribution/r_osgi/wss/R_OSGiWSSRemoteServiceRegisterTest.java b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.wss/src/org/eclipse/ecf/tests/distribution/r_osgi/wss/R_OSGiWSSRemoteServiceRegisterTest.java index a92680ef7..fc757894e 100644 --- a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.wss/src/org/eclipse/ecf/tests/distribution/r_osgi/wss/R_OSGiWSSRemoteServiceRegisterTest.java +++ b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.wss/src/org/eclipse/ecf/tests/distribution/r_osgi/wss/R_OSGiWSSRemoteServiceRegisterTest.java @@ -12,7 +12,6 @@ package org.eclipse.ecf.tests.distribution.r_osgi.wss; import org.eclipse.ecf.core.ContainerFactory; import org.eclipse.ecf.core.IContainer; -import org.eclipse.ecf.core.identity.IDFactory; import org.eclipse.ecf.tests.osgi.services.distribution.AbstractRemoteServiceRegisterTest; @@ -40,17 +39,14 @@ public class R_OSGiWSSRemoteServiceRegisterTest extends AbstractRemoteServiceReg super.tearDown(); } - protected IContainer createClient(int index) throws Exception { - return ContainerFactory.getDefault().createContainer(CONTAINER_TYPE_NAME, - new Object[] { IDFactory.getDefault().createStringID( - "r-osgi.wss://localhost:"+(9279+index)) }); + protected int getClientCount() { + return 0; } protected IContainer createServer() throws Exception { return ContainerFactory.getDefault().createContainer(CONTAINER_TYPE_NAME,SERVER_IDENTITY); } - protected String getClientContainerName() { return CONTAINER_TYPE_NAME; } |