Class LineEndingsUtilsTest
java.lang.Object
org.apache.maven.plugins.assembly.utils.LineEndingsUtilsTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
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
- Throws:
AssemblyFormattingException
-
testGetLineEndingChars_ShouldReturnUnixLineEnding
- Throws:
AssemblyFormattingException
-
testGetLineEndingChars_ShouldReturnNullLineEnding
- Throws:
AssemblyFormattingException
-
testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint
public void testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint() throws AssemblyFormattingException- Throws:
AssemblyFormattingException
-
testConvertLineEndings_ShouldReplaceLFWithCRLF
- Throws:
IOException
-
testConvertLineEndings_ShouldReplaceLFWithCRLFAtEOF
- Throws:
IOException
-
testConvertLineEndings_ShouldReplaceCRLFWithLF
- Throws:
IOException
-
testConvertLineEndings_ShouldReplaceCRLFWithLFAtEOF
- Throws:
IOException
-
testConvertLineEndings_ShouldReplaceLFWithLF
- Throws:
IOException
-
testConvertLineEndings_ShouldReplaceLFWithLFAtEOF
- Throws:
IOException
-
testConvertLineEndings_ShouldReplaceCRLFWithCRLF
- Throws:
IOException
-
testConvertLineEndings_ShouldReplaceCRLFWithCRLFAtEOF
- Throws:
IOException
-
testConvertLineEndings_LFToCRLFNoEOFForceEOF
- Throws:
IOException
-
testConvertLineEndings_LFToCRLFWithEOFForceEOF
- Throws:
IOException
-
testConvertLineEndings_LFToCRLFNoEOFStripEOF
- Throws:
IOException
-
testConvertLineEndings_LFToCRLFWithEOFStripEOF
- Throws:
IOException
-
testConvertLineEndings_CRLFToLFNoEOFForceEOF
- Throws:
IOException
-
testConvertLineEndings_CRLFToLFWithEOFForceEOF
- Throws:
IOException
-
testConvertLineEndings_CRLFToLFNoEOFStripEOF
- Throws:
IOException
-
testConvertLineEndings_CRLFToLFWithEOFStripEOF
- Throws:
IOException
-