Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorslewis2015-03-30 16:59:06 -0400
committerslewis2015-03-30 16:59:06 -0400
commite5fc2f21fc5cb6a092f1ccf210a5f98071c659d0 (patch)
treeb4c5a05c85931d5d57a99031301391fe3a0c6080 /tests
parentdd627441647669e2ed8304684f0929dfa7c4e6da (diff)
downloadorg.eclipse.ecf-e5fc2f21fc5cb6a092f1ccf210a5f98071c659d0.tar.gz
org.eclipse.ecf-e5fc2f21fc5cb6a092f1ccf210a5f98071c659d0.tar.xz
org.eclipse.ecf-e5fc2f21fc5cb6a092f1ccf210a5f98071c659d0.zip
Fix for rosgi ws/wss test code.
Diffstat (limited to 'tests')
-rw-r--r--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.java7
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi.wss/src/org/eclipse/ecf/tests/distribution/r_osgi/wss/R_OSGiWSSRemoteServiceRegisterTest.java8
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;
}

Back to the top