public class AssemblyFileUtilsTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
AssemblyFileUtilsTest() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatpublic void tearDown()
throws IOException
tearDown in class junit.framework.TestCaseIOExceptionpublic void testUnpack_ShouldSetSourceAndDestinationAndCallExtract()
throws IOException,
ArchiveExpansionException,
NoSuchArchiverException
public void testGetLineEndingChars_ShouldReturnDosLineEnding()
throws AssemblyFormattingException
AssemblyFormattingExceptionpublic void testGetLineEndingChars_ShouldReturnUnixLineEnding()
throws AssemblyFormattingException
AssemblyFormattingExceptionpublic void testGetLineEndingChars_ShouldReturnNullLineEnding()
throws AssemblyFormattingException
AssemblyFormattingExceptionpublic void testGetLineEndingChars_ShouldThrowFormattingExceptionWithInvalidHint()
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–2014 The Apache Software Foundation. All rights reserved.