org.apache.maven.plugin.dependency
Class TestUnpackDependenciesMojo
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.TestUnpackDependenciesMojo
- All Implemented Interfaces: 
 - Test
 
public class TestUnpackDependenciesMojo
- 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 | 
 
 
TestUnpackDependenciesMojo
public TestUnpackDependenciesMojo()
setUp
protected void setUp()
              throws Exception
- Overrides:
 setUp in class AbstractMojoTestCase
 
- Throws:
 Exception
 
tearDown
protected void tearDown()
- Overrides:
 tearDown in class AbstractDependencyMojoTestCase
 
 
assertUnpacked
public void assertUnpacked(Artifact artifact)
 
assertUnpacked
public void assertUnpacked(boolean val,
                           Artifact artifact)
 
assertMarkerFile
public void assertMarkerFile(boolean val,
                             Artifact artifact)
 
testMojo
public void testMojo()
              throws Exception
- Throws:
 Exception
 
testNoTransitive
public void testNoTransitive()
                      throws Exception
- Throws:
 Exception
 
testExcludeType
public void testExcludeType()
                     throws Exception
- Throws:
 Exception
 
testExcludeProvidedScope
public void testExcludeProvidedScope()
                              throws Exception
- Throws:
 Exception
 
testExcludeSystemScope
public void testExcludeSystemScope()
                            throws Exception
- Throws:
 Exception
 
testExcludeCompileScope
public void testExcludeCompileScope()
                             throws Exception
- Throws:
 Exception
 
testExcludeTestScope
public void testExcludeTestScope()
                          throws IOException
- Throws:
 IOException
 
testExcludeRuntimeScope
public void testExcludeRuntimeScope()
                             throws Exception
- Throws:
 Exception
 
testIncludeType
public void testIncludeType()
                     throws Exception
- Throws:
 Exception
 
testSubPerType
public void testSubPerType()
                    throws Exception
- Throws:
 Exception
 
testSubPerArtifact
public void testSubPerArtifact()
                        throws Exception
- Throws:
 Exception
 
testSubPerArtifactAndType
public void testSubPerArtifactAndType()
                               throws Exception
- Throws:
 Exception
 
testSubPerArtifactRemoveVersion
public void testSubPerArtifactRemoveVersion()
                                     throws Exception
- Throws:
 Exception
 
testSubPerArtifactAndTypeRemoveVersion
public void testSubPerArtifactAndTypeRemoveVersion()
                                            throws Exception
- Throws:
 Exception
 
testIncludeCompileScope
public void testIncludeCompileScope()
                             throws Exception
- Throws:
 Exception
 
testIncludeTestScope
public void testIncludeTestScope()
                          throws Exception
- Throws:
 Exception
 
testIncludeRuntimeScope
public void testIncludeRuntimeScope()
                             throws Exception
- Throws:
 Exception
 
testIncludeprovidedScope
public void testIncludeprovidedScope()
                              throws Exception
- Throws:
 Exception
 
testIncludesystemScope
public void testIncludesystemScope()
                            throws Exception
- Throws:
 Exception
 
testIncludeArtifactId
public void testIncludeArtifactId()
                           throws Exception
- Throws:
 Exception
 
testExcludeArtifactId
public void testExcludeArtifactId()
                           throws Exception
- Throws:
 Exception
 
testExcludeGroupId
public void testExcludeGroupId()
                        throws Exception
- Throws:
 Exception
 
testIncludeGroupId
public void testIncludeGroupId()
                        throws Exception
- Throws:
 Exception
 
testCDMClassifier
public void testCDMClassifier()
                       throws Exception
- Throws:
 Exception
 
testCDMType
public void testCDMType()
                 throws Exception
- Throws:
 Exception
 
testCDMClassifierType
public void testCDMClassifierType()
                           throws Exception
- Throws:
 Exception
 
dotestClassifierType
public void dotestClassifierType(String testClassifier,
                                 String testType)
                          throws Exception
- Throws:
 Exception
 
testArtifactNotFound
public void testArtifactNotFound()
                          throws Exception
- Throws:
 Exception
 
testArtifactResolutionException
public void testArtifactResolutionException()
                                     throws Exception
- Throws:
 Exception
 
dotestArtifactExceptions
public void dotestArtifactExceptions(boolean are,
                                     boolean anfe)
                              throws Exception
- Throws:
 Exception
 
getUnpackedFile
public File getUnpackedFile(Artifact artifact)
 
getUnpackedMarkerHandler
public DefaultFileMarkerHandler getUnpackedMarkerHandler(Artifact artifact)
 
assertUnpacked
public void assertUnpacked(Artifact artifact,
                           boolean overWrite)
                    throws InterruptedException,
                           MojoExecutionException
- Throws:
 InterruptedException
MojoExecutionException
 
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.