Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-12-09 21:14:00 +0000
committerAndrew Niefer2009-12-09 21:14:00 +0000
commita705d67b2ab563c07af5bdee3f05eeb2292220f3 (patch)
treeb78f3a6f55ad56fc05fe1f868002b440ffcf8bf6
parentbc8374eb98864e5c8845e51797b629b9d184adfb (diff)
downloadrt.equinox.p2-a705d67b2ab563c07af5bdee3f05eeb2292220f3.tar.gz
rt.equinox.p2-a705d67b2ab563c07af5bdee3f05eeb2292220f3.tar.xz
rt.equinox.p2-a705d67b2ab563c07af5bdee3f05eeb2292220f3.zip
these CUs are not fragments
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ConfigCUsActionTest.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ConfigCUsActionTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ConfigCUsActionTest.java
index a996abf80..c8a2065f2 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ConfigCUsActionTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ConfigCUsActionTest.java
@@ -24,7 +24,6 @@ import org.eclipse.equinox.internal.provisional.frameworkadmin.LauncherData;
import org.eclipse.equinox.internal.provisional.p2.metadata.*;
import org.eclipse.equinox.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.p2.metadata.IRequirement;
-import org.eclipse.equinox.p2.metadata.query.FragmentQuery;
import org.eclipse.equinox.p2.publisher.IPublisherResult;
import org.eclipse.equinox.p2.publisher.eclipse.*;
import org.eclipse.equinox.p2.repository.metadata.IMetadataRepository;
@@ -84,14 +83,12 @@ public class ConfigCUsActionTest extends ActionTest {
if (iu.getId().equals(flavor + id + "." + cuType + "." + configSpec)) { //$NON-NLS-1$ //$NON-NLS-2$
assertTrue(((LDAPQuery) iu.getFilter()).getFilter().equals("(& (osgi.ws=win32)(osgi.os=win32)(osgi.arch=x86))")); //$NON-NLS-1$
assertTrue(iu.getVersion().equals(version));
- assertTrue(iu.getProperty("org.eclipse.equinox.p2.type.fragment").equals("true")); //$NON-NLS-1$//$NON-NLS-2$
assertFalse(iu.isSingleton());
IProvidedCapability[] providedCapabilities = iu.getProvidedCapabilities();
verifyProvidedCapability(providedCapabilities, IInstallableUnit.NAMESPACE_IU_ID, flavor + id + "." + cuType + "." + configSpec, version); //$NON-NLS-1$//$NON-NLS-2$
verifyProvidedCapability(providedCapabilities, flavor + id, id + "." + cuType, version); //$NON-NLS-1$
assertTrue(providedCapabilities.length == 2);
assertTrue(iu.getRequiredCapabilities().length == 0);
- assertTrue(FragmentQuery.isFragment(iu));
return; //pass
}
}

Back to the top