org.apache.maven.plugin.resources
Class BasicPropertyUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.resources.AbstractPropertyUtilsTest
                      extended by org.apache.maven.plugin.resources.BasicPropertyUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class BasicPropertyUtilsTest
extends AbstractPropertyUtilsTest


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

validationFileName

protected static final String validationFileName
See Also:
Constant Field Values

propFileName

protected static final String propFileName
See Also:
Constant Field Values
Constructor Detail

BasicPropertyUtilsTest

public BasicPropertyUtilsTest()
Method Detail

getPropertyFile

protected File getPropertyFile()
Specified by:
getPropertyFile in class AbstractPropertyUtilsTest

getValidationFile

protected File getValidationFile()
Specified by:
getValidationFile in class AbstractPropertyUtilsTest

testBasicLoadProperty_FF

public void testBasicLoadProperty_FF()
                              throws Exception
load property test case can be adjusted by modifying the basic.properties and basic_validation properties

Throws:
Exception

testBasicLoadProperty_TF

public void testBasicLoadProperty_TF()
                              throws Exception
load property test case can be adjusted by modifying the basic.properties and basic_validation properties

Throws:
Exception

testBasicLoadProperty_TT

public void testBasicLoadProperty_TT()
                              throws Exception
load property test case can be adjusted by modifying the basic.properties and basic_validation properties

Throws:
Exception

testNonExistentProperty

public void testNonExistentProperty()
                             throws Exception
load property test case can be adjusted by modifying the basic.properties and basic_validation properties

Throws:
Exception

testException

public void testException()
                   throws Exception
load property test case can be adjusted by modifying the basic.properties and basic_validation properties

Throws:
Exception


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.