org.apache.maven.plugin.assembly.utils
Class AssemblyFileUtilsTest

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

public class AssemblyFileUtilsTest
extends junit.framework.TestCase


Constructor Summary
AssemblyFileUtilsTest()
           
 
Method Summary
 void tearDown()
           
 void testConvertLineEndings_ShouldReplaceCRLFWithCRLF()
           
 void testConvertLineEndings_ShouldReplaceCRLFWithLF()
           
 void testConvertLineEndings_ShouldReplaceLFWithCRLF()
           
 void testConvertLineEndings_ShouldReplaceLFWithLF()
           
 void testGetLineEndingChars_ShouldReturnDosLineEnding()
           
 void testGetLineEndingChars_ShouldReturnNullLineEnding()
           
 void testGetLineEndingChars_ShouldReturnUnixLineEnding()
           
 void testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint()
           
 void testUnpack_ShouldSetSourceAndDestinationAndCallExtract()
           
 
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

AssemblyFileUtilsTest

public AssemblyFileUtilsTest()
Method Detail

tearDown

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

testUnpack_ShouldSetSourceAndDestinationAndCallExtract

public void testUnpack_ShouldSetSourceAndDestinationAndCallExtract()
                                                            throws IOException,
                                                                   ArchiveExpansionException,
                                                                   org.codehaus.plexus.archiver.manager.NoSuchArchiverException
Throws:
IOException
ArchiveExpansionException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException

testGetLineEndingChars_ShouldReturnDosLineEnding

public void testGetLineEndingChars_ShouldReturnDosLineEnding()
                                                      throws AssemblyFormattingException
Throws:
AssemblyFormattingException

testGetLineEndingChars_ShouldReturnUnixLineEnding

public void testGetLineEndingChars_ShouldReturnUnixLineEnding()
                                                       throws AssemblyFormattingException
Throws:
AssemblyFormattingException

testGetLineEndingChars_ShouldReturnNullLineEnding

public void testGetLineEndingChars_ShouldReturnNullLineEnding()
                                                       throws AssemblyFormattingException
Throws:
AssemblyFormattingException

testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint

public void testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint()

testConvertLineEndings_ShouldReplaceLFWithCRLF

public void testConvertLineEndings_ShouldReplaceLFWithCRLF()
                                                    throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceCRLFWithLF

public void testConvertLineEndings_ShouldReplaceCRLFWithLF()
                                                    throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceLFWithLF

public void testConvertLineEndings_ShouldReplaceLFWithLF()
                                                  throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceCRLFWithCRLF

public void testConvertLineEndings_ShouldReplaceCRLFWithCRLF()
                                                      throws IOException
Throws:
IOException


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