public class P2ResolverTest extends P2ResolverTestBase
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
LogVerifier |
logVerifier |
private ReactorProject |
projectToResolve |
private P2ResolutionResult |
result |
impl, pomDependencies, reactorProjects, resolverFactory, tpConfig, tpFactory
Constructor and Description |
---|
P2ResolverTest() |
addContextProject, createReactorProject, createReactorProject, getEnvironments, prepare
public final LogVerifier logVerifier
public org.junit.rules.ExpectedException expectedException
private ReactorProject projectToResolve
private P2ResolutionResult result
public void initDefaultResolver() throws java.lang.Exception
java.lang.Exception
public void testBasic() throws java.lang.Exception
java.lang.Exception
public void testSiteConflictingDependenciesResolver() throws java.io.IOException
java.io.IOException
public void testDuplicateInstallableUnit() throws java.lang.Exception
java.lang.Exception
public void testProjectToResolveOverwritesTargetContent() throws java.lang.Exception
java.lang.Exception
public void testFeatureInstallableUnits() throws java.lang.Exception
java.lang.Exception
public void testSourceBundle() throws java.lang.Exception
java.lang.Exception
public void testEclipseRepository() throws java.lang.Exception
java.lang.Exception
public void testEclipseTestPluginAutomaticallyDependsOnTestHarnesses() throws java.lang.Exception
java.lang.Exception
public void testBundleUsesSWT() throws java.lang.Exception
java.lang.Exception
public void testSwt() throws java.lang.Exception
java.lang.Exception
public void testSwtFragment() throws java.lang.Exception
java.lang.Exception
public void testSwtFragmentWithRemoteSWT() throws java.lang.Exception
java.lang.Exception
public void testReactorVsExternal() throws java.lang.Exception
java.lang.Exception
public void testResolutionRestrictedEE() throws java.lang.Exception
java.lang.Exception
public void testResolutionEE() throws java.lang.Exception
java.lang.Exception
public void testResolutionCustomEE() throws java.lang.Exception
java.lang.Exception
public void testFeatureWithUnresolvableSecondaryUnit() throws java.lang.Exception
java.lang.Exception
public void testP2InfUnclassifiedBundleUnitDoesntOverwriteMainArtifact() throws java.lang.Exception
java.lang.Exception
public void testP2InfClassifiedBundleUnitDoesntOverwriteMainArtifact() throws java.lang.Exception
java.lang.Exception
public void testFeatureMultienvP2Inf() throws java.lang.Exception
java.lang.Exception
public void testProductMultienvP2Inf() throws java.lang.Exception
java.lang.Exception
public void testAdditionalFilterProperties() throws java.lang.Exception
java.lang.Exception
public void testResolveWithoutProject() throws java.lang.Exception
java.lang.Exception
public void testMissingArtifact() throws java.lang.Exception
java.lang.Exception
private P2TargetPlatform getTargetPlatform()
private P2TargetPlatform getTargetPlatform(ExecutionEnvironmentResolutionHandler eeResolutionHandler)
private static P2ResolutionResult singleEnv(java.util.List<P2ResolutionResult> results)
private static P2ResolutionResult.Entry getClassifiedArtifact(P2ResolutionResult resolutionResult, java.lang.String classifier)
static org.hamcrest.Matcher<P2ResolutionResult.Entry> withId(java.lang.String id)
private static void assertContainsUnit(java.lang.String unitID, java.util.Set<?> units)
private static java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits(java.lang.String unitID, java.util.Set<?> units)
private static void assertContainLocation(P2ResolutionResult result, java.io.File location)
private static boolean eq(java.lang.String left, java.lang.String right)