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, preparepublic final LogVerifier logVerifier
public org.junit.rules.ExpectedException expectedException
private ReactorProject projectToResolve
private P2ResolutionResult result
public void initDefaultResolver()
throws java.lang.Exception
java.lang.Exceptionpublic void testBasic()
throws java.lang.Exception
java.lang.Exceptionpublic void testSiteConflictingDependenciesResolver()
throws java.io.IOException
java.io.IOExceptionpublic void testDuplicateInstallableUnit()
throws java.lang.Exception
java.lang.Exceptionpublic void testProjectToResolveOverwritesTargetContent()
throws java.lang.Exception
java.lang.Exceptionpublic void testFeatureInstallableUnits()
throws java.lang.Exception
java.lang.Exceptionpublic void testSourceBundle()
throws java.lang.Exception
java.lang.Exceptionpublic void testEclipseRepository()
throws java.lang.Exception
java.lang.Exceptionpublic void testEclipseTestPluginAutomaticallyDependsOnTestHarnesses()
throws java.lang.Exception
java.lang.Exceptionpublic void testBundleUsesSWT()
throws java.lang.Exception
java.lang.Exceptionpublic void testSwt()
throws java.lang.Exception
java.lang.Exceptionpublic void testSwtFragment()
throws java.lang.Exception
java.lang.Exceptionpublic void testSwtFragmentWithRemoteSWT()
throws java.lang.Exception
java.lang.Exceptionpublic void testReactorVsExternal()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolutionRestrictedEE()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolutionEE()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolutionCustomEE()
throws java.lang.Exception
java.lang.Exceptionpublic void testFeatureWithUnresolvableSecondaryUnit()
throws java.lang.Exception
java.lang.Exceptionpublic void testP2InfUnclassifiedBundleUnitDoesntOverwriteMainArtifact()
throws java.lang.Exception
java.lang.Exceptionpublic void testP2InfClassifiedBundleUnitDoesntOverwriteMainArtifact()
throws java.lang.Exception
java.lang.Exceptionpublic void testFeatureMultienvP2Inf()
throws java.lang.Exception
java.lang.Exceptionpublic void testProductMultienvP2Inf()
throws java.lang.Exception
java.lang.Exceptionpublic void testAdditionalFilterProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveWithoutProject()
throws java.lang.Exception
java.lang.Exceptionpublic void testMissingArtifact()
throws java.lang.Exception
java.lang.Exceptionprivate 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)