public class PublishProductToolTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.util.List<TargetEnvironment> |
ENVIRONMENTS |
org.junit.rules.ExpectedException |
exceptions |
private static java.lang.String |
FLAVOR |
private Interpolator |
interpolatorMock |
LogVerifier |
logVerifier |
private PublishingRepository |
outputRepository |
P2Context |
p2Context |
private static java.lang.String |
QUALIFIER |
private PublishProductTool |
subject |
org.junit.rules.TemporaryFolder |
tempManager |
org.junit.rules.ExpectedException |
thrownException |
| Constructor and Description |
|---|
PublishProductToolTest() |
private static final java.lang.String QUALIFIER
private static final java.lang.String FLAVOR
private static final java.util.List<TargetEnvironment> ENVIRONMENTS
public org.junit.rules.ExpectedException exceptions
public LogVerifier logVerifier
public org.junit.rules.TemporaryFolder tempManager
public P2Context p2Context
public org.junit.rules.ExpectedException thrownException
private Interpolator interpolatorMock
private PublishingRepository outputRepository
private PublishProductTool subject
public void before()
throws java.lang.Exception
java.lang.Exceptionprivate PublishProductTool initPublisher(org.eclipse.equinox.p2.metadata.IInstallableUnit... tpUnits)
public void testProductPublishingWithLaunchers()
throws java.lang.Exception
java.lang.Exceptionpublic void testExpandProductVersionQualifier()
public void testExpandVersionsOfInclusionsWithZeros()
throws java.lang.Exception
java.lang.Exceptionpublic void testExpandVersionsOfInclusionsWithQualifierLiterals()
throws java.lang.Exception
java.lang.Exceptionpublic void testExpandVersionWithSyntaxError()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublishingReportsAllResolutionErrorsAtOnce()
throws java.lang.Exception
java.lang.Exceptionpublic void testExpandVersionsIgnoresBundlesInFeatureBasedProduct()
throws java.lang.Exception
java.lang.Exceptionpublic void testExpandVersionsIgnoresFeaturesInBundleBasedProduct()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublishingWithMissingFragments()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublishingWithP2Inf()
public void testPublishingWithProductSpecificP2Inf()
public void testPublishingWithVariableExpansion()
public void testPublishingWithRootFeatures()
private static org.eclipse.equinox.p2.metadata.IInstallableUnit getUnit(java.util.Collection<DependencySeed> seeds)
private java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> unitsIn(java.util.Collection<DependencySeed> seeds)
private static java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> unitsIn(PublishingRepository results)