org.apache.maven.plugin.assembly.format
Class FileSetFormatterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.assembly.format.FileSetFormatterTest
All Implemented Interfaces:
junit.framework.Test

public class FileSetFormatterTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
FileSetFormatterTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testShouldConvertLineEndingsOnOneExplicitlyIncludedFile()
           
 void testShouldConvertLineEndingsOnOneFileAndIgnoreFileWithinDefaultExcludedDir()
           
 void testShouldConvertLineEndingsOnOneFileWithAnotherExplicitlyExcluded()
           
 void testShouldConvertLineEndingsOnTwoFiles()
           
 void testShouldFilterSeveralFiles()
           
 void testShouldReturnOriginalUnalteredDirectoryWhenIncludedFileSetIsEmpty()
           
 void testShouldReturnOriginalUnalteredDirectoryWhenLineEndingIsKeep()
           
 void testShouldReturnOriginalUnalteredDirectoryWhenLineEndingIsNull()
           
 
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.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

FileSetFormatterTest

public FileSetFormatterTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws IOException
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
IOException

testShouldReturnOriginalUnalteredDirectoryWhenLineEndingIsNull

public void testShouldReturnOriginalUnalteredDirectoryWhenLineEndingIsNull()
                                                                    throws AssemblyFormattingException,
                                                                           IOException
Throws:
AssemblyFormattingException
IOException

testShouldReturnOriginalUnalteredDirectoryWhenLineEndingIsKeep

public void testShouldReturnOriginalUnalteredDirectoryWhenLineEndingIsKeep()
                                                                    throws AssemblyFormattingException,
                                                                           IOException
Throws:
AssemblyFormattingException
IOException

testShouldReturnOriginalUnalteredDirectoryWhenIncludedFileSetIsEmpty

public void testShouldReturnOriginalUnalteredDirectoryWhenIncludedFileSetIsEmpty()
                                                                          throws AssemblyFormattingException,
                                                                                 IOException
Throws:
AssemblyFormattingException
IOException

testShouldConvertLineEndingsOnTwoFiles

public void testShouldConvertLineEndingsOnTwoFiles()
                                            throws AssemblyFormattingException,
                                                   IOException
Throws:
AssemblyFormattingException
IOException

testShouldConvertLineEndingsOnOneFileWithAnotherExplicitlyExcluded

public void testShouldConvertLineEndingsOnOneFileWithAnotherExplicitlyExcluded()
                                                                        throws AssemblyFormattingException,
                                                                               IOException
Throws:
AssemblyFormattingException
IOException

testShouldConvertLineEndingsOnOneExplicitlyIncludedFile

public void testShouldConvertLineEndingsOnOneExplicitlyIncludedFile()
                                                             throws AssemblyFormattingException,
                                                                    IOException
Throws:
AssemblyFormattingException
IOException

testShouldConvertLineEndingsOnOneFileAndIgnoreFileWithinDefaultExcludedDir

public void testShouldConvertLineEndingsOnOneFileAndIgnoreFileWithinDefaultExcludedDir()
                                                                                throws AssemblyFormattingException,
                                                                                       IOException
Throws:
AssemblyFormattingException
IOException

testShouldFilterSeveralFiles

public void testShouldFilterSeveralFiles()
                                  throws Exception
Throws:
Exception


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