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 AssemblyFormattingException
AssemblyFormattingException
public void testGetLineEndingChars_ShouldReturnUnixLineEnding() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetLineEndingChars_ShouldReturnNullLineEnding() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint() throws AssemblyFormattingException
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–2015 The Apache Software Foundation. All rights reserved.