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

java.lang.Object
  extended by org.apache.maven.plugin.assembly.utils.LineEndingsUtilsTest

public class LineEndingsUtilsTest
extends Object


Constructor Summary
LineEndingsUtilsTest()
           
 
Method Summary
 void shouldReturnDosLineEnding()
           
 void shouldReturnNullAsLineEndingForKeep()
           
 void shouldReturnUnixLineEnding()
           
 void shouldWorkCauseWeTestJdkEnumConversion()
           
 void testConvertLineEndings_CRLFToLFNoEOFForceEOF()
           
 void testConvertLineEndings_CRLFToLFNoEOFStripEOF()
           
 void testConvertLineEndings_CRLFToLFWithEOFForceEOF()
           
 void testConvertLineEndings_CRLFToLFWithEOFStripEOF()
           
 void testConvertLineEndings_LFToCRLFNoEOFForceEOF()
           
 void testConvertLineEndings_LFToCRLFNoEOFStripEOF()
           
 void testConvertLineEndings_LFToCRLFWithEOFForceEOF()
           
 void testConvertLineEndings_LFToCRLFWithEOFStripEOF()
           
 void testConvertLineEndings_ShouldReplaceCRLFWithCRLF()
           
 void testConvertLineEndings_ShouldReplaceCRLFWithCRLFAtEOF()
           
 void testConvertLineEndings_ShouldReplaceCRLFWithLF()
           
 void testConvertLineEndings_ShouldReplaceCRLFWithLFAtEOF()
           
 void testConvertLineEndings_ShouldReplaceLFWithCRLF()
           
 void testConvertLineEndings_ShouldReplaceLFWithCRLFAtEOF()
           
 void testConvertLineEndings_ShouldReplaceLFWithLF()
           
 void testConvertLineEndings_ShouldReplaceLFWithLFAtEOF()
           
 void testGetLineEndingChars_ShouldReturnDosLineEnding()
           
 void testGetLineEndingChars_ShouldReturnNullLineEnding()
           
 void testGetLineEndingChars_ShouldReturnUnixLineEnding()
           
 void testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineEndingsUtilsTest

public LineEndingsUtilsTest()
Method Detail

shouldWorkCauseWeTestJdkEnumConversion

public void shouldWorkCauseWeTestJdkEnumConversion()

shouldReturnDosLineEnding

public void shouldReturnDosLineEnding()

shouldReturnUnixLineEnding

public void shouldReturnUnixLineEnding()

shouldReturnNullAsLineEndingForKeep

public void shouldReturnNullAsLineEndingForKeep()

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()
                                                                          throws AssemblyFormattingException
Throws:
AssemblyFormattingException

testConvertLineEndings_ShouldReplaceLFWithCRLF

public void testConvertLineEndings_ShouldReplaceLFWithCRLF()
                                                    throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceLFWithCRLFAtEOF

public void testConvertLineEndings_ShouldReplaceLFWithCRLFAtEOF()
                                                         throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceCRLFWithLF

public void testConvertLineEndings_ShouldReplaceCRLFWithLF()
                                                    throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceCRLFWithLFAtEOF

public void testConvertLineEndings_ShouldReplaceCRLFWithLFAtEOF()
                                                         throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceLFWithLF

public void testConvertLineEndings_ShouldReplaceLFWithLF()
                                                  throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceLFWithLFAtEOF

public void testConvertLineEndings_ShouldReplaceLFWithLFAtEOF()
                                                       throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceCRLFWithCRLF

public void testConvertLineEndings_ShouldReplaceCRLFWithCRLF()
                                                      throws IOException
Throws:
IOException

testConvertLineEndings_ShouldReplaceCRLFWithCRLFAtEOF

public void testConvertLineEndings_ShouldReplaceCRLFWithCRLFAtEOF()
                                                           throws IOException
Throws:
IOException

testConvertLineEndings_LFToCRLFNoEOFForceEOF

public void testConvertLineEndings_LFToCRLFNoEOFForceEOF()
                                                  throws IOException
Throws:
IOException

testConvertLineEndings_LFToCRLFWithEOFForceEOF

public void testConvertLineEndings_LFToCRLFWithEOFForceEOF()
                                                    throws IOException
Throws:
IOException

testConvertLineEndings_LFToCRLFNoEOFStripEOF

public void testConvertLineEndings_LFToCRLFNoEOFStripEOF()
                                                  throws IOException
Throws:
IOException

testConvertLineEndings_LFToCRLFWithEOFStripEOF

public void testConvertLineEndings_LFToCRLFWithEOFStripEOF()
                                                    throws IOException
Throws:
IOException

testConvertLineEndings_CRLFToLFNoEOFForceEOF

public void testConvertLineEndings_CRLFToLFNoEOFForceEOF()
                                                  throws IOException
Throws:
IOException

testConvertLineEndings_CRLFToLFWithEOFForceEOF

public void testConvertLineEndings_CRLFToLFWithEOFForceEOF()
                                                    throws IOException
Throws:
IOException

testConvertLineEndings_CRLFToLFNoEOFStripEOF

public void testConvertLineEndings_CRLFToLFNoEOFStripEOF()
                                                  throws IOException
Throws:
IOException

testConvertLineEndings_CRLFToLFWithEOFStripEOF

public void testConvertLineEndings_CRLFToLFWithEOFStripEOF()
                                                    throws IOException
Throws:
IOException


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.