Class LineEndingsUtilsTest

java.lang.Object
org.apache.maven.plugins.assembly.utils.LineEndingsUtilsTest

public class LineEndingsUtilsTest extends Object
  • Constructor Details

    • LineEndingsUtilsTest

      public LineEndingsUtilsTest()
  • Method Details

    • 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