@UnitTest public class BeanTemplateTest extends AbstractBeanGenerationValidationsTest
| Modifier and Type | Field and Description |
|---|---|
protected static String |
FOO_EXTENSION |
protected File |
fooBeansDir |
protected File |
fooBeansFile |
protected static String |
YUMMY_EXTENSION |
protected File |
yummyBeansDir |
protected File |
yummyBeansFile |
beansDir, beansFile, DUMMY_EXTENSION, extensionMapping, generator, pojoURL, rootSandboxDir, targetDir, XML_TEMPLATE| Constructor and Description |
|---|
BeanTemplateTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare() |
void |
testNotOverrideCustomDefaultTemplateWithGlobal() |
void |
testOverrideCustomDefaultTemplate() |
void |
testOverrideDefaultTemplate() |
doAfter, makeDirs, prepareBeanFile, prepareVelocityTemplateFileprotected static final String YUMMY_EXTENSION
protected static final String FOO_EXTENSION
protected File yummyBeansFile
protected File yummyBeansDir
protected File fooBeansFile
protected File fooBeansDir
public void prepare()
throws IOException,
URISyntaxException
prepare in class AbstractBeanGenerationValidationsTestIOExceptionURISyntaxExceptionpublic void testOverrideDefaultTemplate()
public void testOverrideCustomDefaultTemplate()
public void testNotOverrideCustomDefaultTemplateWithGlobal()
Copyright © 2017 SAP SE. All Rights Reserved.