Class DefaultAssemblyReaderTest


  • public class DefaultAssemblyReaderTest
    extends Object
    • Field Detail

      • temporaryFolder

        public org.junit.rules.TemporaryFolder temporaryFolder
    • Constructor Detail

      • DefaultAssemblyReaderTest

        public DefaultAssemblyReaderTest()
    • Method Detail

      • setUp

        public void setUp()
      • testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent

        public void testIncludeSiteInAssembly_ShouldFailIfSiteDirectoryNonExistent()
                                                                            throws Exception
        Throws:
        Exception
      • testIncludeSiteInAssembly_ShouldAddSiteDirFileSetWhenDirExists

        public void testIncludeSiteInAssembly_ShouldAddSiteDirFileSetWhenDirExists()
                                                                            throws Exception
        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

        public void testMergeComponentsWithMainAssembly_ShouldAddOneFileSetToAssembly()
                                                                               throws Exception
        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

        public void testGetAssemblyFromDescriptorFile_ShouldReadAssembly()
                                                                  throws Exception
        Throws:
        Exception
      • testGetAssemblyForDescriptorReference_ShouldReadBinaryAssemblyRef

        public void testGetAssemblyForDescriptorReference_ShouldReadBinaryAssemblyRef()
                                                                               throws Exception
        Throws:
        Exception
      • testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleFile

        public void testReadAssemblies_ShouldGetAssemblyDescriptorFromSingleFile()
                                                                          throws Exception
        Throws:
        Exception
      • testReadAssemblies_ShouldFailWhenSingleDescriptorFileMissing

        public void testReadAssemblies_ShouldFailWhenSingleDescriptorFileMissing()
                                                                          throws Exception
        Throws:
        Exception
      • testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured

        public void testReadAssemblies_ShouldIgnoreMissingSingleDescriptorFileWhenIgnoreIsConfigured()
                                                                                              throws Exception
        Throws:
        Exception
      • testReadAssemblies_ShouldGetAssemblyDescriptorFromFileArray

        public void testReadAssemblies_ShouldGetAssemblyDescriptorFromFileArray()
                                                                         throws Exception
        Throws:
        Exception
      • testReadAssemblies_ShouldGetAssemblyDescriptorFromMultipleRefs

        public void testReadAssemblies_ShouldGetAssemblyDescriptorFromMultipleRefs()
                                                                            throws Exception
        Throws:
        Exception
      • testReadAssemblies_ShouldGetAssemblyDescriptorFromDirectory

        public void testReadAssemblies_ShouldGetAssemblyDescriptorFromDirectory()
                                                                         throws Exception
        Throws:
        Exception
      • testReadAssemblies_ShouldGetTwoAssemblyDescriptorsFromDirectoryWithThreeFiles

        public void testReadAssemblies_ShouldGetTwoAssemblyDescriptorsFromDirectoryWithThreeFiles()
                                                                                           throws Exception
        Throws:
        Exception