Class TemplateCopierTest


  • @UnitTest
    public class TemplateCopierTest
    extends java.lang.Object
    • Constructor Detail

      • TemplateCopierTest

        public TemplateCopierTest()
    • Method Detail

      • prepare

        public void prepare()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • cleanup

        public void cleanup()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldThrowExceptionIfTemplateDirIsNull

        public void shouldThrowExceptionIfTemplateDirIsNull()
      • shouldThrowExceptionIfTargetDirIsNull

        public void shouldThrowExceptionIfTargetDirIsNull()
      • shouldSkipNullCustomProperties

        public void shouldSkipNullCustomProperties()
      • shouldSkipNullFilesToCopy

        public void shouldSkipNullFilesToCopy()
      • shouldThrowExceptionIfTemplateDoesNotExist

        public void shouldThrowExceptionIfTemplateDoesNotExist()
      • shouldCopyFilesFromTemplateToTarget

        public void shouldCopyFilesFromTemplateToTarget()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldNotCopyDefaultPropertiesFile

        public void shouldNotCopyDefaultPropertiesFile()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldCopyAdditionalFilesToTarget

        public void shouldCopyAdditionalFilesToTarget()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldSubstituteParametersInTemplates

        public void shouldSubstituteParametersInTemplates()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • customPropertiesShouldOverrideDefault

        public void customPropertiesShouldOverrideDefault()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException