Class LineEndingsUtilsTest


  • public class LineEndingsUtilsTest
    extends Object
    • Constructor Detail

      • LineEndingsUtilsTest

        public LineEndingsUtilsTest()
    • Method Detail

      • shouldWorkCauseWeTestJdkEnumConversion

        public void shouldWorkCauseWeTestJdkEnumConversion()
      • shouldReturnDosLineEnding

        public void shouldReturnDosLineEnding()
      • shouldReturnUnixLineEnding

        public void shouldReturnUnixLineEnding()
      • shouldReturnNullAsLineEndingForKeep

        public void shouldReturnNullAsLineEndingForKeep()
      • 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