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:
Test

public class OverlayManagerTest
extends org.codehaus.plexus.PlexusTestCase

Version:
$Id: OverlayManagerTest.java 948982 2010-05-27 20:50:53Z krosenvold $
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
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
 

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-2012 The Apache Software Foundation. All Rights Reserved.