@UnitTest public class TemplateCopierTest extends java.lang.Object
| Constructor and Description |
|---|
TemplateCopierTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
customPropertiesShouldOverrideDefault() |
void |
prepare() |
void |
shouldCopyAdditionalFilesToTarget() |
void |
shouldCopyFilesFromTemplateToTarget() |
void |
shouldNotCopyDefaultPropertiesFile() |
void |
shouldSkipNullCustomProperties() |
void |
shouldSkipNullFilesToCopy() |
void |
shouldSubstituteParametersInTemplates() |
void |
shouldThrowExceptionIfTargetDirIsNull() |
void |
shouldThrowExceptionIfTemplateDirIsNull() |
void |
shouldThrowExceptionIfTemplateDoesNotExist() |
public void prepare()
throws java.io.IOException
java.io.IOExceptionpublic void cleanup()
throws java.io.IOException
java.io.IOExceptionpublic void shouldThrowExceptionIfTemplateDirIsNull()
public void shouldThrowExceptionIfTargetDirIsNull()
public void shouldSkipNullCustomProperties()
public void shouldSkipNullFilesToCopy()
public void shouldThrowExceptionIfTemplateDoesNotExist()
public void shouldCopyFilesFromTemplateToTarget()
throws java.io.IOException
java.io.IOExceptionpublic void shouldNotCopyDefaultPropertiesFile()
throws java.io.IOException
java.io.IOExceptionpublic void shouldCopyAdditionalFilesToTarget()
throws java.io.IOException
java.io.IOExceptionpublic void shouldSubstituteParametersInTemplates()
throws java.io.IOException
java.io.IOExceptionpublic void customPropertiesShouldOverrideDefault()
throws java.io.IOException
java.io.IOExceptionCopyright © 2018 SAP SE. All Rights Reserved.