Package de.hybris.ant.taskdefs.docker
Class TemplateCopierTest
- java.lang.Object
-
- de.hybris.ant.taskdefs.docker.TemplateCopierTest
-
@UnitTest public class TemplateCopierTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TemplateCopierTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voidcustomPropertiesShouldOverrideDefault()voidprepare()voidshouldCopyAdditionalFilesToTarget()voidshouldCopyFilesFromTemplateToTarget()voidshouldNotCopyDefaultPropertiesFile()voidshouldSkipNullCustomProperties()voidshouldSkipNullFilesToCopy()voidshouldSubstituteParametersInTemplates()voidshouldThrowExceptionIfTargetDirIsNull()voidshouldThrowExceptionIfTemplateDirIsNull()voidshouldThrowExceptionIfTemplateDoesNotExist()
-
-
-
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
-
-