org.apache.maven.plugin.war
Class WarExplodedMojoTest

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

public class WarExplodedMojoTest
extends AbstractWarExplodedMojoTest


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
WarExplodedMojoTest()
           
 
Method Summary
protected  File getPomFile()
          Returns the pom configuration to use.
protected  File getTestDirectory()
          Returns the test directory to use.
 void testExplodedWar_DuplicateWithClassifier()
           
 void testExplodedWar_WithClasses()
           
 void testExplodedWar_WithContainerConfigXML()
           
 void testExplodedWar_WithCustomWebXML()
           
 void testExplodedWar_WithDuplicateDependencies()
           
 void testExplodedWar_WithEJB()
           
 void testExplodedWar_WithEJBClient()
           
 void testExplodedWar_WithPAR()
           
 void testExplodedWar_WithSimpleExternalWARFile()
           
 void testExplodedWar_WithSourceIncludeExclude()
           
 void testExplodedWar_WithTLD()
           
 void testExplodedWar_WithWarDependencyIncludeExclude()
           
 void testExplodedWarMergeWarLocalFileOverride()
          Merge a dependent WAR when a file in the war source directory overrides one found in the WAR.
 void testExplodedWarWithAar()
           
 void testExplodedWarWithJar()
           
 void testExplodedWarWithMar()
           
 void testExplodedWarWithOutputFileNameMapping()
           
 void testExplodedWarWithOutputFileNameMappingAndDuplicateDependencies()
           
 void testExplodedWarWithSourceModificationCheck()
           
 void testExplodedWarWithXar()
           
 void testSimpleExplodedWar()
           
 void testSimpleExplodedWarWTargetPath()
           
 
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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WarExplodedMojoTest

public WarExplodedMojoTest()
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

testSimpleExplodedWar

public void testSimpleExplodedWar()
                           throws Exception
Throws:
Exception

testSimpleExplodedWarWTargetPath

public void testSimpleExplodedWarWTargetPath()
                                      throws Exception
Throws:
Exception

testExplodedWar_WithCustomWebXML

public void testExplodedWar_WithCustomWebXML()
                                      throws Exception
Throws:
Exception

testExplodedWar_WithContainerConfigXML

public void testExplodedWar_WithContainerConfigXML()
                                            throws Exception
Throws:
Exception

testExplodedWar_WithSimpleExternalWARFile

public void testExplodedWar_WithSimpleExternalWARFile()
                                               throws Exception
Throws:
Exception

testExplodedWarMergeWarLocalFileOverride

public void testExplodedWarMergeWarLocalFileOverride()
                                              throws Exception
Merge a dependent WAR when a file in the war source directory overrides one found in the WAR.

Throws:
Exception

testExplodedWar_WithEJB

public void testExplodedWar_WithEJB()
                             throws Exception
Throws:
Exception

testExplodedWarWithJar

public void testExplodedWarWithJar()
                            throws Exception
Throws:
Exception

testExplodedWar_WithEJBClient

public void testExplodedWar_WithEJBClient()
                                   throws Exception
Throws:
Exception

testExplodedWar_WithTLD

public void testExplodedWar_WithTLD()
                             throws Exception
Throws:
Exception

testExplodedWar_WithPAR

public void testExplodedWar_WithPAR()
                             throws Exception
Throws:
Exception

testExplodedWarWithAar

public void testExplodedWarWithAar()
                            throws Exception
Throws:
Exception

testExplodedWarWithMar

public void testExplodedWarWithMar()
                            throws Exception
Throws:
Exception

testExplodedWarWithXar

public void testExplodedWarWithXar()
                            throws Exception
Throws:
Exception

testExplodedWar_WithDuplicateDependencies

public void testExplodedWar_WithDuplicateDependencies()
                                               throws Exception
Throws:
Exception

testExplodedWar_DuplicateWithClassifier

public void testExplodedWar_DuplicateWithClassifier()
                                             throws Exception
Throws:
Exception

testExplodedWar_WithClasses

public void testExplodedWar_WithClasses()
                                 throws Exception
Throws:
Exception

testExplodedWar_WithSourceIncludeExclude

public void testExplodedWar_WithSourceIncludeExclude()
                                              throws Exception
Throws:
Exception

testExplodedWar_WithWarDependencyIncludeExclude

public void testExplodedWar_WithWarDependencyIncludeExclude()
                                                     throws Exception
Throws:
Exception

testExplodedWarWithSourceModificationCheck

public void testExplodedWarWithSourceModificationCheck()
                                                throws Exception
Throws:
Exception

testExplodedWarWithOutputFileNameMapping

public void testExplodedWarWithOutputFileNameMapping()
                                              throws Exception
Throws:
Exception

testExplodedWarWithOutputFileNameMappingAndDuplicateDependencies

public void testExplodedWarWithOutputFileNameMappingAndDuplicateDependencies()
                                                                      throws Exception
Throws:
Exception


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.