Class DefaultScriptReadWriteHandlerTest
java.lang.Object
de.hybris.platform.acceleratorservices.velocity.BaseFileSandBoxTest
de.hybris.platform.acceleratorservices.velocity.resource.store.DefaultScriptReadWriteHandlerTest
@ContextConfiguration(locations="classpath:/acceleratorservices/test/impexgenerator/test-generate-impex-spring.xml")
@UnitTest
public class DefaultScriptReadWriteHandlerTest
extends BaseFileSandBoxTest
Test for the feature of lazy target file/script creation unless all referenced properties from script can be
processed
-
Field Summary
Fields inherited from class de.hybris.platform.acceleratorservices.velocity.BaseFileSandBoxTest
GENERATED_IMPEXES_DIR, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.io.Resourcevoidprepare()voidvoidMethods inherited from class de.hybris.platform.acceleratorservices.velocity.BaseFileSandBoxTest
assertGenerated, assertHasLine, assertNothingGenerated, cleanUp, cleanUpFileStructure, getAllMatchingTemplates, getAllMatchingTemplates
-
Constructor Details
-
DefaultScriptReadWriteHandlerTest
public DefaultScriptReadWriteHandlerTest()
-
-
Method Details
-
getRootDir
protected org.springframework.core.io.Resource getRootDir()- Specified by:
getRootDirin classBaseFileSandBoxTest
-
prepare
- Overrides:
preparein classBaseFileSandBoxTest- Throws:
IOException
-
testPrepareTargetWriterForNestedNotExistingDirs
- Throws:
IOException
-
testLazyFileCreation
- Throws:
IOException
-