org.apache.maven.plugin.assembly.archive.phase
Class FileItemAssemblyPhaseTest

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

public class FileItemAssemblyPhaseTest
extends junit.framework.TestCase


Constructor Summary
FileItemAssemblyPhaseTest()
           
 
Method Summary
 void tearDown()
           
 void testExecute_ShouldAddAbsoluteFileNoFilterNoLineEndingConversion()
           
 void testExecute_ShouldAddNothingWhenNoFileItemsArePresent()
           
 void testExecute_ShouldAddRelativeFileNoFilterNoLineEndingConversion()
           
 void testExecute_WithOutputDirectory()
           
 void testExecute_WithOutputDirectoryAndDestName()
           
 void testExecute_WithOutputDirectoryAndDestNameAndIncludeBaseDirectoryFalse()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

FileItemAssemblyPhaseTest

public FileItemAssemblyPhaseTest()
Method Detail

tearDown

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

testExecute_ShouldAddNothingWhenNoFileItemsArePresent

public void testExecute_ShouldAddNothingWhenNoFileItemsArePresent()
                                                           throws ArchiveCreationException,
                                                                  AssemblyFormattingException
Throws:
ArchiveCreationException
AssemblyFormattingException

testExecute_ShouldAddAbsoluteFileNoFilterNoLineEndingConversion

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

testExecute_ShouldAddRelativeFileNoFilterNoLineEndingConversion

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

testExecute_WithOutputDirectory

public void testExecute_WithOutputDirectory()
                                     throws Exception
Throws:
Exception

testExecute_WithOutputDirectoryAndDestName

public void testExecute_WithOutputDirectoryAndDestName()
                                                throws Exception
Throws:
Exception

testExecute_WithOutputDirectoryAndDestNameAndIncludeBaseDirectoryFalse

public void testExecute_WithOutputDirectoryAndDestNameAndIncludeBaseDirectoryFalse()
                                                                            throws Exception
Throws:
Exception


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