Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
102200399.706%66.705

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.commons.io.output87000100%2.214
org.apache.commons.io.monitor11000100%5.723
org.apache.commons.io.input.compatibility11000100%0.041
org.apache.commons.io.filefilter58000100%2.362
org.apache.commons.io.comparator64000100%4.62
org.apache.commons.io.input27100398.893%30.3
org.apache.commons.io520000100%21.445

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.io.output

ClassTestsErrors FailuresSkippedSuccess RateTime
BrokenOutputStreamTest3000100%0.009
ByteArrayOutputStreamTestCase3000100%0.037
ClosedOutputStreamTest1000100%0.011
CloseShieldOutputStreamTest1000100%0.011
CountingOutputStreamTest2000100%1.615
DeferredFileOutputStreamTest10000100%0.093
FileWriterWithEncodingTest6000100%0.092
LockableFileWriterTest7000100%0.065
NullOutputStreamTest1000100%0.011
NullWriterTest1000100%0.01
ProxyOutputStreamTest2000100%0.009
ProxyWriterTest8000100%0.013
StringBuilderWriterTest12000100%0.013
TaggedOutputStreamTest3000100%0.071
TeeOutputStreamTest3000100%0.017
WriterOutputStreamTest12000100%0.095
XmlStreamWriterTest12000100%0.042

org.apache.commons.io.monitor

ClassTestsErrors FailuresSkippedSuccess RateTime
FileAlterationMonitorTestCase4000100%0.65
FileAlterationObserverTestCase7000100%5.073

org.apache.commons.io.input.compatibility

ClassTestsErrors FailuresSkippedSuccess RateTime
XmlStreamReaderUtilitiesCompatibilityTest11000100%0.041

org.apache.commons.io.filefilter

ClassTestsErrors FailuresSkippedSuccess RateTime
AndFileFilterTestCase5000100%0.023
FileFilterTestCase47000100%2.284
OrFileFilterTestCase5000100%0.013
RegexFileFilterTestCase1000100%0.042

org.apache.commons.io.comparator

ClassTestsErrors FailuresSkippedSuccess RateTime
CompositeFileComparatorTest10000100%0.081
DefaultFileComparatorTest7000100%0.031
DirectoryFileComparatorTest7000100%0.036
ExtensionFileComparatorTest8000100%0.05
LastModifiedFileComparatorTest7000100%4.253
NameFileComparatorTest8000100%0.035
PathFileComparatorTest8000100%0.04
SizeFileComparatorTest9000100%0.094

org.apache.commons.io.input

ClassTestsErrors FailuresSkippedSuccess RateTime
AutoCloseInputStreamTest4000100%0.01
BOMInputStreamTest4200197.619%0.15
BoundedInputStreamTest2000100%0.02
BrokenInputStreamTest5000100%0.011
CharSequenceInputStreamTest3000293.333%0.421
CharSequenceReaderTest7000100%0.015
ClassLoaderObjectInputStreamTest6000100%0.03
ClosedInputStreamTest1000100%0.011
CloseShieldInputStreamTest1000100%0.008
CountingInputStreamTest10000100%1.921
NullInputStreamTest6000100%0.016
NullReaderTest6000100%0.014
ProxyReaderTest2000100%0.01
ReaderInputStreamTest8000100%0.064
ReversedLinesFileReaderTestParamBlockSize65000100%2.68
ReversedLinesFileReaderTestParamFile13000100%0.563
ReversedLinesFileReaderTestSimple3000100%0.041
SwappedDataInputStreamTest14000100%0.018
TaggedInputStreamTest4000100%0.067
TailerTest9000100%23.7
TeeInputStreamTest7000100%0.011
XmlStreamReaderTest15000100%0.441
XmlStreamReaderUtilitiesTest11000100%0.078

org.apache.commons.io

ClassTestsErrors FailuresSkippedSuccess RateTime
ByteOrderMarkTestCase9000100%0.003
CharsetsTestCase8000100%0.013
CopyUtilsTest11000100%0.013
DemuxTestCase2000100%0.199
DirectoryWalkerTestCase15000100%0.118
DirectoryWalkerTestCaseJava414000100%0.109
EndianUtilsTest22000100%0.019
FileCleanerTestCase9000100%4.138
FileCleaningTrackerTestCase9000100%4.114
FileDeleteStrategyTestCase5000100%0.053
FilenameUtilsTestCase30000100%0.21
FilenameUtilsWildcardTestCase7000100%0.098
FileSystemUtilsTestCase28000100%0.128
FileUtilsCleanDirectoryTestCase5000100%0.056
FileUtilsCleanSymlinksTestCase7000100%0.028
FileUtilsDirectoryContainsTestCase10000100%0.111
FileUtilsFileNewerTestCase5000100%0.037
FileUtilsListFilesTestCase3000100%0.093
FileUtilsTestCase131000100%3.177
FileUtilsWaitForTestCase1000100%5.338
HexDumpTest1000100%0.064
IOCaseTestCase17000100%0.027
IOExceptionWithCauseTestCase2000100%0.009
IOUtilsCopyTestCase23000100%2.316
IOUtilsTestCase73000100%0.321
IOUtilsWriteTestCase53000100%0.05
LineIteratorTestCase16000100%0.123
TaggedIOExceptionTest1000100%0.066
ThreadMonitorTestCase3000100%0.414

Test Cases

[Summary] [Package List] [Test Cases]

ByteOrderMarkTestCase

testCharsetName0.001
testGetBytes0.001
testGet0
testToString0
testConstantCharsetNames0.001
testHashCode0
testEquals0
testErrors0
testLength0

CharsetsTestCase

testUtf160.011
testUtf80
testUsAscii0.001
testUtf16Be0
testUtf16Le0
testToCharset0
testIso8859_10
testRequiredCharsets0.001

CompositeFileComparatorTest

testConstructorIterableNull0.036
testConstructorArrayNull0.004
testConstructorIterable0.007
testSortListNull0.004
testSortList0.005
testReverseComparator0.005
testComparator0.006
testToString0.004
testSortArrayNull0.004
testSortArray0.006

DefaultFileComparatorTest

testSortListNull0.023
testSortList0.006
testReverseComparator0
testComparator0
testToString0
testSortArrayNull0.001
testSortArray0.001

DirectoryFileComparatorTest

testSortList0.027
testSortArray0.001
testSortListNull0.002
testReverseComparator0.002
testComparator0.002
testToString0.001
testSortArrayNull0.001

ExtensionFileComparatorTest

testCaseSensitivity0.034
testSortListNull0.002
testSortList0.003
testReverseComparator0.002
testComparator0.002
testToString0.002
testSortArrayNull0.002
testSortArray0.003

LastModifiedFileComparatorTest

testSortListNull0.632
testSortList0.605
testReverseComparator0.604
testComparator0.603
testToString0.603
testSortArrayNull0.603
testSortArray0.603

NameFileComparatorTest

testCaseSensitivity0.027
testSortListNull0.001
testSortList0.002
testReverseComparator0.001
testComparator0.001
testToString0.001
testSortArrayNull0.001
testSortArray0.001

PathFileComparatorTest

testCaseSensitivity0.029
testSortListNull0.002
testSortList0.002
testReverseComparator0.001
testComparator0.001
testToString0.002
testSortArrayNull0.001
testSortArray0.002

SizeFileComparatorTest

testCompareDirectorySizes0.042
testNonexistantFile0.007
testSortListNull0.006
testSortList0.006
testReverseComparator0.006
testComparator0.007
testToString0.006
testSortArrayNull0.006
testSortArray0.008

CopyUtilsTest

testCopy_byteArrayToWriterWithEncoding0.003
testCopy_readerToOutputStream0.002
testCtor0
testCopy_byteArrayToWriter0.002
testCopy_byteArrayToOutputStream0
testCopy_stringToWriter0.001
testCopy_inputStreamToWriterWithEncoding0.001
testCopy_inputStreamToWriter0.001
testCopy_inputStreamToOutputStream0.001
testCopy_stringToOutputStream0.001
testCopy_readerToWriter0.001

DemuxTestCase

testInputStream0.108
testOutputStream0.091

DirectoryWalkerTestCase

testFilterAndLimitA0.002
testFilterAndLimitB0
testFilterAndLimitC0.001
testFilterAndLimitD0.012
testHandleStartDirectoryFalse0.001
testMissingStartDirectory0
testFilterString0.013
testMultiThreadCancel0.023
testLimitToCurrent0
testCancel0.017
testFilter0.003
testFilterDirAndFile10.008
testFilterDirAndFile20.011
testFilterDirAndFile30.013
testFilterDirAndFile40.014

DirectoryWalkerTestCaseJava4

testFilterAndLimitA0.003
testFilterAndLimitB0.001
testFilterAndLimitC0.001
testFilterAndLimitD0.01
testHandleStartDirectoryFalse0.001
testMissingStartDirectory0.001
testMultiThreadCancel0.025
testLimitToCurrent0
testCancel0.021
testFilter0.004
testFilterDirAndFile10.007
testFilterDirAndFile20.011
testFilterDirAndFile30.01
testFilterDirAndFile40.014

EndianUtilsTest

testReadSwappedFloat0.008
testReadSwappedShort0.001
testSymmetry0
testReadSwappedUnsignedShort0
testWriteSwappedLong0
testCtor0.001
testSwapInteger0
testReadSwappedLong0.001
testEOFException0
testWriteSwappedFloat0.001
testReadSwappedDouble0
testSwapFloat0.001
testWriteSwappedShort0
testSwapShort0.001
testSymmetryOfLong0
testSwapLong0.001
testReadSwappedUnsignedInteger0.004
testWriteSwappedDouble0
testWriteSwappedInteger0
testUnsignedOverrun0
testSwapDouble0
testReadSwappedInteger0

FileCleanerTestCase

testFileCleanerDirectory0.544
testFileCleanerDirectory_ForceStrategy0.511
testFileCleanerExitWhenFinished10.512
testFileCleanerExitWhenFinished21.011
testFileCleanerDirectory_NullStrategy0.51
testFileCleanerFile0.539
testFileCleanerNull0.001
testFileCleanerExitWhenFinished_NoTrackAfter0.001
testFileCleanerExitWhenFinishedFirst0.509

FileCleaningTrackerTestCase

testFileCleanerDirectory0.543
testFileCleanerDirectory_ForceStrategy0.513
testFileCleanerExitWhenFinished10.512
testFileCleanerExitWhenFinished21.01
testFileCleanerDirectory_NullStrategy0.513
testFileCleanerFile0.511
testFileCleanerNull0.001
testFileCleanerExitWhenFinished_NoTrackAfter0.001
testFileCleanerExitWhenFinishedFirst0.51

FileDeleteStrategyTestCase

testDeleteForce0.053
testToString0
testDeleteNormal0
testDeleteNull0
testDeleteQuietlyNormal0

AndFileFilterTestCase

testAdd0.015
testFilterBuiltUsingAdd0.004
testNoFilters0
testRemove0.001
testFilterBuiltUsingConstructor0.003

FileFilterTestCase

testFileFilterUtils_or0.044
testMakeSVNAware0.019
testMagicNumberFileFilterValidation0.003
testNameFilter0.007
testMagicNumberFileFilterString0.011
testFilterArray0.002
testMagicNumberFileFilterBytesOffset0.01
testAnd0.003
testNot0.002
testDeprecatedWildcard0.016
testEmpty0.008
testFalse0.002
testFiles0.004
testTrue0.003
testFileFilterUtils_and0.002
testPrefixCaseInsensitive0.013
testOr0.001
testWildcard0.019
testDirectory0
testNameFilterNullListArgument0
testFilterSet_fromArray0
testFilterSet0.003
testFilterSetNullParameters0.002
testEnsureTestCoverage0.002
testNameFilterNullArgument0.004
testNullFilters0.002
testCanRead0.005
testMakeCVSAware0.007
testMagicNumberFileFilterBytes0.014
testMagicNumberFileFilterStringOffset0.01
testDelegateFileFilter0.006
testCanWrite0.001
testNameFilterNullArrayArgument0.003
testDelegation0.002
testFilterListNullParameters0.002
testFilterList_fromArray0.002
testSizeFilter0.011
testFilterArrayNullParameters0.001
testMakeDirectoryOnly0.007
testHidden0.002
testMakeFileOnly0.006
testFilterArray_fromList0.002
testPrefix0.002
testSuffix0.004
testSuffixCaseInsensitive0.003
testFilterList0.002
testAgeFilter2.01

OrFileFilterTestCase

testAdd0.009
testFilterBuiltUsingAdd0.002
testNoFilters0
testRemove0.001
testFilterBuiltUsingConstructor0.001

RegexFileFilterTestCase

testRegex0.042

FilenameUtilsTestCase

testGetFullPath0.035
testIsExtensionCollection0.008
testNormalizeUnixWin0.007
testSeparatorsToWindows0.005
testNormalizeNoEndSeparatorUnixWin0.008
testGetName0.005
testGetPath0.006
testEqualsNormalizedError_IO_1280.008
testNormalizeNoEndSeparator0.03
testGetBaseName0.005
testGetPathNoEndSeparator0.004
testIsExtension0.005
testEqualsNormalizedOnSystem0.005
testEqualsOnSystem0.004
testGetExtension0.008
testGetFullPathNoEndSeparator_IO_2480.004
testEquals_fullControl0.006
testSeparatorsToUnix0.004
testNormalize0.008
testIndexOfLastSeparator0.004
testConcat0.004
testEquals0.005
testRemoveExtension0.005
testEqualsNormalized0.005
testGetPrefix0.003
testGetFullPathNoEndSeparator0.003
testGetPrefixLength0.004
testIsExtensionArray0.004
testIndexOfExtension0.004
testSeparatorsToSystem0.004

FilenameUtilsWildcardTestCase

testSplitOnTokens0.015
test_IO_2460.005
testMatch0.007
testMatchCaseSpecified0.007
testLocaleIndependence0.062
testMatch20.001
testMatchOnSystem0.001

FileSystemUtilsTestCase

testGetFreeSpaceWindows_String_EmptyMultiLineResponse0.02
testGetFreeSpaceWindows_String_StripDrive0.002
testGetFreeSpaceWindows_String_EmptyResponse0
testGetFreeSpaceOS_String_Windows0.001
testGetFreeSpaceUnix_String_LongResponse0.001
testGetFreeSpaceOS_String_Unix0
testGetFreeSpaceUnix_String_NormalResponseKbSolaris0.001
testGetFreeSpaceWindows_String_NoSuchDirectoryResponse0.001
testGetFreeSpaceOS_String_InitError0.001
testGetFreeSpaceUnix_String_EmptyPath0
testGetFreeSpace_String0.072
testGetFreeSpaceUnix_String_InvalidResponse10.003
testGetFreeSpaceUnix_String_InvalidResponse20.012
testGetFreeSpaceUnix_String_InvalidResponse30
testGetFreeSpaceUnix_String_InvalidResponse40
testGetFreeSpaceUnix_String_NormalResponseKbLinux0
testGetFreeSpaceUnix_String_EmptyResponse0.002
testGetFreeSpaceUnix_String_LongResponseKb0
testGetFreeSpaceWindows_String_EmptyPath0.002
testGetFreeSpaceUnix_String_NormalResponseFreeBSD0.001
testGetFreeSpaceUnix_String_NormalResponseLinux0.003
testGetFreeSpaceWindows_String_InvalidTextResponse0
testGetFreeSpaceOS_String_Other0
testGetFreeSpaceOS_String_NullPath0.001
testGetFreeSpaceWindows_String_ParseCommaFormatBytes0.002
testGetFreeSpaceUnix_String_NormalResponseKbFreeBSD0
testGetFreeSpaceWindows_String_quoted0.001
testGetFreeSpaceWindows_String_NormalResponse0.002

FileUtilsCleanDirectoryTestCase

testDeletesRegular0.036
testThrowsOnNullList0.004
testCleanEmpty0.004
testDeletesNested0.007
testThrowsOnCannotDeleteFile0.005

FileUtilsCleanSymlinksTestCase

testIdentifiesSymlinkDir0.021
testCleanDirWithParentSymlinks0.001
testCleanDirWithSymlinkFile0.002
testCleanDirWithASymlinkDir0.001
testStillClearsIfGivenDirectoryIsASymlink0.001
testCorrectlyIdentifySymlinkWithParentSymLink0.001
testIdentifiesSymlinkFile0.001

FileUtilsDirectoryContainsTestCase

testFileDoesNotExistBug0.035
testSameFile0.007
testDirectoryDoesNotExist0.007
testDirectoryDoesNotContainsDirectory0.011
testFileDoesNotExist0.006
testDirectoryDoesNotContainFile0.01
testCanonicalPath0.009
testDirectoryContainsDirectory0.009
testUnrealizedContainment0.008
testDirectoryContainsFile0.009

FileUtilsFileNewerTestCase

testIsFileNewerNoDate0.025
testIsFileNewerNoFile0.002
testIsFileNewer0.005
testIsFileNewerNoFileReference0.002
testIsFileNewerImaginaryFile0.003

FileUtilsListFilesTestCase

testListFiles0.059
testIterateFilesByExtension0.018
testListFilesByExtension0.016

FileUtilsTestCase

testCopyFile10.03
testCopyFile20.007
testChecksumOnDirectory0.004
testWriteLines_3arg_nullSeparator0.008
testChecksum0.006
testGetUserDirectoryPath0.005
testToFiles3a0.005
testChecksumCRC320.006
testWriteLines_3argsWithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.007
testCopyDirectoryToChild0.052
testContentEqualsIgnoreEOL0.027
testForceDeleteAFile10.006
testForceDeleteAFile20.005
testForceDeleteAFile30.003
testCopyToSelf0.007
testDeleteQuietlyForNull0.004
testToFile10.005
testToFile20.006
testToFile30.004
testToFile40.005
testToFile50.004
testToURLs10.005
testDeleteQuietlyNonExistent0.004
test_openInputStream_existsButIsDirectory0.007
testToFileUtf80.005
testCopyDirectoryToNonExistingDest0.019
testToFiles10.005
testToFiles20.005
testToFiles30.004
testToFiles40.006
testWriteByteArrayToFile0.007
testMoveFile_CopyDelete_Failed0.007
testWriteLines_5argsWithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.005
testWriteLines_4arg_Writer_nullData0.005
testMoveFile_Errors0.007
testWriteStringToFile_WithAppendOptionFalse_ShouldDeletePreviousFileLines0.008
test_openOutputStream_exists0.007
testListFilesWithDirs0.023
testWriteLines_3argsWithAppendOptionFalse_ShouldDeletePreviousFileLines0.007
testWriteLines_4argsWithAppendOptionFalse_ShouldDeletePreviousFileLines0.007
testIO2760.005
testIO3000.009
testWriteLines_5argsWithAppendOptionFalse_ShouldDeletePreviousFileLines0.009
testTouch0.018
testGetUserDirectory0.005
testChecksumDouble0.024
testToURLs3a0.006
testMoveFile_Rename0.006
testWriteByteArrayToFile_WithAppendOptionFalse_ShouldDeletePreviousFileLines0.006
testCopyDirectoryToDirectory_NonExistingDest0.018
testMoveDirectory_CopyDelete0.016
testGetFile_Parent0.005
test_openOutputStream_noParentNoFile0.006
testWriteWithEncoding_WithAppendOptionFalse_ShouldDeletePreviousFileLines0.005
testCopyFile2WithoutFileDatePreservation0.007
testMoveFile_CopyDelete0.006
testFileUtils0.007
testForceMkdir0.007
testCopyFile1ToDir0.007
testListFiles0.016
testMoveDirectoryToDirectory_Errors0.008
testCopyFile2ToDir0.006
testForceDeleteDir0.008
testGetFile0.004
testWriteByteArrayToFile_WithOffsetAndLength0.004
testReadLines0.007
testWriteStringToFileWithEncoding_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.006
testGetTempDirectoryPath0.004
test_openOutputStream_notExists0.006
testMoveDirectory_Errors0.009
testReadFileToStringWithEncoding0.005
testSizeOfAsBigInteger0.006
testCopyURLToFileWithTimeout0.012
test_openOutputStream_notExistsCannotCreate0.006
testForceMkdirParent0.004
testCopyDirectoryToItself0.008
testWriteStringToFileWithEncoding_WithAppendOptionFalse_ShouldDeletePreviousFileLines0.005
testWriteLines_4arg0.004
test_openOutputStream_noParentCreateFile0.005
testCopyFileToOutputStream0.008
testMoveDirectory_Rename0.034
testWrite_WithAppendOptionFalse_ShouldDeletePreviousFileLines0.005
testCopyDirectoryToGrandChild0.043
testWriteByteArrayToFile_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.006
testReadFileToByteArray0.005
testIsFileNewerOlder2.01
testByteCountToDisplaySizeLong0.008
testSizeOfDirectoryAsBigInteger0.014
testGetTempDirectory0.006
testWriteLines_4argsWithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.007
testMoveToDirectory0.036
testReadFileToStringWithDefaultEncoding0.005
testWriteStringToFile10.006
testWriteStringToFile20.006
testWriteStringToFile30.006
testWriteByteArrayToFile_WithOffsetAndLength_WithAppendOptionTrue_ShouldDeletePreviousFileLines0.007
testMoveToDirectory_Errors0.008
testSizeOfDirectory0.006
testDecodeUrlLenient0.005
testWriteCharSequence10.007
testWriteCharSequence20.01
testDecodeUrlNullSafe0.006
testChecksumOnNullFile0.005
testWriteLinesEncoding_WithAppendOptionFalse_ShouldDeletePreviousFileLines0.007
testCopyDirectoryToExistingDest0.016
testDeleteQuietlyDir0.006
testContentEquals0.019
testDecodeUrl0.005
test_openInputStream_notExists0.004
testWriteLines_4arg_nullSeparator0.006
testIterateFiles0.012
testCopyDirectoryFiltered0.023
testWriteWithEncoding_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.006
testByteCountToDisplaySizeBigInteger0.006
testCopyDirectoryErrors0.009
testWriteByteArrayToFile_WithOffsetAndLength_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.006
testChecksumOnNullChecksum0.005
testIterateFilesAndDirs0.009
testDeleteQuietlyFile0.005
testWriteStringToFile_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.005
test_openOutputStream_existsButIsDirectory0.005
testMoveDirectoryToDirectory0.032
testSizeOf0.006
testMoveFileToDirectory_Errors0.007
testCopyURLToFile0.008
testWriteLinesEncoding_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.006
test_openInputStream_exists0.005
testMoveFileToDirectory0.006
testCopyDirectoryPreserveDates0.028
testDecodeUrlEncodingUtf80.005
testWrite_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines0.007

FileUtilsWaitForTestCase

testWaitFor5.338

HexDumpTest

testDump0.064

AutoCloseInputStreamTest

testReadBuffer0.009
testReadBufferOffsetLength0
testClose0.001
testRead0

BOMInputStreamTest

testEmptyBufferWithoutBOM0.011
testReadTwiceWithoutBOM0.014
testReadXmlWithoutBOMUtf32Be0.032
testReadXmlWithoutBOMUtf32Le0.008
testReadWithoutBOM0.001
testClose0
testEmptyBufferWithBOM0
testSkipWithBOM0.001
testReadWithBOMUtf80.003
testReadEmpty0
testReadSmall0
testReadWithBOMInclude0.001
testLargeBufferWithBOM0.001
testSmallBufferWithoutBOM0
testLeadingNonBOMSingleRead0.001
testGetBOMFirstThenReadInclude0
testMarkResetBeforeReadWithoutBOM0
testSmallBufferWithBOM0
testGetBOMFirstThenRead0
testAvailableWithoutBOM0.007
testLeadingNonBOMBufferedRead0
testMarkResetAfterReadWithBOM0
testMarkResetBeforeReadWithBOM0
testReadWithMultipleBOM0
testSkipWithoutBOM0
testReadXmlWithBOMUtf16Be0.006
testReadXmlWithBOMUtf16Le0.01
testReadXmlWithBOMUtf32Be0.018
testReadXmlWithBOMUtf32Le0
testReadXmlWithBOMUcs20.004
testReadXmlWithBOMUcs40.019
skipped
testReadXmlWithBOMUtf80.008
testMarkResetAfterReadWithoutBOM0
testLargeBufferWithoutBOM0
testReadTwiceWithBOM0
testNoBoms0
testSupportCode0
testReadWithBOMUtf16Be0
testReadWithBOMUtf16Le0
testReadWithBOMUtf32Be0
testReadWithBOMUtf32Le0.005
testAvailableWithBOM0

BoundedInputStreamTest

testReadSingle0.01
testReadArray0.01

BrokenInputStreamTest

testClose0.009
testReset0
testRead0.001
testSkip0
testAvailable0.001

CharSequenceInputStreamTest

testIO_356_B10_D10_S0_UTF80.012
testLargeSingleByteRead_RequiredCharsets0.136
testIO_356_B10_D10_S1_UTF80.001
testIO_356_B10_D10_S2_UTF80
testLargeBufferedRead_UTF80.006
testIO_356_B10_D10_S0_UTF160
testSkip_UTF80.001
testLargeSingleByteRead_UTF80.015
testSkip_USASCII0
testIO_356_Loop_UTF80.01
testMarkSupported0
testReadZero_RequiredCharsets0.001
testLargeBufferedRead_RequiredCharsets0.028
testMarkReset_UTF80.001
testAvailable0.14
testSingleByteRead_RequiredCharsets0.001
testCharsetMismatchInfiniteLoop_RequiredCharsets0
testBufferedRead_UTF80.001
testReadZero_EmptyString0
testSingleByteRead_UTF160.001
testSingleByteRead_UTF80
testMarkReset_USASCII0.001
testIO_356_B10_D13_S0_UTF80
testIO_356_B10_D13_S1_UTF80.001
testSkip_RequiredCharsets0.002
skipped
testBufferedRead_RequiredCharset0.001
testBufferedRead_AvailableCharset0.026
testMarkReset_RequiredCharsets0.026
skipped
testIO_356_Loop_UTF160.01
testIO_356_B10_D20_S0_UTF80

CharSequenceReaderTest

testClose0.012
testMark0
testRead0
testSkip0.001
testMarkSupported0
testReadCharArrayPortion0.001
testReadCharArray0.001

ClassLoaderObjectInputStreamTest

testObject10.022
testObject20.003
testResolveProxyClass0.003
testPrimitiveLong0.001
testExpected0
testLong0.001

ClosedInputStreamTest

testRead0.011

CloseShieldInputStreamTest

testClose0.008

XmlStreamReaderUtilitiesCompatibilityTest

testContentTypeEncoding0.015
testTextXml0.001
testCalculateHttpEncoding0.008
testCalculateRawEncodingStandardUtf320.003
testCalculateHttpEncodingUtf320.002
testCalculateRawEncodingStandard0.002
testCalculateRawEncodingAdditonalUTF160.004
testCalculateRawEncodingAdditonalUTF320.001
testAppXml0.001
testCalculateRawEncodingNoBOM0.002
testContentTypeMime0.002

CountingInputStreamTest

testLargeFiles_IO841.92
testResetting0.001
testZeroLength10
testZeroLength20
testZeroLength30
testSkipping0
testEOF10
testEOF20
testEOF30
testCounting0

NullInputStreamTest

testReadByteArray0.012
testRead0.001
testSkip0.001
testEOFException0.001
testMarkNotSupported0
testMarkAndReset0.001

NullReaderTest

testRead0.012
testSkip0
testEOFException0
testMarkNotSupported0.001
testReadCharArray0
testMarkAndReset0.001

ProxyReaderTest

testNullCharArray0.009
testNullCharBuffer0.001

ReaderInputStreamTest

testLargeUTF8WithSingleByteRead0.052
testUTF8WithBufferedRead0.001
testUTF8WithSingleByteRead0
testReadZero0
testCharsetMismatchInfiniteLoop0.002
testUTF16WithSingleByteRead0.001
testReadZeroEmptyString0
testLargeUTF8WithBufferedRead0.008

ReversedLinesFileReaderTestParamBlockSize

testIsoFileDefaults[0]0.27
testUTF8FileCRBreaks[0]0.489
testUnsupportedEncodingUTF16[0]0.012
testEmptyFile[0]0
testFileSizeIsExactMultipleOfBlockSize[0]0
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[0]0.156
testUTF8FileWindowsBreaks[0]0.156
testUTF16BEFile[0]0.285
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[0]0.001
testUTF16LEFile[0]0.309
testShiftJISFile[0]0.004
testUnsupportedEncodingBig5[0]0.003
testUTF8File[0]0.147
testIsoFileDefaults[1]0.034
testUTF8FileCRBreaks[1]0.057
testUnsupportedEncodingUTF16[1]0.001
testEmptyFile[1]0
testFileSizeIsExactMultipleOfBlockSize[1]0
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[1]0.065
testUTF8FileWindowsBreaks[1]0.066
testUTF16BEFile[1]0.103
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[1]0.001
testUTF16LEFile[1]0.096
testShiftJISFile[1]0.002
testUnsupportedEncodingBig5[1]0.001
testUTF8File[1]0.053
testIsoFileDefaults[2]0.018
testUTF8FileCRBreaks[2]0.027
testUnsupportedEncodingUTF16[2]0
testEmptyFile[2]0
testFileSizeIsExactMultipleOfBlockSize[2]0.005
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[2]0.03
testUTF8FileWindowsBreaks[2]0.024
testUTF16BEFile[2]0.04
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[2]0.002
testUTF16LEFile[2]0.039
testShiftJISFile[2]0.001
testUnsupportedEncodingBig5[2]0.001
testUTF8File[2]0.043
testIsoFileDefaults[3]0
testUTF8FileCRBreaks[3]0.037
testUnsupportedEncodingUTF16[3]0.001
testEmptyFile[3]0.002
testFileSizeIsExactMultipleOfBlockSize[3]0
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[3]0.006
testUTF8FileWindowsBreaks[3]0.007
testUTF16BEFile[3]0.011
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[3]0
testUTF16LEFile[3]0.013
testShiftJISFile[3]0
testUnsupportedEncodingBig5[3]0
testUTF8File[3]0.008
testIsoFileDefaults[4]0.006
testUTF8FileCRBreaks[4]0.007
testUnsupportedEncodingUTF16[4]0.001
testEmptyFile[4]0.001
testFileSizeIsExactMultipleOfBlockSize[4]0.001
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[4]0.006
testUTF8FileWindowsBreaks[4]0.008
testUTF16BEFile[4]0.008
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[4]0.001
testUTF16LEFile[4]0.008
testShiftJISFile[4]0.001
testUnsupportedEncodingBig5[4]0
testUTF8File[4]0.006

ReversedLinesFileReaderTestParamFile

testDataIntegrityWithBufferedReader[0]0.023
testDataIntegrityWithBufferedReader[1]0.004
testDataIntegrityWithBufferedReader[2]0.051
testDataIntegrityWithBufferedReader[3]0.012
testDataIntegrityWithBufferedReader[4]0.015
testDataIntegrityWithBufferedReader[5]0.016
testDataIntegrityWithBufferedReader[6]0.009
testDataIntegrityWithBufferedReader[7]0.011
testDataIntegrityWithBufferedReader[8]0.193
testDataIntegrityWithBufferedReader[9]0.106
testDataIntegrityWithBufferedReader[10]0.06
testDataIntegrityWithBufferedReader[11]0.052
testDataIntegrityWithBufferedReader[12]0.011

ReversedLinesFileReaderTestSimple

testUnsupportedEncodingUTF160.029
testFileSizeIsExactMultipleOfBlockSize0.008
testUnsupportedEncodingBig50.004

SwappedDataInputStreamTest

testReadDouble0.014
testSkipBytes0.001
testReadBoolean0
testReadUnsignedByte0.001
testReadFloat0
testReadFully0.001
testReadShort0
testReadByte0
testReadChar0
testReadLine0
testReadLong0.001
testReadUnsignedShort0
testReadInt0
testReadUTF0

TaggedInputStreamTest

testBrokenStream0.066
testEmptyStream0
testOtherException0.001
testNormalStream0

TailerTest

testBufferBreak2.251
testStopWithNoFile1.202
testLongFile5.104
testIO3352.202
testMultiByteBreak2.72
testStopWithNoFileUsingExecutor1.204
testTailerEof1.509
testInterrupt2.1
testTailer5.408

TeeInputStreamTest

testSkip0.01
testReadToArrayWithOffset0.001
testMarkReset0
testReadEverything0
testReadNothing0
testReadOneByte0
testReadToArray0

XmlStreamReaderTest

testRawNoBomIso8859_10.081
testRawContent0.011
testHttp0.211
testRawNoBomCp10470.031
testRawBomUtf160.021
testRawBomUtf320.016
testRawNoBomUsAscii0.006
testEncodingAttributeXML0
testRawNoBomUtf16BE0.007
testRawNoBomUtf16LE0.008
testRawNoBomUtf32BE0.012
testRawNoBomUtf32LE0.014
testRawNoBomUtf80.005
testHttpContent0
testRawBomUtf80.018

XmlStreamReaderUtilitiesTest

testContentTypeEncoding0.015
testTextXml0.001
testCalculateHttpEncoding0.027
testCalculateRawEncodingStandardUtf320.012
testCalculateHttpEncodingUtf320.008
testCalculateRawEncodingStandard0.006
testCalculateRawEncodingAdditonalUTF160.003
testCalculateRawEncodingAdditonalUTF320.003
testAppXml0.001
testCalculateRawEncodingNoBOM0.002
testContentTypeMime0

IOCaseTestCase

test_checkCompare_case0.011
test_checkCompare_functionality0.001
test_forName0
test_checkStartsWith_case0.001
test_getName0
test_checkEndsWith_case0.001
test_checkStartsWith_functionality0
test_checkEquals_functionality0.001
test_serialization0.007
test_checkEquals_case0
test_checkIndexOf_functionality0.003
test_isCaseSensitive0
test_checkRegionMatches_functionality0.001
test_checkIndexOf_case0
test_checkRegionMatches_case0
test_toString0
test_checkEndsWith_functionality0.001

IOExceptionWithCauseTestCase

testIOExceptionStringThrowable0.008
testIOExceptionThrowable0.001

IOUtilsCopyTestCase

testCopy_readerToOutputStream_Encoding_nullEncoding0.009
testCopy_inputStreamToWriter_Encoding0.003
testCopy_readerToWriter_nullIn0
testCopy_readerToOutputStream_nullOut0
testCopy_inputStreamToOutputStream_nullIn0.001
testCopy_readerToWriter_IO841.08
testCopy_readerToOutputStream0
testCopy_inputStreamToWriter_nullOut0
testCopy_inputStreamToOutputStream_IO841.073
testCopy_inputStreamToWriter0.002
testCopy_inputStreamToOutputStreamWithBufferSize0.094
testCopy_inputStreamToOutputStream_nullOut0.001
testCopy_inputStreamToWriter_nullIn0
testCopy_readerToOutputStream_Encoding_nullIn0
testCopy_readerToWriter_nullOut0
testCopy_inputStreamToWriter_Encoding_nullEncoding0.053
testCopy_readerToOutputStream_Encoding_nullOut0
testCopy_inputStreamToOutputStream0
testCopy_inputStreamToWriter_Encoding_nullOut0
testCopy_readerToOutputStream_nullIn0
testCopy_readerToWriter0
testCopy_inputStreamToWriter_Encoding_nullIn0
testCopy_readerToOutputStream_Encoding0

IOUtilsTestCase

testToCharArray_Reader0.042
testToString_InputStream0.005
testContentEqualsIgnoreEOL0.004
testCopyLarge_FullLength0.004
testCloseQuietly_SelectorNull0.003
testCopy_String_Writer0.006
testToByteArray_InputStream_NegativeSize0.003
testToString_Reader0.003
testReadFully_InputStream_Offset0.003
testCopyLarge_CharExtraLength0.006
testSkip_ReadableByteChannel0.009
testSkipFully_Reader0.003
testToString_URL_CharsetNameNull0.004
testToInputStream_String0.007
testToByteArray_URI0.003
testToByteArray_URL0.003
testToString_URL_CharsetName0.003
testToByteArray_InputStream_SizeLong0.002
testToByteArray_InputStream_SizeZero0.002
testCloseQuietly_Socket0.005
testToString_ByteArray0.003
testToString_URI_CharsetNameNull0.002
testCopy_ByteArray_Writer0
testCopyLarge_NoSkip0
testToInputStream_CharSequence0.003
testSkip_InputStream0.001
testCloseQuietly_SelectorIOException0.002
testAsBufferedReader0.005
testToByteArray_InputStream0.006
testCopyLarge_CharFullLength0.003
testAsBufferedWriter0.002
testToString_URI_CharsetName0.003
testCloseQuietly_SocketIOException0.003
testSkipFully_ReadableByteChannel0.002
testToByteArray_InputStream_Size0.033
testCopyLarge_SkipInvalid0
testCopyLarge_CharNoSkip0
testCopy_ByteArray_OutputStream0
testSkip_FileReader0
testConstants0
testReadLines_Reader0
testAsBufferedOutputStream0.007
testAsBufferedNull0
testSkipFully_InputStream0
testCloseQuietly_SelectorTwice0.039
testStringToOutputStream0.001
testReadFully_Reader_Offset0.002
testCloseQuietly_ServerSocketIOException0.003
testCopyLarge_ExtraLength0.002
testCopyLarge_Skip0.002
testRead_ReadableByteChannel0.002
testToBufferedInputStream_InputStream0.006
testCloseQuietly_Selector0.013
testContentEquals_Reader_Reader0.002
testAsBufferedInputStream0.002
testReadFully_InputStream_ByteArray0.002
testToByteArray_Reader0.006
testToCharArray_InputStream0.005
testReadLines_InputStream0.003
testToByteArray_String0.002
testCopyLarge_CharSkip0.003
testReadFully_ReadableByteChannel0.002
testToByteArray_URLConnection0.002
testToByteArray_InputStream_SizeIllegal0.002
testToString_URI0.003
testToString_URL0.002
testReadLines_InputStream_String0.002
testCloseQuietly_ServerSocket0.003
testCloseQuietly_CloseableIOException0.003
testContentEquals_InputStream_InputStream0.002
testReadFully_Reader0.002
testToCharArray_InputStream_CharsetName0.005
testCopyLarge_CharSkipInvalid0.003

IOUtilsWriteTestCase

testWriteLines_Writer_nullSeparator0.007
testWrite_charArrayToWriter_Encoding_nullData0.001
testWrite_stringToOutputStream_nullData0
testWrite_charArrayToWriter_Encoding_nullStream0.001
testWrite_byteArrayToWriter_Encoding_nullData0.001
testWrite_charArrayToWriter0.001
testWrite_charArrayToOutputStream_Encoding_nullData0.001
testWrite_byteArrayToWriter_Encoding0.001
testWriteLines_OutputStream_Encoding_nullStream0
testWrite_charSequenceToOutputStream_nullStream0.001
testWrite_stringToWriter0.001
testWrite_charSequenceToOutputStream_Encoding_nullData0
testWrite_byteArrayToOutputStream_nullData0
testWriteLines_OutputStream_nullStream0
testWrite_charSequenceToOutputStream_nullEncoding0.002
testWriteLines_OutputStream_Encoding_nullData0
testWrite_charArrayToOutputStream_Encoding0.006
testWrite_byteArrayToWriter_Encoding_nullWriter0.002
testWrite_charSequenceToOutputStream0
testWrite_byteArrayToWriter_nullData0
testWrite_charArrayToOutputStream_nullStream0
testWrite_charSequenceToOutputStream_Encoding0.006
testWrite_charArrayToOutputStream_nullData0
testWrite_byteArrayToWriter_nullWriter0.001
testWrite_charSequenceToOutputStream_nullData0
testWrite_byteArrayToOutputStream0
testWrite_byteArrayToOutputStream_nullStream0.001
testWriteLines_Writer_nullStream0
testWrite_stringToOutputStream_nullEncoding0.001
testWrite_stringToOutputStream_Encoding_nullStream0.001
testWriteLines_OutputStream_Encoding_nullSeparator0.002
testWrite_byteArrayToWriter_Encoding_nullEncoding0
testWrite_charArrayToOutputStream0
testWriteLines_OutputStream_Encoding0
testWrite_stringToOutputStream_Encoding_nullData0.001
testWrite_stringToOutputStream_nullStream0
testWrite_charSequenceToWriter_Encoding_nullData0
testWrite_charSequenceToWriter_Encoding_nullStream0.001
testWriteLines_OutputStream_Encoding_nullEncoding0.002
testWrite_charArrayToOutputStream_nullEncoding0
testWriteLines_OutputStream_nullSeparator0
testWrite_stringToWriter_Encoding_nullStream0.001
testWrite_stringToWriter_Encoding_nullData0
testWriteLines_OutputStream_nullData0
testWrite_charSequenceToWriter0
testWrite_stringToOutputStream_Encoding0.004
testWrite_charArrayToOutputStream_Encoding_nullStream0
testWrite_charSequenceToOutputStream_Encoding_nullStream0.001
testWriteLines_Writer0
testWriteLines_Writer_nullData0.001
testWriteLines_OutputStream0
testWrite_stringToOutputStream0.001
testWrite_byteArrayToWriter0.001

LineIteratorTestCase

testThreeLines0.048
testTwoLines0.002
testOneLines0.004
testValidEncoding0.003
testNextLineOnlyDefaultEncoding0.004
testInvalidEncoding0.026
testFilteringBufferedReader0.006
testZeroLines0.005
testNextLineOnlyUtf8Encoding0.004
testMissingFile0.002
testNextWithException0.002
testNextLineOnlyNullEncoding0.003
testCloseEarly0.004
testFilteringFileReader0.004
testConstructor0.002
testNextOnly0.004

FileAlterationMonitorTestCase

testMonitor0.443
testThreadFactory0.203
testAddRemoveObservers0.003
testDefaultConstructor0.001

FileAlterationObserverTestCase

testAddRemoveListeners0.04
testToString0.005
testDirectory0.651
testFileCreate1.026
testFileDelete1.32
testFileUpdate1.424
testObserveSingleFile0.607

BrokenOutputStreamTest

testClose0.008
testFlush0
testWrite0.001

ByteArrayOutputStreamTestCase

testToInputStreamWithReset0.026
testToInputStream0.009
testStream0.002

ClosedOutputStreamTest

testRead0.011

CloseShieldOutputStreamTest

testClose0.011

CountingOutputStreamTest

testLargeFiles_IO841.614
testCounting0.001

DeferredFileOutputStreamTest

testTempFileAboveThresholdPrefixOnly0.075
testWriteToLarge0.009
testWriteToSmall0.001
testBelowThreshold0.001
testTempFileBelowThreshold0.001
testThresholdReached0.001
testTempFileError0
testAboveThreshold0.002
testAtThreshold0.001
testTempFileAboveThreshold0.002

FileWriterWithEncodingTest

testConstructor_File_encoding_badEncoding0.056
testConstructor_File_nullFile0.003
testConstructor_File_directory0.002
testSameEncoding0.011
testDifferentEncoding0.018
testConstructor_fileName_nullFile0.002

LockableFileWriterTest

testFileNotLocked0.031
testConstructor_File_encoding_badEncoding0.032
testConstructor_File_nullFile0
testConstructor_File_directory0
testAlternateLockDir0
testFileLocked0.001
testConstructor_fileName_nullFile0.001

NullOutputStreamTest

testNull0.011

NullWriterTest

testNull0.01

ProxyOutputStreamTest

testWrite0.009
testWriteNullBaSucceeds0

ProxyWriterTest

testWriteCharArray0.01
testNullCharArray0
testWriteCharArrayPartial0.001
testAppendCharSequence0
testWriteString0.001
testWriteStringPartial0
testNullString0.001
testNullCharSequencec0

StringBuilderWriterTest

testAppendCharSequencePortion0.007
testClose0.001
testWriteCharArray0.001
testWriteChar0
testAppendCharSequence0.001
testWriteString0
testAppendConstructCapacity0.001
testWriteCharArrayPortion0
testAppendChar0.001
testWriteStringPortion0
testAppendConstructNull0.001
testAppendConstructStringBuilder0

TaggedOutputStreamTest

testBrokenStream0.069
testOtherException0
testNormalStream0.002

TeeOutputStreamTest

testTee0.015
testCloseMainIOException0.002
testCloseBranchIOException0

WriterOutputStreamTest

testUTF16LEWithSingleByteWrite0.019
testFlush0.001
testLargeUTF8WithSingleByteWrite0.065
testUTF16WithSingleByteWrite0.001
testUTF16BEWithBufferedWrite0.001
testUTF16LEWithBufferedWrite0.001
testUTF16BEWithSingleByteWrite0.002
testUTF16WithBufferedWrite0
testLargeUTF8WithBufferedWrite0.005
testWriteImmediately0
testUTF8WithSingleByteWrite0
testUTF8WithBufferedWrite0

XmlStreamWriterTest

testLatin15Encoding0.019
testUTF16BEEncoding0.001
testEUC_JPEncoding0.015
testLatin1Encoding0
testEmpty0.001
testEBCDICEncoding0.001
testNoXmlHeader0
testDefaultEncoding0.001
testUTF16Encoding0.001
testUTF16LEEncoding0.001
testLatin7Encoding0.001
testUTF8Encoding0.001

TaggedIOExceptionTest

testTaggedIOException0.066

ThreadMonitorTestCase

testTimeout0.113
testNoTimeout0.2
testCompletedWithoutTimeout0.101

Failure Details

[Summary] [Package List] [Test Cases]


testReadXmlWithBOMUcs4
skipped: skipped
testSkip_RequiredCharsets
skipped: skipped
testMarkReset_RequiredCharsets
skipped: skipped