|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.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.BasicPropertyUtilsTest
public class BasicPropertyUtilsTest
| Field Summary | |
|---|---|
protected static String |
propFileName
|
protected static String |
validationFileName
|
| 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 | |
|---|---|
BasicPropertyUtilsTest()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.maven.plugin.resources.AbstractPropertyUtilsTest |
|---|
setUp, 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 |
| Field Detail |
|---|
protected static final String validationFileName
protected static final String propFileName
| Constructor Detail |
|---|
public BasicPropertyUtilsTest()
| Method Detail |
|---|
protected File getPropertyFile()
getPropertyFile in class AbstractPropertyUtilsTestprotected 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
public void testException()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||