org.apache.maven.plugin.war
Class WarExplodedMojoFilteringTest

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.war.AbstractWarMojoTest
                      extended by org.apache.maven.plugin.war.AbstractWarExplodedMojoTest
                          extended by org.apache.maven.plugin.war.WarExplodedMojoFilteringTest
All Implemented Interfaces:
Test

public class WarExplodedMojoFilteringTest
extends AbstractWarExplodedMojoTest

Since:
21 juil. 2008
Version:
$Id: WarExplodedMojoFilteringTest.java 1387920 2012-09-20 09:08:27Z olamy $
Author:
Olivier Lamy

Field Summary
 
Fields inherited from class org.apache.maven.plugin.war.AbstractWarExplodedMojoTest
mojo
 
Fields inherited from class org.apache.maven.plugin.war.AbstractWarMojoTest
MANIFEST_PATH, OVERLAYS_ROOT_DIR, OVERLAYS_TEMP_DIR
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
WarExplodedMojoFilteringTest()
           
 
Method Summary
protected  File getPomFile()
          Returns the pom configuration to use.
protected  File getTestDirectory()
          Returns the test directory to use.
 void testExplodedWar_WithResourceFiltering()
           
 
Methods inherited from class org.apache.maven.plugin.war.AbstractWarExplodedMojoTest
assertCustomContent, assertDefaultContent, assertWebAppContent, assertWebXml, cleanDirectory, setUp, setUpMojo, setUpMojo
 
Methods inherited from class org.apache.maven.plugin.war.AbstractWarMojoTest
buildWarOverlayStub, configureMojo, createArchive, createClassesDir, createDir, createFile, createFile, createWebAppSource, createWebAppSource, createXMLConfigDir, generateFullOverlayWar, getOverlayFile, getWebAppSource
 
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, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WarExplodedMojoFilteringTest

public WarExplodedMojoFilteringTest()
Method Detail

getPomFile

protected File getPomFile()
Description copied from class: AbstractWarExplodedMojoTest
Returns the pom configuration to use.

Specified by:
getPomFile in class AbstractWarExplodedMojoTest
Returns:
the pom configuration

getTestDirectory

protected File getTestDirectory()
Description copied from class: AbstractWarExplodedMojoTest
Returns the test directory to use.

Specified by:
getTestDirectory in class AbstractWarExplodedMojoTest
Returns:
the test directory

testExplodedWar_WithResourceFiltering

public void testExplodedWar_WithResourceFiltering()
                                           throws Exception
Throws:
Exception


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