public class PublisherServiceTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.List<TargetEnvironment> |
DEFAULT_ENVIRONMENTS |
private static java.lang.String |
DEFAULT_QUALIFIER |
LogVerifier |
logVerifier |
private PublishingRepository |
outputRepository |
P2Context |
p2Context |
private PublisherService |
subject |
org.junit.rules.TemporaryFolder |
tempManager |
Constructor and Description |
---|
PublisherServiceTest() |
Modifier and Type | Method and Description |
---|---|
void |
initSubject() |
void |
testCategoryPublishing() |
void |
testProfilePublishing() |
void |
testValidateProfileFile() |
private static java.util.Map<java.lang.String,org.eclipse.equinox.p2.metadata.IInstallableUnit> |
unitsById(java.util.Collection<DependencySeed> seeds)
Returns the installable units from the given dependency seeds, indexed by the installable
units's IDs.
|
private static final java.lang.String DEFAULT_QUALIFIER
private static final java.util.List<TargetEnvironment> DEFAULT_ENVIRONMENTS
public LogVerifier logVerifier
public org.junit.rules.TemporaryFolder tempManager
public P2Context p2Context
private PublishingRepository outputRepository
private PublisherService subject
public void initSubject() throws java.lang.Exception
java.lang.Exception
public void testCategoryPublishing() throws java.lang.Exception
java.lang.Exception
public void testProfilePublishing() throws java.lang.Exception
java.lang.Exception
public void testValidateProfileFile() throws java.lang.Exception
java.lang.Exception
private static java.util.Map<java.lang.String,org.eclipse.equinox.p2.metadata.IInstallableUnit> unitsById(java.util.Collection<DependencySeed> seeds)