public class FeatureRootfileArtifactRepositoryTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.TemporaryFolder |
tempFolder |
Constructor and Description |
---|
FeatureRootfileArtifactRepositoryTest() |
Modifier and Type | Method and Description |
---|---|
private void |
assertAttachedArtifact(java.util.Map<java.lang.String,IP2Artifact> attachedArtifacts,
int expectedSize,
java.lang.String expectedClassifier,
java.lang.String expectedLocationFileName) |
private void |
assertMavenProperties(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor,
java.lang.String root) |
private org.eclipse.equinox.p2.repository.artifact.spi.ArtifactDescriptor |
createArtifactDescriptor(java.lang.String classifier,
java.lang.String artifactId) |
private FeatureRootAdvice |
createFeatureRootAdvice() |
private MavenPropertiesAdvice |
createMavenPropertyAdvice() |
private org.eclipse.equinox.p2.publisher.PublisherInfo |
createPublisherInfo(boolean addMavenPropertyAdvice) |
private BuildProperties |
rootPropertiesWithGlobalAndWindowsFiles() |
void |
testRepoForNonBinaryArtifacts() |
void |
testRepoWithAttachedArtifacts() |
void |
testRepoWithAttachedArtifactsAndConfigurations() |
void |
testRepoWithInitEmptyAttachedArtifacts() |
void |
testRepoWithoutMavenAdvice() |
public FeatureRootfileArtifactRepositoryTest()
public void testRepoWithAttachedArtifacts() throws java.lang.Exception
java.lang.Exception
public void testRepoWithAttachedArtifactsAndConfigurations() throws java.lang.Exception
java.lang.Exception
public void testRepoWithoutMavenAdvice() throws java.lang.Exception
java.lang.Exception
public void testRepoForNonBinaryArtifacts() throws java.lang.Exception
java.lang.Exception
public void testRepoWithInitEmptyAttachedArtifacts()
private void assertMavenProperties(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor, java.lang.String root)
private void assertAttachedArtifact(java.util.Map<java.lang.String,IP2Artifact> attachedArtifacts, int expectedSize, java.lang.String expectedClassifier, java.lang.String expectedLocationFileName)
private org.eclipse.equinox.p2.publisher.PublisherInfo createPublisherInfo(boolean addMavenPropertyAdvice)
private FeatureRootAdvice createFeatureRootAdvice()
private MavenPropertiesAdvice createMavenPropertyAdvice()
private org.eclipse.equinox.p2.repository.artifact.spi.ArtifactDescriptor createArtifactDescriptor(java.lang.String classifier, java.lang.String artifactId)
private BuildProperties rootPropertiesWithGlobalAndWindowsFiles()