public class ProjectorResolutionStrategyTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ResolutionDataImpl |
data |
LogVerifier |
logVerifier |
private org.eclipse.core.runtime.IProgressMonitor |
monitor |
private java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
selectedIUs |
private ProjectorResolutionStrategy |
strategy |
Constructor and Description |
---|
ProjectorResolutionStrategyTest() |
Modifier and Type | Method and Description |
---|---|
private static java.util.Collection<org.eclipse.equinox.p2.metadata.IProvidedCapability> |
createCapabilities(java.util.Map<java.lang.String,java.lang.String> namespace2NameMap) |
private static java.util.HashMap<java.lang.String,java.lang.String> |
createSelectionContext(java.lang.String os,
java.lang.String ws,
java.lang.String arch) |
private org.eclipse.equinox.p2.metadata.IInstallableUnit |
createSwtFragment(java.lang.String os,
java.lang.String ws,
java.lang.String arch,
java.lang.String nls) |
private void |
invokefixSwtWithLinuxFragmentPresent(org.eclipse.equinox.p2.metadata.IInstallableUnit rootIU,
java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> selectedIUs) |
void |
setup() |
void |
testFixSwt() |
void |
testFixSwtDisabledForNonBrokenSWTVersion() |
void |
testFixSwtNoImplFound() |
void |
testFixSwtNoSwtDependency() |
void |
testFixSwtSwtFragmentInRootIUs() |
void |
testFixSwtSwtInRootIUs() |
void |
testFixSwtWithNLSFragmentPresent() |
public final LogVerifier logVerifier
private org.eclipse.core.runtime.IProgressMonitor monitor
private ProjectorResolutionStrategy strategy
private ResolutionDataImpl data
private java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> selectedIUs
public void setup()
public void testFixSwt() throws java.lang.Exception
java.lang.Exception
public void testFixSwtDisabledForNonBrokenSWTVersion() throws java.lang.Exception
java.lang.Exception
public void testFixSwtWithNLSFragmentPresent() throws java.lang.Exception
java.lang.Exception
public void testFixSwtNoSwtDependency() throws java.lang.Exception
java.lang.Exception
public void testFixSwtNoImplFound() throws java.lang.Exception
java.lang.Exception
public void testFixSwtSwtInRootIUs() throws java.lang.Exception
java.lang.Exception
public void testFixSwtSwtFragmentInRootIUs() throws java.lang.Exception
java.lang.Exception
private void invokefixSwtWithLinuxFragmentPresent(org.eclipse.equinox.p2.metadata.IInstallableUnit rootIU, java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> selectedIUs)
private org.eclipse.equinox.p2.metadata.IInstallableUnit createSwtFragment(java.lang.String os, java.lang.String ws, java.lang.String arch, java.lang.String nls)
private static java.util.HashMap<java.lang.String,java.lang.String> createSelectionContext(java.lang.String os, java.lang.String ws, java.lang.String arch)
private static java.util.Collection<org.eclipse.equinox.p2.metadata.IProvidedCapability> createCapabilities(java.util.Map<java.lang.String,java.lang.String> namespace2NameMap)