org.apache.maven.plugin.assembly.io
Class DefaultAssemblyReaderTest
java.lang.Object
  
junit.framework.Assert
      
junit.framework.TestCase
          
org.apache.maven.plugin.assembly.io.DefaultAssemblyReaderTest
- All Implemented Interfaces: 
 - junit.framework.Test
 
public class DefaultAssemblyReaderTest
- extends junit.framework.TestCase
 
 
 
| Methods inherited from class junit.framework.TestCase | 
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString | 
 
| Methods inherited from class junit.framework.Assert | 
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format | 
 
 
DefaultAssemblyReaderTest
public DefaultAssemblyReaderTest()
setUp
public void setUp()
- Overrides:
 setUp in class junit.framework.TestCase
 
 
tearDown
public void tearDown()
              throws IOException
- Overrides:
 tearDown in class junit.framework.TestCase
 
- Throws:
 IOException
 
testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent
public void testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent()
                                                                    throws IOException
- Throws:
 IOException
 
testIncludeSiteInAssembly_ShouldAddSiteDirFileSetWhenDirExists
public void testIncludeSiteInAssembly_ShouldAddSiteDirFileSetWhenDirExists()
                                                                    throws IOException,
                                                                           InvalidAssemblerConfigurationException
- Throws:
 IOException
InvalidAssemblerConfigurationException
 
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
public void testMergeComponentsWithMainAssembly_ShouldAddOneFileSetToAssembly()
                                                                       throws IOException,
                                                                              AssemblyReadException
- Throws:
 IOException
AssemblyReadException
 
testReadAssembly_ShouldReadAssemblyWithoutComponentsInterpolationOrSiteDirInclusion
public void testReadAssembly_ShouldReadAssemblyWithoutComponentsInterpolationOrSiteDirInclusion()
                                                                                         throws IOException,
                                                                                                AssemblyReadException,
                                                                                                InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromAssemblyWithoutComponentsOrInterpolation
public void testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromAssemblyWithoutComponentsOrInterpolation()
                                                                                                         throws IOException,
                                                                                                                AssemblyReadException,
                                                                                                                InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromConfigWithoutComponentsOrInterpolation
public void testReadAssembly_ShouldReadAssemblyWithSiteDirInclusionFromConfigWithoutComponentsOrInterpolation()
                                                                                                       throws IOException,
                                                                                                              AssemblyReadException,
                                                                                                              InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssembly_ShouldReadAssemblyWithComponentWithoutSiteDirInclusionOrInterpolation
public void testReadAssembly_ShouldReadAssemblyWithComponentWithoutSiteDirInclusionOrInterpolation()
                                                                                            throws IOException,
                                                                                                   AssemblyReadException,
                                                                                                   InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssembly_ShouldReadAssemblyWithComponentInterpolationWithoutSiteDirInclusionOrAssemblyInterpolation
public void testReadAssembly_ShouldReadAssemblyWithComponentInterpolationWithoutSiteDirInclusionOrAssemblyInterpolation()
                                                                                                                 throws IOException,
                                                                                                                        AssemblyReadException,
                                                                                                                        InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssembly_ShouldReadAssemblyWithInterpolationWithoutComponentsOrSiteDirInclusion
public void testReadAssembly_ShouldReadAssemblyWithInterpolationWithoutComponentsOrSiteDirInclusion()
                                                                                             throws IOException,
                                                                                                    AssemblyReadException,
                                                                                                    InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testGetAssemblyFromDescriptorFile_ShouldReadAssembly
public void testGetAssemblyFromDescriptorFile_ShouldReadAssembly()
                                                          throws IOException,
                                                                 AssemblyReadException,
                                                                 InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testGetAssemblyForDescriptorReference_ShouldReadBinaryAssemblyRef
public void testGetAssemblyForDescriptorReference_ShouldReadBinaryAssemblyRef()
                                                                       throws IOException,
                                                                              AssemblyReadException,
                                                                              InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleFile
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleFile()
                                                                  throws IOException,
                                                                         AssemblyReadException,
                                                                         InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldFailWhenSingleDescriptorFileMissing
public void testReadAssemblies_ShouldFailWhenSingleDescriptorFileMissing()
                                                                  throws IOException,
                                                                         InvalidAssemblerConfigurationException
- Throws:
 IOException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured
public void testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured()
                                                                                      throws IOException,
                                                                                             InvalidAssemblerConfigurationException
- Throws:
 IOException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleRef
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleRef()
                                                                 throws IOException,
                                                                        AssemblyReadException,
                                                                        InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldGetAssemblyDescriptorFromFileArray
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromFileArray()
                                                                 throws IOException,
                                                                        AssemblyReadException,
                                                                        InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldGetAssemblyDescriptorFromMultipleRefs
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromMultipleRefs()
                                                                    throws IOException,
                                                                           AssemblyReadException,
                                                                           InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldGetAssemblyDescriptorFromDirectory
public void testReadAssemblies_ShouldGetAssemblyDescriptorFromDirectory()
                                                                 throws IOException,
                                                                        AssemblyReadException,
                                                                        InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
testReadAssemblies_ShouldGetTwoAssemblyDescriptorsFromDirectoryWithThreeFiles
public void testReadAssemblies_ShouldGetTwoAssemblyDescriptorsFromDirectoryWithThreeFiles()
                                                                                   throws IOException,
                                                                                          AssemblyReadException,
                                                                                          InvalidAssemblerConfigurationException
- Throws:
 IOException
AssemblyReadException
InvalidAssemblerConfigurationException
 
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.