org.apache.maven.plugin.resources
Class ResourcesMojoTest

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.ResourcesMojoTest
All Implemented Interfaces:
junit.framework.Test

public class ResourcesMojoTest
extends AbstractMojoTestCase


Field Summary
protected static String defaultPomFilePath
           
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
ResourcesMojoTest()
           
 
Method Summary
 void testHarnessEnvironment()
          test mojo lookup, test harness should be working fine
 void testProjectProperty_Filtering_PropertyDestination()
           
 void testPropertyFiles_Extra()
           
 void testPropertyFiles_Filtering_TokensInFilters()
          Validates that a Filter token containing a project property will be resolved before the Filter is applied to the resources.
 void testPropertyFiles_Filtering()
           
 void testPropertyFiles_MainAndExtra()
           
 void testResourceDirectoryStructure_RelativePath()
           
 void testResourceDirectoryStructure()
           
 void testResourceEncoding()
           
 void testResourceExclude()
           
 void testResourceInclude()
           
 void testResourceProjectProperties_Filtering()
           
 void testResourceSystemProperties_Filtering()
           
 void testResourceTargetPath()
           
 void testWindowsPathEscapingDisabled()
           
 void testWindowsPathEscapingEnabled()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, 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, tearDown
 
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

defaultPomFilePath

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

ResourcesMojoTest

public ResourcesMojoTest()
Method Detail

testHarnessEnvironment

public void testHarnessEnvironment()
                            throws Exception
test mojo lookup, test harness should be working fine

Throws:
Exception

testResourceDirectoryStructure

public void testResourceDirectoryStructure()
                                    throws Exception
Throws:
Exception

testResourceDirectoryStructure_RelativePath

public void testResourceDirectoryStructure_RelativePath()
                                                 throws Exception
Throws:
Exception

testResourceEncoding

public void testResourceEncoding()
                          throws Exception
Throws:
Exception

testResourceInclude

public void testResourceInclude()
                         throws Exception
Throws:
Exception

testResourceExclude

public void testResourceExclude()
                         throws Exception
Throws:
Exception

testResourceTargetPath

public void testResourceTargetPath()
                            throws Exception
Throws:
Exception

testResourceSystemProperties_Filtering

public void testResourceSystemProperties_Filtering()
                                            throws Exception
Throws:
Exception

testResourceProjectProperties_Filtering

public void testResourceProjectProperties_Filtering()
                                             throws Exception
Throws:
Exception

testProjectProperty_Filtering_PropertyDestination

public void testProjectProperty_Filtering_PropertyDestination()
                                                       throws Exception
Throws:
Exception

testPropertyFiles_Filtering

public void testPropertyFiles_Filtering()
                                 throws Exception
Throws:
Exception

testPropertyFiles_Extra

public void testPropertyFiles_Extra()
                             throws Exception
Throws:
Exception

testPropertyFiles_MainAndExtra

public void testPropertyFiles_MainAndExtra()
                                    throws Exception
Throws:
Exception

testPropertyFiles_Filtering_TokensInFilters

public void testPropertyFiles_Filtering_TokensInFilters()
                                                 throws Exception
Validates that a Filter token containing a project property will be resolved before the Filter is applied to the resources.

Throws:
Exception

testWindowsPathEscapingDisabled

public void testWindowsPathEscapingDisabled()
                                     throws Exception
Throws:
Exception

testWindowsPathEscapingEnabled

public void testWindowsPathEscapingEnabled()
                                    throws Exception
Throws:
Exception


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