Class DefaultAssemblyReaderTest
java.lang.Object
org.apache.maven.plugins.assembly.io.DefaultAssemblyReaderTest
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromAssemblyWithoutComponentsOrInterpolation()
static StringReader
writeToStringReader
(Assembly assembly)
-
Field Details
-
temporaryFolder
public org.junit.rules.TemporaryFolder temporaryFolder
-
-
Constructor Details
-
DefaultAssemblyReaderTest
public DefaultAssemblyReaderTest()
-
-
Method Details
-
writeToStringReader
- Throws:
IOException
-
setUp
public void setUp() -
testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent
- Throws:
Exception
-
testIncludeSiteInAssembly_ShouldAddSiteDirFileSetWhenDirExists
- Throws:
Exception
-
testMergeComponentWithAssembly_ShouldAddOneFileSetToExistingListOfTwo
public void testMergeComponentWithAssembly_ShouldAddOneFileSetToExistingListOfTwo() -
testMergeComponentWithAssembly_ShouldAddOneFileItemToExistingListOfTwo
public void testMergeComponentWithAssembly_ShouldAddOneFileItemToExistingListOfTwo() -
testMergeComponentWithAssembly_ShouldAddOneDependencySetToExistingListOfTwo
public void testMergeComponentWithAssembly_ShouldAddOneDependencySetToExistingListOfTwo() -
testMergeComponentWithAssembly_ShouldAddOneRepositoryToExistingListOfTwo
public void testMergeComponentWithAssembly_ShouldAddOneRepositoryToExistingListOfTwo() -
testMergeComponentWithAssembly_ShouldAddOneContainerDescriptorHandlerToExistingListOfTwo
public void testMergeComponentWithAssembly_ShouldAddOneContainerDescriptorHandlerToExistingListOfTwo() -
testMergeComponentsWithMainAssembly_ShouldAddOneFileSetToAssembly
- Throws:
Exception
-
testReadAssembly_ShouldReadAssemblyWithoutComponentsInterpolationOrSiteDirInclusion
public void testReadAssembly_ShouldReadAssemblyWithoutComponentsInterpolationOrSiteDirInclusion() throws Exception- Throws:
Exception
-
testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromAssemblyWithoutComponentsOrInterpolation
public void testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromAssemblyWithoutComponentsOrInterpolation() throws Exception- Throws:
Exception
-
testReadAssembly_ShouldReadAssemblyWithComponentWithoutSiteDirInclusionOrInterpolation
public void testReadAssembly_ShouldReadAssemblyWithComponentWithoutSiteDirInclusionOrInterpolation() throws Exception- Throws:
Exception
-
testReadAssembly_ShouldReadAssemblyWithComponentInterpolationWithoutSiteDirInclusionOrAssemblyInterpolation
public void testReadAssembly_ShouldReadAssemblyWithComponentInterpolationWithoutSiteDirInclusionOrAssemblyInterpolation() throws Exception- Throws:
Exception
-
testReadAssembly_ShouldReadAssemblyWithInterpolationWithoutComponentsOrSiteDirInclusion
public void testReadAssembly_ShouldReadAssemblyWithInterpolationWithoutComponentsOrSiteDirInclusion() throws Exception- Throws:
Exception
-
testGetAssemblyFromDescriptorFile_ShouldReadAssembly
- Throws:
Exception
-
testGetAssemblyForDescriptorReference_ShouldReadBinaryAssemblyRef
- Throws:
Exception
-
testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleFile
- Throws:
Exception
-
testReadAssemblies_ShouldFailWhenSingleDescriptorFileMissing
- Throws:
Exception
-
testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured
public void testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured() throws Exception- Throws:
Exception
-
testReadAssemblies_ShouldGetAssemblyDescriptorFromFileArray
- Throws:
Exception
-
testReadAssemblies_ShouldGetAssemblyDescriptorFromMultipleRefs
- Throws:
Exception
-
testReadAssemblies_ShouldGetAssemblyDescriptorFromDirectory
- Throws:
Exception
-
testReadAssemblies_ShouldGetTwoAssemblyDescriptorsFromDirectoryWithThreeFiles
public void testReadAssemblies_ShouldGetTwoAssemblyDescriptorsFromDirectoryWithThreeFiles() throws Exception- Throws:
Exception
-