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

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

public class AddArtifactTaskTest
extends junit.framework.TestCase


Constructor Summary
AddArtifactTaskTest()
           
 
Method Summary
 void setUp()
           
 void testShouldAddArchiveFileWithDefaultOutputLocation()
           
 void testShouldAddArchiveFileWithoutUnpacking()
           
 void testShouldAddArchiveFileWithUnpack()
           
 void testShouldAddArchiveFileWithUnpackAndModes()
           
 void testShouldAddArchiveFileWithUnpackIncludesAndExcludes()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AddArtifactTaskTest

public AddArtifactTaskTest()
Method Detail

setUp

public void setUp()
           throws IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
IOException

testShouldAddArchiveFileWithoutUnpacking

public void testShouldAddArchiveFileWithoutUnpacking()
                                              throws ArchiveCreationException,
                                                     AssemblyFormattingException,
                                                     IOException
Throws:
ArchiveCreationException
AssemblyFormattingException
IOException

testShouldAddArchiveFileWithDefaultOutputLocation

public void testShouldAddArchiveFileWithDefaultOutputLocation()
                                                       throws ArchiveCreationException,
                                                              AssemblyFormattingException,
                                                              IOException
Throws:
ArchiveCreationException
AssemblyFormattingException
IOException

testShouldAddArchiveFileWithUnpack

public void testShouldAddArchiveFileWithUnpack()
                                        throws ArchiveCreationException,
                                               AssemblyFormattingException,
                                               IOException
Throws:
ArchiveCreationException
AssemblyFormattingException
IOException

testShouldAddArchiveFileWithUnpackAndModes

public void testShouldAddArchiveFileWithUnpackAndModes()
                                                throws ArchiveCreationException,
                                                       AssemblyFormattingException,
                                                       IOException
Throws:
ArchiveCreationException
AssemblyFormattingException
IOException

testShouldAddArchiveFileWithUnpackIncludesAndExcludes

public void testShouldAddArchiveFileWithUnpackIncludesAndExcludes()
                                                           throws ArchiveCreationException,
                                                                  AssemblyFormattingException,
                                                                  IOException
Throws:
ArchiveCreationException
AssemblyFormattingException
IOException


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