org.apache.maven.plugin.war.overlay
Class OverlayManagerTest

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

public class OverlayManagerTest
extends org.codehaus.plexus.PlexusTestCase

Version:
$Id: OverlayManagerTest.html 868453 2013-07-05 11:25:41Z olamy $
Author:
Stephane Nicoll

Field Summary
static String DEFAULT_EXCLUDES
           
static String DEFAULT_INCLUDES
           
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
OverlayManagerTest()
           
 
Method Summary
protected  ArtifactStub newWarArtifact(String groupId, String artifactId)
           
protected  ArtifactStub newWarArtifact(String groupId, String artifactId, String classifier)
           
 void testAutodetectSimpleOverlay(Overlay currentProjectOverlay)
           
 void testCustomCurrentProject()
           
 void testEmptyProject()
           
 void testOverlaysWithSameArtifactAndGroupId()
           
 void testSimpleOverlay()
           
 void testUnknonwnOverlay()
           
 
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, setUp, 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
 

Field Detail

DEFAULT_INCLUDES

public static final String DEFAULT_INCLUDES
See Also:
Constant Field Values

DEFAULT_EXCLUDES

public static final String DEFAULT_EXCLUDES
See Also:
Constant Field Values
Constructor Detail

OverlayManagerTest

public OverlayManagerTest()
Method Detail

testEmptyProject

public void testEmptyProject()
                      throws Exception
Throws:
Exception

testAutodetectSimpleOverlay

public void testAutodetectSimpleOverlay(Overlay currentProjectOverlay)
                                 throws Exception
Throws:
Exception

testSimpleOverlay

public void testSimpleOverlay()
                       throws Exception
Throws:
Exception

testUnknonwnOverlay

public void testUnknonwnOverlay()
                         throws Exception
Throws:
Exception

testCustomCurrentProject

public void testCustomCurrentProject()
                              throws Exception
Throws:
Exception

testOverlaysWithSameArtifactAndGroupId

public void testOverlaysWithSameArtifactAndGroupId()
                                            throws Exception
Throws:
Exception

newWarArtifact

protected ArtifactStub newWarArtifact(String groupId,
                                      String artifactId,
                                      String classifier)

newWarArtifact

protected ArtifactStub newWarArtifact(String groupId,
                                      String artifactId)


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