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
IOException
public void testConvertLineEndings_ShouldReplaceLFWithCRLFAtEOF() throws IOException
IOException
public void testConvertLineEndings_ShouldReplaceCRLFWithLF() throws IOException
IOException
public void testConvertLineEndings_ShouldReplaceCRLFWithLFAtEOF() throws IOException
IOException
public void testConvertLineEndings_ShouldReplaceLFWithLF() throws IOException
IOException
public void testConvertLineEndings_ShouldReplaceLFWithLFAtEOF() throws IOException
IOException
public void testConvertLineEndings_ShouldReplaceCRLFWithCRLF() throws IOException
IOException
public void testConvertLineEndings_ShouldReplaceCRLFWithCRLFAtEOF() throws IOException
IOException
public void testConvertLineEndings_LFToCRLFNoEOFForceEOF() throws IOException
IOException
public void testConvertLineEndings_LFToCRLFWithEOFForceEOF() throws IOException
IOException
public void testConvertLineEndings_LFToCRLFNoEOFStripEOF() throws IOException
IOException
public void testConvertLineEndings_LFToCRLFWithEOFStripEOF() throws IOException
IOException
public void testConvertLineEndings_CRLFToLFNoEOFForceEOF() throws IOException
IOException
public void testConvertLineEndings_CRLFToLFWithEOFForceEOF() throws IOException
IOException
public void testConvertLineEndings_CRLFToLFNoEOFStripEOF() throws IOException
IOException
public void testConvertLineEndings_CRLFToLFWithEOFStripEOF() throws IOException
IOException
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.