public class LineEndingsUtilsTest extends Object
| Constructor and Description |
|---|
LineEndingsUtilsTest() |
public void shouldWorkCauseWeTestJdkEnumConversion()
public void shouldReturnDosLineEnding()
public void shouldReturnUnixLineEnding()
public void shouldReturnNullAsLineEndingForKeep()
public void testGetLineEndingChars_ShouldReturnDosLineEnding()
throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testGetLineEndingChars_ShouldReturnUnixLineEnding()
throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testGetLineEndingChars_ShouldReturnNullLineEnding()
throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint()
throws org.apache.maven.plugins.assembly.format.AssemblyFormattingException
public void testConvertLineEndings_ShouldReplaceLFWithCRLF()
throws IOException
IOExceptionpublic void testConvertLineEndings_ShouldReplaceLFWithCRLFAtEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_ShouldReplaceCRLFWithLF()
throws IOException
IOExceptionpublic void testConvertLineEndings_ShouldReplaceCRLFWithLFAtEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_ShouldReplaceLFWithLF()
throws IOException
IOExceptionpublic void testConvertLineEndings_ShouldReplaceLFWithLFAtEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_ShouldReplaceCRLFWithCRLF()
throws IOException
IOExceptionpublic void testConvertLineEndings_ShouldReplaceCRLFWithCRLFAtEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_LFToCRLFNoEOFForceEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_LFToCRLFWithEOFForceEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_LFToCRLFNoEOFStripEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_LFToCRLFWithEOFStripEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_CRLFToLFNoEOFForceEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_CRLFToLFWithEOFForceEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_CRLFToLFNoEOFStripEOF()
throws IOException
IOExceptionpublic void testConvertLineEndings_CRLFToLFWithEOFStripEOF()
throws IOException
IOExceptionCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.