Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2008-05-30 13:51:03 +0000
committermkuppe2008-05-30 13:51:03 +0000
commit47ded3efd05e8da7018c634a8332087ca26658c8 (patch)
treec50553d7fad480ea289f96888ee4b4f7382118b4
parent4ec22f6dbf93fc753fc2a235c7cd28777a1ba9b6 (diff)
downloadorg.eclipse.ecf-47ded3efd05e8da7018c634a8332087ca26658c8.tar.gz
org.eclipse.ecf-47ded3efd05e8da7018c634a8332087ca26658c8.tar.xz
org.eclipse.ecf-47ded3efd05e8da7018c634a8332087ca26658c8.zip
NEW - bug 232813: [Discovery][jSLP] No OSGi service is registered
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232813
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryServiceTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryServiceTest.java b/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryServiceTest.java
index 6a8b03b9e..6e7d0db7e 100755
--- a/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryServiceTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryServiceTest.java
@@ -12,6 +12,7 @@
package org.eclipse.ecf.tests.discovery;
import org.eclipse.ecf.discovery.IDiscoveryContainerAdapter;
+import org.eclipse.ecf.discovery.service.IDiscoveryService;
import org.osgi.framework.ServiceReference;
import org.osgi.util.tracker.ServiceTracker;
@@ -36,8 +37,7 @@ public abstract class DiscoveryServiceTest extends DiscoveryTest {
assertNotNull(NO_PROVIDER_REGISTERED, serviceReferences);
for(int i = 0; i < serviceReferences.length; i++) {
ServiceReference sr = serviceReferences[i];
- //TODO-mkuppe https://bugs.eclipse.org/232813
- if(containerUnderTest.equals(sr.getProperty(IDiscoveryContainerAdapter.CONTAINER_CONNECT_TARGET))) {
+ if(containerUnderTest.equals(sr.getProperty(IDiscoveryService.CONTAINER_NAME))) {
return (IDiscoveryContainerAdapter) serviceTracker.getService(sr);
}
}

Back to the top