Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-12-30 03:32:44 +0000
committerslewis2009-12-30 03:32:44 +0000
commit253e6c6f66668cf973a1fcc79c989356ce7987db (patch)
tree83404396e529354194c1aabe4a2123070b9d4877 /tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution
parent836eb581ca1b4ba4e34ec543ac1f3bf91979e8d9 (diff)
downloadorg.eclipse.ecf-253e6c6f66668cf973a1fcc79c989356ce7987db.tar.gz
org.eclipse.ecf-253e6c6f66668cf973a1fcc79c989356ce7987db.tar.xz
org.eclipse.ecf-253e6c6f66668cf973a1fcc79c989356ce7987db.zip
Removed duplicate test method
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution')
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/src/org/eclipse/ecf/tests/osgi/services/distribution/AbstractRemoteServiceAccessTest.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/src/org/eclipse/ecf/tests/osgi/services/distribution/AbstractRemoteServiceAccessTest.java b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/src/org/eclipse/ecf/tests/osgi/services/distribution/AbstractRemoteServiceAccessTest.java
index cb3ac4270..3cd8709c7 100644
--- a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/src/org/eclipse/ecf/tests/osgi/services/distribution/AbstractRemoteServiceAccessTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/src/org/eclipse/ecf/tests/osgi/services/distribution/AbstractRemoteServiceAccessTest.java
@@ -184,43 +184,6 @@ public abstract class AbstractRemoteServiceAccessTest extends
}
- public void testGetRemoteServiceReference1() throws Exception {
- String classname = TestServiceInterface1.class.getName();
- // Setup service tracker for client
- ServiceTracker st = createProxyServiceTracker(classname);
-
- Properties props = getServiceProperties();
-
- // Put property 'foo' with value 'bar' into properties
- String testPropKey = "foo";
- String testPropVal = "bar";
- props.put(testPropKey, testPropVal);
- String testPropKey1 = "foo1";
- String testPropVal1 = "bar1";
- props.put(testPropKey1, testPropVal1);
-
- ServiceRegistration registration = registerService(classname,
- new TestService1(), props);
- Thread.sleep(REGISTER_WAIT);
-
- // Client - Get service references that are proxies
- ServiceReference[] remoteReferences = st.getServiceReferences();
- assertReferencesValidAndFirstHasCorrectType(remoteReferences, classname);
-
- // Check the props in service reference
- String prop = (String) remoteReferences[0].getProperty(testPropKey);
- assertTrue(prop != null);
- assertTrue(prop.equals(testPropVal));
-
- String prop1 = (String) remoteReferences[0].getProperty(testPropKey1);
- assertTrue(prop1 != null);
- assertTrue(prop1.equals(testPropVal1));
-
- registration.unregister();
- st.close();
- Thread.sleep(REGISTER_WAIT);
- }
-
public void testProxy() throws Exception {
String classname = TestServiceInterface1.class.getName();
// Setup service tracker for client

Back to the top