org.apache.maven.plugin.dependency
Class TestIncludeExcludeUnpackMojo
java.lang.Object
  
junit.framework.Assert
      
junit.framework.TestCase
          
org.codehaus.plexus.PlexusTestCase
              
org.apache.maven.plugin.testing.AbstractMojoTestCase
                  
org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase
                      
org.apache.maven.plugin.dependency.TestIncludeExcludeUnpackMojo
- All Implemented Interfaces: 
 - Test
 
public class TestIncludeExcludeUnpackMojo
- extends AbstractDependencyMojoTestCase
 
 
 
| Fields inherited from class org.codehaus.plexus.PlexusTestCase | 
basedir, container | 
 
 
 
 
| 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 | 
 
 
| 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 | 
 
 
TestIncludeExcludeUnpackMojo
public TestIncludeExcludeUnpackMojo()
setUp
protected void setUp()
              throws Exception
- Overrides:
 setUp in class AbstractMojoTestCase
 
- Throws:
 Exception
 
tearDown
protected void tearDown()
- Overrides:
 tearDown in class AbstractDependencyMojoTestCase
 
 
assertMarkerFiles
public void assertMarkerFiles(Collection<ArtifactItem> items,
                              boolean exist)
 
assertMarkerFile
public void assertMarkerFile(boolean val,
                             ArtifactItem item)
 
testUnpackIncludesManyFiles
public void testUnpackIncludesManyFiles()
                                 throws Exception
- This test will validate that only the 1 and 11 files get unpacked
- Throws:
 Exception
 
 
testUnpackIncludesSingleFile
public void testUnpackIncludesSingleFile()
                                  throws Exception
- This test will verify only the 2 file gets unpacked
- Throws:
 Exception
 
 
testUnpackIncludesAllFiles
public void testUnpackIncludesAllFiles()
                                throws Exception
- This test will verify all files get unpacked
- Throws:
 Exception
 
 
testUnpackExcludesManyFiles
public void testUnpackExcludesManyFiles()
                                 throws Exception
- This test will validate that only the 2 and 3 files get unpacked
- Throws:
 Exception
 
 
testUnpackExcludesSingleFile
public void testUnpackExcludesSingleFile()
                                  throws Exception
- This test will verify only the 1, 11 & 3 files get unpacked
- Throws:
 Exception
 
 
testUnpackExcludesAllFiles
public void testUnpackExcludesAllFiles()
                                throws Exception
- This test will verify no files get unpacked
- Throws:
 Exception
 
 
testNoIncludeExcludes
public void testNoIncludeExcludes()
                           throws Exception
- Throws:
 Exception
 
testIncludeArtifactItemOverride
public void testIncludeArtifactItemOverride()
                                     throws Exception
- Throws:
 Exception
 
testExcludeArtifactItemOverride
public void testExcludeArtifactItemOverride()
                                     throws Exception
- Throws:
 Exception
 
testIncludeArtifactItemMultipleMarker
public void testIncludeArtifactItemMultipleMarker()
                                           throws Exception
- Throws:
 Exception
 
testIncludeArtifactItemMultipleExecutions
public void testIncludeArtifactItemMultipleExecutions()
                                               throws Exception
- Throws:
 Exception
 
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.