org.apache.maven.plugin.war
Class WarZipTest

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

public class WarZipTest
extends AbstractWarMojoTest

Since:
7 Oct 07
Version:
$Id: WarZipTest.java 659218 2008-05-22 19:28:04Z olamy $
Author:
olamy

Field Summary
 
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
WarZipTest()
           
 
Method Summary
protected  void assertZipContentNotHere(File webAppDirectory)
           
protected  File getTestDirectory()
           
 void setUp()
           
 void testOneZipDefaultSkip()
           
 void testOneZipWithForceSkip()
           
 void testOneZipWithNoSkip()
           
 void testOneZipWithTargetPathOverlay()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WarZipTest

public WarZipTest()
Method Detail

getTestDirectory

protected File getTestDirectory()
Specified by:
getTestDirectory in class AbstractWarMojoTest

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Throws:
Exception

testOneZipWithNoSkip

public void testOneZipWithNoSkip()
                          throws Exception
Throws:
Exception

testOneZipWithTargetPathOverlay

public void testOneZipWithTargetPathOverlay()
                                     throws Exception
Throws:
Exception

testOneZipDefaultSkip

public void testOneZipDefaultSkip()
                           throws Exception
Throws:
Exception

testOneZipWithForceSkip

public void testOneZipWithForceSkip()
                             throws Exception
Throws:
Exception

assertZipContentNotHere

protected void assertZipContentNotHere(File webAppDirectory)


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