org.apache.maven.plugin.assembly.archive.task
Class AddDependencySetsTaskTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTaskTest
All Implemented Interfaces:
junit.framework.Test

public class AddDependencySetsTaskTest
extends junit.framework.TestCase


Constructor Summary
AddDependencySetsTaskTest()
           
 
Method Summary
 void testAddDependencySet_ShouldAddOneDependencyFromProjectUnpacked()
           
 void testAddDependencySet_ShouldAddOneDependencyFromProjectWithoutUnpacking()
           
 void testAddDependencySet_ShouldInterpolateDefaultOutputFileNameMapping()
           
 void testAddDependencySet_ShouldNotAddDependenciesWhenProjectHasNone()
           
 void testAddDependencySet_ShouldNotAddDependenciesWhenProjectIsStubbed()
           
 void testGetDependencyArtifacts_ShouldFilterOneDependencyArtifactViaInclude()
           
 void testGetDependencyArtifacts_ShouldGetOneDependencyArtifact()
           
 void testGetDependencyArtifacts_ShouldIgnoreTransitivePathFilteringWhenIncludeNotTransitive()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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
 

Constructor Detail

AddDependencySetsTaskTest

public AddDependencySetsTaskTest()
Method Detail

testAddDependencySet_ShouldInterpolateDefaultOutputFileNameMapping

public void testAddDependencySet_ShouldInterpolateDefaultOutputFileNameMapping()
                                                                        throws AssemblyFormattingException,
                                                                               ArchiveCreationException,
                                                                               InvalidAssemblerConfigurationException,
                                                                               IOException
Throws:
AssemblyFormattingException
ArchiveCreationException
InvalidAssemblerConfigurationException
IOException

testAddDependencySet_ShouldNotAddDependenciesWhenProjectHasNone

public void testAddDependencySet_ShouldNotAddDependenciesWhenProjectHasNone()
                                                                     throws AssemblyFormattingException,
                                                                            ArchiveCreationException,
                                                                            InvalidAssemblerConfigurationException
Throws:
AssemblyFormattingException
ArchiveCreationException
InvalidAssemblerConfigurationException

testAddDependencySet_ShouldNotAddDependenciesWhenProjectIsStubbed

public void testAddDependencySet_ShouldNotAddDependenciesWhenProjectIsStubbed()
                                                                       throws AssemblyFormattingException,
                                                                              ArchiveCreationException,
                                                                              InvalidAssemblerConfigurationException,
                                                                              IOException
Throws:
AssemblyFormattingException
ArchiveCreationException
InvalidAssemblerConfigurationException
IOException

testAddDependencySet_ShouldAddOneDependencyFromProjectWithoutUnpacking

public void testAddDependencySet_ShouldAddOneDependencyFromProjectWithoutUnpacking()
                                                                            throws AssemblyFormattingException,
                                                                                   ArchiveCreationException,
                                                                                   IOException,
                                                                                   InvalidAssemblerConfigurationException
Throws:
AssemblyFormattingException
ArchiveCreationException
IOException
InvalidAssemblerConfigurationException

testAddDependencySet_ShouldAddOneDependencyFromProjectUnpacked

public void testAddDependencySet_ShouldAddOneDependencyFromProjectUnpacked()
                                                                    throws AssemblyFormattingException,
                                                                           ArchiveCreationException,
                                                                           IOException,
                                                                           InvalidAssemblerConfigurationException
Throws:
AssemblyFormattingException
ArchiveCreationException
IOException
InvalidAssemblerConfigurationException

testGetDependencyArtifacts_ShouldGetOneDependencyArtifact

public void testGetDependencyArtifacts_ShouldGetOneDependencyArtifact()
                                                               throws ArchiveCreationException,
                                                                      InvalidAssemblerConfigurationException
Throws:
ArchiveCreationException
InvalidAssemblerConfigurationException

testGetDependencyArtifacts_ShouldFilterOneDependencyArtifactViaInclude

public void testGetDependencyArtifacts_ShouldFilterOneDependencyArtifactViaInclude()
                                                                            throws ArchiveCreationException,
                                                                                   InvalidAssemblerConfigurationException
Throws:
ArchiveCreationException
InvalidAssemblerConfigurationException

testGetDependencyArtifacts_ShouldIgnoreTransitivePathFilteringWhenIncludeNotTransitive

public void testGetDependencyArtifacts_ShouldIgnoreTransitivePathFilteringWhenIncludeNotTransitive()
                                                                                            throws ArchiveCreationException,
                                                                                                   InvalidAssemblerConfigurationException
Throws:
ArchiveCreationException
InvalidAssemblerConfigurationException


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