Search in sources :

Example 11 with TargetPlatformConfigurationStub

use of org.eclipse.tycho.p2.target.facade.TargetPlatformConfigurationStub in project tycho by eclipse.

the class PomDependencyCollectorTest method getTargetPlatformUnits.

private Collection<IInstallableUnit> getTargetPlatformUnits() {
    TestResolverFactory resolverFactory = new TestResolverFactory(logVerifier.getLogger());
    P2TargetPlatform platform = resolverFactory.getTargetPlatformFactoryImpl().createTargetPlatform(new TargetPlatformConfigurationStub(), NOOP_EE_RESOLUTION_HANDLER, null, subject);
    return platform.getInstallableUnits();
}
Also used : TargetPlatformConfigurationStub(org.eclipse.tycho.p2.target.facade.TargetPlatformConfigurationStub)

Aggregations

TargetPlatformConfigurationStub (org.eclipse.tycho.p2.target.facade.TargetPlatformConfigurationStub)6 IInstallableUnit (org.eclipse.equinox.p2.metadata.IInstallableUnit)4 P2TargetPlatform (org.eclipse.tycho.p2.target.P2TargetPlatform)4 ExecutionEnvironmentConfigurationStub (org.eclipse.tycho.core.ee.shared.ExecutionEnvironmentConfigurationStub)3 Before (org.junit.Before)3 ReactorProjectIdentities (org.eclipse.tycho.ReactorProjectIdentities)2 MavenRepositoryLocation (org.eclipse.tycho.core.resolver.shared.MavenRepositoryLocation)2 File (java.io.File)1 ArrayList (java.util.ArrayList)1 ArtifactRepository (org.apache.maven.artifact.repository.ArtifactRepository)1 ReactorProject (org.eclipse.tycho.ReactorProject)1 TargetPlatform (org.eclipse.tycho.artifacts.TargetPlatform)1 TargetPlatformFilter (org.eclipse.tycho.artifacts.TargetPlatformFilter)1 TargetPlatformConfiguration (org.eclipse.tycho.core.TargetPlatformConfiguration)1 ExecutionEnvironmentConfiguration (org.eclipse.tycho.core.ee.shared.ExecutionEnvironmentConfiguration)1 MultiLineLogger (org.eclipse.tycho.core.shared.MultiLineLogger)1 TargetEnvironment (org.eclipse.tycho.core.shared.TargetEnvironment)1 DefaultDependencyMetadataGenerator (org.eclipse.tycho.p2.impl.publisher.DefaultDependencyMetadataGenerator)1 P2GeneratorImpl (org.eclipse.tycho.p2.impl.publisher.P2GeneratorImpl)1 ReactorProjectStub (org.eclipse.tycho.p2.impl.test.ReactorProjectStub)1