public class TargetPlatformTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
ANY_VERSION |
private java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
candidateIUs |
org.junit.rules.ExpectedException |
exceptions |
private TargetPlatform |
subject |
Constructor and Description |
---|
TargetPlatformTest() |
Modifier and Type | Method and Description |
---|---|
private static java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
createSet(org.eclipse.equinox.p2.metadata.IInstallableUnit... units) |
private FinalTargetPlatformImpl |
createTP() |
void |
initDefaultTestData() |
void |
testFailingResolve() |
void |
testResolveBundleChecksType() |
void |
testResolveFeature() |
void |
testResolveFixedVersion() |
void |
testResolveFixedVersionForThreeSegmentVersion() |
void |
testResolveInvalidVersionSyntax() |
void |
testResolveIU() |
void |
testResolveLatestQualifierWithQualifierLiteral() |
void |
testResolveLatestVersionThroughOmittedVersion() |
void |
testResolveLatestVersionThroughZeros() |
void |
testResolveNullId() |
void |
testResolveProduct() |
void |
testResolveUnknownType() |
private static final java.lang.String ANY_VERSION
public org.junit.rules.ExpectedException exceptions
private TargetPlatform subject
private java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> candidateIUs
public void initDefaultTestData()
public void testResolveFixedVersion() throws java.lang.Exception
java.lang.Exception
public void testFailingResolve() throws java.lang.Exception
java.lang.Exception
public void testResolveNullId() throws java.lang.Exception
java.lang.Exception
public void testResolveInvalidVersionSyntax() throws java.lang.Exception
java.lang.Exception
public void testResolveLatestVersionThroughZeros() throws java.lang.Exception
java.lang.Exception
public void testResolveLatestVersionThroughOmittedVersion() throws java.lang.Exception
java.lang.Exception
public void testResolveLatestQualifierWithQualifierLiteral() throws java.lang.Exception
java.lang.Exception
public void testResolveFixedVersionForThreeSegmentVersion() throws java.lang.Exception
java.lang.Exception
public void testResolveBundleChecksType() throws java.lang.Exception
java.lang.Exception
public void testResolveProduct() throws java.lang.Exception
java.lang.Exception
public void testResolveIU() throws java.lang.Exception
java.lang.Exception
public void testResolveFeature() throws java.lang.Exception
java.lang.Exception
public void testResolveUnknownType() throws java.lang.Exception
java.lang.Exception
private FinalTargetPlatformImpl createTP()
private static java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> createSet(org.eclipse.equinox.p2.metadata.IInstallableUnit... units)