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.Exceptionpublic void testFailingResolve()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveNullId()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveInvalidVersionSyntax()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveLatestVersionThroughZeros()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveLatestVersionThroughOmittedVersion()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveLatestQualifierWithQualifierLiteral()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveFixedVersionForThreeSegmentVersion()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveBundleChecksType()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveProduct()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveIU()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveFeature()
throws java.lang.Exception
java.lang.Exceptionpublic void testResolveUnknownType()
throws java.lang.Exception
java.lang.Exceptionprivate FinalTargetPlatformImpl createTP()
private static java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> createSet(org.eclipse.equinox.p2.metadata.IInstallableUnit... units)