Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-25 09:12:18 -0500
committermkuppe2009-02-25 09:12:18 -0500
commitb4befeac508afeebaf55d9e8760e2359f4c9ec64 (patch)
treec69247821012ca28c59de658f1d74be929075805 /tests/bundles/org.eclipse.ecf.tests.provider.jslp
parent04f9d64b17402d9587f53f456286cb7ba8930d6c (diff)
downloadorg.eclipse.ecf-b4befeac508afeebaf55d9e8760e2359f4c9ec64.tar.gz
org.eclipse.ecf-b4befeac508afeebaf55d9e8760e2359f4c9ec64.tar.xz
org.eclipse.ecf-b4befeac508afeebaf55d9e8760e2359f4c9ec64.zip
NEW - bug 254832: [Discovery][SLP] Provider may cache discovered services for lifetime
https://bugs.eclipse.org/bugs/show_bug.cgi?id=254832 NEW - bug 257861: Split org.eclipse.ecf.discovery.IDiscoveryContainerAdapter into "Locator" and a "Advertiser" https://bugs.eclipse.org/bugs/show_bug.cgi?id=257861
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.provider.jslp')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPDiscoveryTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPDiscoveryTest.java b/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPDiscoveryTest.java
index 15ac66eed..8c271a4fb 100755
--- a/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPDiscoveryTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPDiscoveryTest.java
@@ -15,12 +15,12 @@ import org.eclipse.ecf.internal.provider.jslp.NullPatternAdvertiser;
import org.eclipse.ecf.internal.provider.jslp.NullPatternLocator;
import org.eclipse.ecf.provider.jslp.container.JSLPDiscoveryContainer;
import org.eclipse.ecf.tests.discovery.Activator;
-import org.eclipse.ecf.tests.discovery.DiscoveryTest;
+import org.eclipse.ecf.tests.discovery.DiscoveryContainerTest;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.framework.BundleException;
-public class JSLPDiscoveryTest extends DiscoveryTest {
+public class JSLPDiscoveryTest extends DiscoveryContainerTest {
static {
// tests need root privileges to bind to slp port 427 in SA mode
@@ -66,7 +66,7 @@ public class JSLPDiscoveryTest extends DiscoveryTest {
assertTrue(bundle.getState() == Bundle.ACTIVE);
bundle.stop();
assertTrue(bundle.getState() == Bundle.RESOLVED);
- assertEquals("No service should have been found since NullPatternLocator is active", discoveryContainer.getServices().length, 0);
+ assertEquals("No service should have been found since NullPatternLocator is active", discoveryLocator.getServices().length, 0);
} finally {
if(bundle != null) {
bundle.start();

Back to the top