public class BasicPropertyUtilsTest extends AbstractPropertyUtilsTest
Modifier and Type | Field and Description |
---|---|
protected static String |
propFileName |
protected static String |
validationFileName |
propertyFile, validationFile, validationProp
Constructor and Description |
---|
BasicPropertyUtilsTest() |
Modifier and Type | Method and Description |
---|---|
protected File |
getPropertyFile() |
protected File |
getValidationFile() |
void |
testBasicLoadProperty_FF()
load property test case can be adjusted by modifying the basic.properties and
basic_validation properties
|
void |
testBasicLoadProperty_TF()
load property test case can be adjusted by modifying the basic.properties and
basic_validation properties
|
void |
testBasicLoadProperty_TT()
load property test case can be adjusted by modifying the basic.properties and
basic_validation properties
|
void |
testException()
load property test case can be adjusted by modifying the basic.properties and
basic_validation properties
|
void |
testNonExistentProperty()
load property test case can be adjusted by modifying the basic.properties and
basic_validation properties
|
setUp, tearDown, validateProperties
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
protected static final String validationFileName
protected static final String propFileName
protected File getPropertyFile()
getPropertyFile
in class AbstractPropertyUtilsTest
protected File getValidationFile()
getValidationFile
in class AbstractPropertyUtilsTest
public void testBasicLoadProperty_FF() throws Exception
Exception
public void testBasicLoadProperty_TF() throws Exception
Exception
public void testBasicLoadProperty_TT() throws Exception
Exception
public void testNonExistentProperty() throws Exception
Exception
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.