|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.plugin.testing.AbstractMojoTestCase org.apache.maven.plugin.resources.AbstractPropertyUtilsTest org.apache.maven.plugin.resources.EnhancedPropertyUtilsTest
public class EnhancedPropertyUtilsTest
Tests PropertyUtils.loadPropertyFile(File, Properties)
.
Field Summary |
---|
Fields inherited from class org.apache.maven.plugin.resources.AbstractPropertyUtilsTest |
---|
propertyFile, validationFile, validationProp |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
EnhancedPropertyUtilsTest()
|
Method Summary | |
---|---|
protected File |
getPropertyFile()
|
protected File |
getValidationFile()
|
protected void |
setUp()
|
void |
testBasicLoadProperty()
Load property test case can be adjusted by modifying the enhanced.properties and enhanced_validation properties. |
void |
testException()
Load property test case can be adjusted by modifying the enhanced.properties and enhanced_validation properties. |
void |
testNonExistentProperty()
Load property test case can be adjusted by modifying the enhanced.properties and enhanced_validation properties. |
Methods inherited from class org.apache.maven.plugin.resources.AbstractPropertyUtilsTest |
---|
tearDown, validateProperties |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
---|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnhancedPropertyUtilsTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractPropertyUtilsTest
Exception
protected File getPropertyFile()
getPropertyFile
in class AbstractPropertyUtilsTest
protected File getValidationFile()
getValidationFile
in class AbstractPropertyUtilsTest
public void testBasicLoadProperty() throws Exception
Exception
public void testNonExistentProperty() throws Exception
Exception
public void testException() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |