public class TargetDefinitionResolverWithPlatformSpecificUnitsTest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
TargetDefinitionResolverWithPlatformSpecificUnitsTest.FilterRepoLocationStubWithLauncherUnit |
Modifier and Type | Field and Description |
---|---|
private static org.eclipse.equinox.p2.metadata.IVersionedId |
LAUNCHER_BUNDLE |
private static org.eclipse.equinox.p2.metadata.IVersionedId |
LAUNCHER_BUNDLE_LINUX |
private static org.eclipse.equinox.p2.metadata.IVersionedId |
LAUNCHER_BUNDLE_MAC |
private static org.eclipse.equinox.p2.metadata.IVersionedId |
LAUNCHER_BUNDLE_WINDOWS |
private static org.eclipse.equinox.p2.metadata.IVersionedId |
LAUNCHER_FEATURE |
private static org.eclipse.equinox.p2.metadata.IVersionedId |
LAUNCHER_FEATURE_JAR |
LogVerifier |
logVerifier |
P2Context |
p2Context |
private TargetDefinitionResolver |
subject |
private static TargetDefinition |
targetDefinition |
Constructor and Description |
---|
TargetDefinitionResolverWithPlatformSpecificUnitsTest() |
Modifier and Type | Method and Description |
---|---|
private TargetDefinitionResolver |
createResolver(java.util.List<TargetEnvironment> environments) |
void |
testConflictingIncludeAllEnvironments() |
void |
testPlannerResolutionWithMultiplePlatforms() |
void |
testPlannerResolutionWithOnePlatform() |
void |
testResolutionWithGenericPlatform() |
void |
testSlicerResolutionWithIncludeAllEnvironments() |
void |
testSlicerResolutionWithMultiplePlatforms() |
void |
testSlicerResolutionWithOnePlatform() |
private static final org.eclipse.equinox.p2.metadata.IVersionedId LAUNCHER_FEATURE
private static final org.eclipse.equinox.p2.metadata.IVersionedId LAUNCHER_FEATURE_JAR
private static final org.eclipse.equinox.p2.metadata.IVersionedId LAUNCHER_BUNDLE
private static final org.eclipse.equinox.p2.metadata.IVersionedId LAUNCHER_BUNDLE_LINUX
private static final org.eclipse.equinox.p2.metadata.IVersionedId LAUNCHER_BUNDLE_WINDOWS
private static final org.eclipse.equinox.p2.metadata.IVersionedId LAUNCHER_BUNDLE_MAC
private static TargetDefinition targetDefinition
public final P2Context p2Context
public final LogVerifier logVerifier
private TargetDefinitionResolver subject
public TargetDefinitionResolverWithPlatformSpecificUnitsTest()
public void testResolutionWithGenericPlatform() throws java.lang.Exception
java.lang.Exception
public void testPlannerResolutionWithOnePlatform() throws java.lang.Exception
java.lang.Exception
public void testPlannerResolutionWithMultiplePlatforms() throws java.lang.Exception
java.lang.Exception
public void testSlicerResolutionWithOnePlatform() throws java.lang.Exception
java.lang.Exception
public void testSlicerResolutionWithMultiplePlatforms() throws java.lang.Exception
java.lang.Exception
public void testSlicerResolutionWithIncludeAllEnvironments() throws java.lang.Exception
java.lang.Exception
public void testConflictingIncludeAllEnvironments() throws java.lang.Exception
java.lang.Exception
private TargetDefinitionResolver createResolver(java.util.List<TargetEnvironment> environments) throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionException