public class DefaultAssemblyReaderTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TemporaryFolder |
temporaryFolder |
| Constructor and Description |
|---|
DefaultAssemblyReaderTest() |
public static StringReader writeToStringReader(org.apache.maven.plugins.assembly.model.Assembly assembly) throws IOException
IOExceptionpublic void setUp()
public void testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent()
throws Exception
Exceptionpublic void testIncludeSiteInAssembly_ShouldAddSiteDirFileSetWhenDirExists()
throws Exception
Exceptionpublic void testMergeComponentWithAssembly_ShouldAddOneFileSetToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneFileItemToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneDependencySetToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneRepositoryToExistingListOfTwo()
public void testMergeComponentWithAssembly_ShouldAddOneContainerDescriptorHandlerToExistingListOfTwo()
public void testMergeComponentsWithMainAssembly_ShouldAddOneFileSetToAssembly()
throws Exception
Exceptionpublic void testReadAssembly_ShouldReadAssemblyWithoutComponentsInterpolationOrSiteDirInclusion()
throws Exception
Exceptionpublic void testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromAssemblyWithoutComponentsOrInterpolation()
throws Exception
Exceptionpublic void testReadAssembly_ShouldReadAssemblyWithComponentWithoutSiteDirInclusionOrInterpolation()
throws Exception
Exceptionpublic void testReadAssembly_ShouldReadAssemblyWithComponentInterpolationWithoutSiteDirInclusionOrAssemblyInterpolation()
throws Exception
Exceptionpublic void testReadAssembly_ShouldReadAssemblyWithInterpolationWithoutComponentsOrSiteDirInclusion()
throws Exception
Exceptionpublic void testGetAssemblyFromDescriptorFile_ShouldReadAssembly()
throws Exception
Exceptionpublic void testGetAssemblyForDescriptorReference_ShouldReadBinaryAssemblyRef()
throws Exception
Exceptionpublic void testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleFile()
throws Exception
Exceptionpublic void testReadAssemblies_ShouldFailWhenSingleDescriptorFileMissing()
throws Exception
Exceptionpublic void testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured()
throws Exception
Exceptionpublic void testReadAssemblies_ShouldGetAssemblyDescriptorFromFileArray()
throws Exception
Exceptionpublic void testReadAssemblies_ShouldGetAssemblyDescriptorFromMultipleRefs()
throws Exception
Exceptionpublic void testReadAssemblies_ShouldGetAssemblyDescriptorFromDirectory()
throws Exception
ExceptionCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.