Class AddFileSetsTaskTest


  • public class AddFileSetsTaskTest
    extends Object
    • Field Detail

      • temporaryFolder

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

      • AddFileSetsTaskTest

        public AddFileSetsTaskTest()
    • Method Detail

      • testGetFileSetDirectory_ShouldReturnAbsoluteSourceDir

        public void testGetFileSetDirectory_ShouldReturnAbsoluteSourceDir()
                                                                   throws Exception
        Throws:
        Exception
      • testGetFileSetDirectory_ShouldReturnBasedir

        public void testGetFileSetDirectory_ShouldReturnBasedir()
                                                         throws Exception
        Throws:
        Exception
      • testGetFileSetDirectory_ShouldReturnDirFromBasedirAndSourceDir

        public void testGetFileSetDirectory_ShouldReturnDirFromBasedirAndSourceDir()
                                                                            throws Exception
        Throws:
        Exception
      • testGetFileSetDirectory_ShouldReturnDirFromArchiveBasedirAndSourceDir

        public void testGetFileSetDirectory_ShouldReturnDirFromArchiveBasedirAndSourceDir()
                                                                                   throws Exception
        Throws:
        Exception
      • testAddFileSet_ShouldAddDirectory

        public void testAddFileSet_ShouldAddDirectory()
                                               throws Exception
        Throws:
        Exception
      • testAddFileSet_ShouldAddDirectoryUsingSourceDirNameForDestDir

        public void testAddFileSet_ShouldAddDirectoryUsingSourceDirNameForDestDir()
                                                                           throws Exception
        Throws:
        Exception
      • testAddFileSet_ShouldNotAddDirectoryWhenSourceDirNonExistent

        public void testAddFileSet_ShouldNotAddDirectoryWhenSourceDirNonExistent()
                                                                          throws Exception
        Throws:
        Exception
      • testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNonExistent

        public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNonExistent()
                                                                                   throws Exception
        Throws:
        Exception
      • testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory

        public void testExecute_ShouldThrowExceptionIfArchiveBasedirProvidedIsNotADirectory()
                                                                                     throws Exception
        Throws:
        Exception