Apache Commons logo Commons IO

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
1316 0 0 4 99.696% 117.801

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.io.output 235 0 0 0 100% 8.748
org.apache.commons.io.monitor 11 0 0 0 100% 16.28
org.apache.commons.io.input.compatibility 11 0 0 0 100% 0.551
org.apache.commons.io.filefilter 58 0 0 0 100% 4.24
org.apache.commons.io.serialization 31 0 0 0 100% 1.692
org.apache.commons.io.comparator 64 0 0 0 100% 16.729
org.apache.commons.io.input 330 0 0 3 99.091% 43.301
org.apache.commons.io 576 0 0 1 99.826% 26.26

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

org.apache.commons.io.output

Class Tests Errors Failures Skipped Success Rate Time
AppendableOutputStreamTest 2 0 0 0 100% 0.278
BrokenOutputStreamTest 3 0 0 0 100% 0.4
ByteArrayOutputStreamTestCase 3 0 0 0 100% 0.508
ChunkedOutputStreamTest 3 0 0 0 100% 0.344
ChunkedWriterTest 3 0 0 0 100% 0.419
ClosedOutputStreamTest 1 0 0 0 100% 0.243
CloseShieldOutputStreamTest 1 0 0 0 100% 0.363
CountingOutputStreamTest 2 0 0 0 100% 0.53
DeferredFileOutputStreamTest 130 0 0 0 100% 0.983
FileWriterWithEncodingTest 12 0 0 0 100% 0.702
LockableFileWriterTest 7 0 0 0 100% 0.361
NullOutputStreamTest 1 0 0 0 100% 0.342
NullWriterTest 1 0 0 0 100% 0.311
ProxyOutputStreamTest 2 0 0 0 100% 0.331
ProxyWriterTest 21 0 0 0 100% 0.331
StringBuilderWriterTest 12 0 0 0 100% 0.533
TaggedOutputStreamTest 3 0 0 0 100% 0.262
TeeOutputStreamTest 3 0 0 0 100% 0.3
ThresholdingOutputStreamTest 1 0 0 0 100% 0.371
WriterOutputStreamTest 12 0 0 0 100% 0.521
XmlStreamWriterTest 12 0 0 0 100% 0.315

org.apache.commons.io.monitor

Class Tests Errors Failures Skipped Success Rate Time
FileAlterationMonitorTestCase 4 0 0 0 100% 1.58
FileAlterationObserverTestCase 7 0 0 0 100% 14.7

org.apache.commons.io.input.compatibility

Class Tests Errors Failures Skipped Success Rate Time
XmlStreamReaderUtilitiesCompatibilityTest 11 0 0 0 100% 0.551

org.apache.commons.io.filefilter

Class Tests Errors Failures Skipped Success Rate Time
AndFileFilterTestCase 5 0 0 0 100% 0.355
FileFilterTestCase 47 0 0 0 100% 2.851
OrFileFilterTestCase 5 0 0 0 100% 0.555
RegexFileFilterTestCase 1 0 0 0 100% 0.479

org.apache.commons.io.serialization

Class Tests Errors Failures Skipped Success Rate Time
FullClassNameMatcherTest 2 0 0 0 100% 0.32
MoreComplexObjectTest 3 0 0 0 100% 0.552
RegexpClassNameMatcherTest 5 0 0 0 100% 0.254
ValidatingObjectInputStreamTest 18 0 0 0 100% 0.299
WildcardClassNameMatcherTest 3 0 0 0 100% 0.267

org.apache.commons.io.comparator

Class Tests Errors Failures Skipped Success Rate Time
CompositeFileComparatorTest 10 0 0 0 100% 0.331
DefaultFileComparatorTest 7 0 0 0 100% 0.32
DirectoryFileComparatorTest 7 0 0 0 100% 0.495
ExtensionFileComparatorTest 8 0 0 0 100% 0.629
LastModifiedFileComparatorTest 7 0 0 0 100% 13.925
NameFileComparatorTest 8 0 0 0 100% 0.337
PathFileComparatorTest 8 0 0 0 100% 0.332
SizeFileComparatorTest 9 0 0 0 100% 0.36

org.apache.commons.io.input

Class Tests Errors Failures Skipped Success Rate Time
AutoCloseInputStreamTest 4 0 0 0 100% 0.266
BOMInputStreamTest 44 0 0 1 97.727% 0.39
BoundedInputStreamTest 2 0 0 0 100% 0.468
BoundedReaderTest 12 0 0 0 100% 0.307
BrokenInputStreamTest 5 0 0 0 100% 0.382
CharSequenceInputStreamTest 30 0 0 2 93.333% 0.975
CharSequenceReaderTest 7 0 0 0 100% 0.286
ClassLoaderObjectInputStreamTest 6 0 0 0 100% 0.283
ClosedInputStreamTest 1 0 0 0 100% 0.355
CloseShieldInputStreamTest 1 0 0 0 100% 0.252
CountingInputStreamTest 10 0 0 0 100% 0.587
InfiniteCircularInputStreamTest 2 0 0 0 100% 0.264
MessageDigestCalculatingInputStreamTest 1 0 0 0 100% 0.263
NullInputStreamTest 6 0 0 0 100% 0.578
NullReaderTest 6 0 0 0 100% 0.265
ObservableInputStreamTest 2 0 0 0 100% 0.641
ProxyReaderTest 2 0 0 0 100% 0.536
ReaderInputStreamTest 8 0 0 0 100% 0.368
ReversedLinesFileReaderTestParamBlockSize 85 0 0 0 100% 1.188
ReversedLinesFileReaderTestParamFile 17 0 0 0 100% 0.375
ReversedLinesFileReaderTestSimple 3 0 0 0 100% 0.724
SwappedDataInputStreamTest 14 0 0 0 100% 0.59
TaggedInputStreamTest 4 0 0 0 100% 0.25
TailerTest 10 0 0 0 100% 30.746
TeeInputStreamTest 7 0 0 0 100% 0.287
UnixLineEndingInputStreamTest 8 0 0 0 100% 0.318
WindowsLineEndingInputStreamTest 7 0 0 0 100% 0.315
XmlStreamReaderTest 15 0 0 0 100% 0.651
XmlStreamReaderUtilitiesTest 11 0 0 0 100% 0.391

org.apache.commons.io

Class Tests Errors Failures Skipped Success Rate Time
ByteOrderFactoryTest 2 0 0 0 100% 0.282
ByteOrderMarkTestCase 9 0 0 0 100% 0.384
CharsetsTestCase 8 0 0 0 100% 0.267
CopyUtilsTest 11 0 0 0 100% 0.248
DemuxTestCase 2 0 0 0 100% 0.604
DirectoryWalkerTestCase 15 0 0 0 100% 0.362
DirectoryWalkerTestCaseJava4 14 0 0 0 100% 0.324
EndianUtilsTest 22 0 0 0 100% 0.277
FileCleanerTestCase 9 0 0 0 100% 4.542
FileCleaningTrackerTestCase 9 0 0 0 100% 4.508
FileDeleteStrategyTestCase 5 0 0 0 100% 0.323
FilenameUtilsTestCase 37 0 0 0 100% 0.445
FilenameUtilsWildcardTestCase 7 0 0 0 100% 0.365
FileSystemUtilsTestCase 28 0 0 0 100% 0.285
FileUtilsCleanDirectoryTestCase 5 0 0 0 100% 0.451
FileUtilsCleanSymlinksTestCase 8 0 0 0 100% 0.371
FileUtilsDirectoryContainsTestCase 11 0 0 0 100% 0.325
FileUtilsFileNewerTestCase 5 0 0 0 100% 0.31
FileUtilsListFilesTestCase 3 0 0 0 100% 0.394
FileUtilsTestCase 142 0 0 1 99.296% 3.11
FileUtilsWaitForTestCase 2 0 0 0 100% 4.288
HexDumpTest 1 0 0 0 100% 0.279
IOCaseTestCase 17 0 0 0 100% 0.729
IOExceptionWithCauseTestCase 2 0 0 0 100% 0.082
IOUtilsCopyTestCase 23 0 0 0 100% 0.418
IOUtilsTestCase 106 0 0 0 100% 0.512
IOUtilsWriteTestCase 53 0 0 0 100% 0.323
LineIteratorTestCase 16 0 0 0 100% 0.384
TaggedIOExceptionTest 1 0 0 0 100% 0.336
ThreadMonitorTestCase 3 0 0 0 100% 0.732

Test Cases

[Summary] [Package List] [Test Cases]

ByteOrderFactoryTest

testParseLittle 0.224
testParseBig 0

ByteOrderMarkTestCase

errors 0.001
charsetName 0
testToString 0
get 0
testHashCode 0
constantCharsetNames 0.001
testEquals 0
testLength 0
getBytes 0

CharsetsTestCase

testUtf16 0.212
testUtf8 0.001
testUsAscii 0
testUtf16Be 0
testUtf16Le 0
testToCharset 0.001
testIso8859_1 0
testRequiredCharsets 0

CompositeFileComparatorTest

constructorArray_Null 0.228
constructorIterable_Null 0.003
constructorIterable_order 0.002
testSortListNull 0.002
testSortList 0.002
testReverseComparator 0.002
testComparator 0.002
testToString 0.002
testSortArrayNull 0.004
testSortArray 0.004

DefaultFileComparatorTest

testSortListNull 0.236
testSortList 0
testReverseComparator 0.001
testComparator 0
testToString 0.001
testSortArrayNull 0.001
testSortArray 0

DirectoryFileComparatorTest

testSortArray 0.338
testSortListNull 0.001
testSortList 0
testReverseComparator 0.001
testComparator 0
testToString 0
testSortArrayNull 0.001

ExtensionFileComparatorTest

testCaseSensitivity 0.494
testSortListNull 0.001
testSortList 0.002
testReverseComparator 0.001
testComparator 0.001
testToString 0.002
testSortArrayNull 0.001
testSortArray 0.001

LastModifiedFileComparatorTest

testSortListNull 1.739
testSortList 2.124
testReverseComparator 1.817
testComparator 2.121
testToString 2.121
testSortArrayNull 1.816
testSortArray 2.125

NameFileComparatorTest

testCaseSensitivity 0.247
testSortListNull 0.001
testSortList 0.001
testReverseComparator 0.001
testComparator 0
testToString 0
testSortArrayNull 0.001
testSortArray 0

PathFileComparatorTest

testCaseSensitivity 0.266
testSortListNull 0.001
testSortList 0.001
testReverseComparator 0.001
testComparator 0.001
testToString 0
testSortArrayNull 0.001
testSortArray 0.001

SizeFileComparatorTest

testCompareDirectorySizes 0.227
testNonexistantFile 0.002
testSortListNull 0.002
testSortList 0.003
testReverseComparator 0.002
testComparator 0.003
testToString 0.002
testSortArrayNull 0.002
testSortArray 0.002

CopyUtilsTest

testCopy_byteArrayToWriterWithEncoding 0.002
copy_stringToOutputStream 0.001
testCopy_readerToOutputStream 0.002
testCtor 0
copy_readerToWriter 0.001
copy_byteArrayToWriter 0
copy_byteArrayToOutputStream 0
copy_inputStreamToWriterWithEncoding 0
copy_inputStreamToWriter 0
testCopy_inputStreamToOutputStream 0
copy_stringToWriter 0.001

DemuxTestCase

testInputStream 0.429
testOutputStream 0.115

DirectoryWalkerTestCase

testFilterAndLimitA 0.002
testFilterAndLimitB 0.001
testFilterAndLimitC 0
testFilterAndLimitD 0.001
testHandleStartDirectoryFalse 0.001
testMissingStartDirectory 0
testFilterString 0.001
testMultiThreadCancel 0.007
testLimitToCurrent 0
testCancel 0.005
testFilter 0.002
testFilterDirAndFile1 0.002
testFilterDirAndFile2 0.007
testFilterDirAndFile3 0.005
testFilterDirAndFile4 0.006

DirectoryWalkerTestCaseJava4

testFilterAndLimitA 0.002
testFilterAndLimitB 0.001
testFilterAndLimitC 0
testFilterAndLimitD 0.001
testHandleStartDirectoryFalse 0.001
testMissingStartDirectory 0
testMultiThreadCancel 0.005
testLimitToCurrent 0
testCancel 0.004
testFilter 0.001
testFilterDirAndFile1 0.002
testFilterDirAndFile2 0.004
testFilterDirAndFile3 0.004
testFilterDirAndFile4 0.004

EndianUtilsTest

testReadSwappedFloat 0.208
testReadSwappedShort 0
testSymmetry 0.001
testReadSwappedUnsignedShort 0
testWriteSwappedLong 0
testCtor 0
testSwapInteger 0
testReadSwappedLong 0
testEOFException 0
testWriteSwappedFloat 0
testReadSwappedDouble 0
testSwapFloat 0
testWriteSwappedShort 0
testSwapShort 0.001
testSymmetryOfLong 0
testSwapLong 0.001
testReadSwappedUnsignedInteger 0
testWriteSwappedDouble 0
testWriteSwappedInteger 0
testUnsignedOverrun 0
testSwapDouble 0
testReadSwappedInteger 0

FileCleanerTestCase

testFileCleanerDirectory 0.829
testFileCleanerDirectory_ForceStrategy 0.529
testFileCleanerExitWhenFinished1 0.518
testFileCleanerExitWhenFinished2 1.021
testFileCleanerDirectory_NullStrategy 0.523
testFileCleanerFile 0.524
testFileCleanerNull 0.001
testFileCleanerExitWhenFinished_NoTrackAfter 0.001
testFileCleanerExitWhenFinishedFirst 0.516

FileCleaningTrackerTestCase

testFileCleanerDirectory 0.793
testFileCleanerDirectory_ForceStrategy 0.532
testFileCleanerExitWhenFinished1 0.532
testFileCleanerExitWhenFinished2 1.021
testFileCleanerDirectory_NullStrategy 0.524
testFileCleanerFile 0.518
testFileCleanerNull 0.001
testFileCleanerExitWhenFinished_NoTrackAfter 0.001
testFileCleanerExitWhenFinishedFirst 0.517

FileDeleteStrategyTestCase

testDeleteForce 0.247
testToString 0.001
testDeleteNormal 0.002
testDeleteNull 0.001
testDeleteQuietlyNormal 0.003

AndFileFilterTestCase

testAdd 0.222
testFilterBuiltUsingAdd 0.001
testNoFilters 0.001
testRemove 0
testFilterBuiltUsingConstructor 0.001

FileFilterTestCase

testFileFilterUtils_or 0.543
testMakeSVNAware 0.006
testMagicNumberFileFilterValidation 0.003
testNameFilter 0.001
testMagicNumberFileFilterString 0.027
testFilterArray 0.001
testMagicNumberFileFilterBytesOffset 0.006
testAnd 0.002
testNot 0.002
testDeprecatedWildcard 0.006
testEmpty 0.005
testFalse 0.001
testFiles 0.002
testTrue 0.001
testFileFilterUtils_and 0.002
testPrefixCaseInsensitive 0.005
testOr 0.001
testWildcard 0.004
testDirectory 0.001
testNameFilterNullListArgument 0.001
testFilterSet_fromArray 0.002
testFilterSet 0.001
testFilterSetNullParameters 0.001
testEnsureTestCoverage 0.001
testNameFilterNullArgument 0.002
testNullFilters 0.001
testCanRead 0.004
testMakeCVSAware 0.002
testMagicNumberFileFilterBytes 0.006
testMagicNumberFileFilterStringOffset 0.013
testDelegateFileFilter 0.002
testCanWrite 0.001
testNameFilterNullArrayArgument 0.001
testDelegation 0.001
testFilterListNullParameters 0.001
testFilterList_fromArray 0.001
testSizeFilter 0.005
testFilterArrayNullParameters 0.002
testMakeDirectoryOnly 0.002
testHidden 0.002
testMakeFileOnly 0.004
testFilterArray_fromList 0
testPrefix 0
testSuffix 0.004
testSuffixCaseInsensitive 0.001
testFilterList 0.001
testAgeFilter 2.012

OrFileFilterTestCase

testAdd 0.429
testFilterBuiltUsingAdd 0
testNoFilters 0
testRemove 0
testFilterBuiltUsingConstructor 0.001

RegexFileFilterTestCase

testRegex 0.362

FilenameUtilsTestCase

testGetPath_with_nullbyte 0.253
testGetFullPath 0.002
testIsExtensionCollection 0.002
testNormalizeUnixWin 0.001
testGetPathNoEndSeparator_with_null_byte 0.002
testSeparatorsToWindows 0.003
testGetBaseName_with_nullByte 0.002
testNormalizeNoEndSeparatorUnixWin 0.004
testGetName 0.002
testGetPath 0.003
testEqualsNormalizedError_IO_128 0.003
testNormalizeNoEndSeparator 0.004
testGetBaseName 0.003
testGetPathNoEndSeparator 0.002
testIsExtension 0.004
testEqualsNormalizedOnSystem 0.004
testEqualsOnSystem 0.003
testGetPrefix_with_nullbyte 0.002
testGetExtension 0.004
testGetFullPathNoEndSeparator_IO_248 0.004
testEquals_fullControl 0.002
testSeparatorsToUnix 0.003
testInjectionFailure 0.003
testNormalize 0.003
testIndexOfLastSeparator 0.002
testIsExtension_injection 0.002
testConcat 0.003
testEquals 0.002
testRemoveExtension 0.002
testNormalize_with_nullbytes 0.002
testEqualsNormalized 0.003
testGetPrefix 0.002
testGetFullPathNoEndSeparator 0.001
testGetPrefixLength 0.003
testIsExtensionArray 0.002
testIndexOfExtension 0.002
testSeparatorsToSystem 0.001

FilenameUtilsWildcardTestCase

testSplitOnTokens 0.281
test_IO_246 0.001
testMatch 0
testMatchCaseSpecified 0.001
testLocaleIndependence 0.019
testMatch2 0
testMatchOnSystem 0.001

FileSystemUtilsTestCase

testGetFreeSpaceWindows_String_EmptyMultiLineResponse 0.199
testGetFreeSpaceWindows_String_StripDrive 0
testGetFreeSpaceWindows_String_EmptyResponse 0.001
testGetFreeSpaceOS_String_Windows 0
testGetFreeSpaceUnix_String_LongResponse 0
testGetFreeSpaceOS_String_Unix 0
testGetFreeSpaceUnix_String_NormalResponseKbSolaris 0
testGetFreeSpaceWindows_String_NoSuchDirectoryResponse 0.001
testGetFreeSpaceOS_String_InitError 0
testGetFreeSpaceUnix_String_EmptyPath 0
testGetFreeSpace_String 0.015
testGetFreeSpaceUnix_String_InvalidResponse1 0
testGetFreeSpaceUnix_String_InvalidResponse2 0
testGetFreeSpaceUnix_String_InvalidResponse3 0
testGetFreeSpaceUnix_String_InvalidResponse4 0
testGetFreeSpaceUnix_String_NormalResponseKbLinux 0.001
testGetFreeSpaceUnix_String_EmptyResponse 0
testGetFreeSpaceUnix_String_LongResponseKb 0.001
testGetFreeSpaceWindows_String_EmptyPath 0.001
testGetFreeSpaceUnix_String_NormalResponseFreeBSD 0
testGetFreeSpaceUnix_String_NormalResponseLinux 0
testGetFreeSpaceWindows_String_InvalidTextResponse 0
testGetFreeSpaceOS_String_Other 0
testGetFreeSpaceOS_String_NullPath 0
testGetFreeSpaceWindows_String_ParseCommaFormatBytes 0.001
testGetFreeSpaceUnix_String_NormalResponseKbFreeBSD 0
testGetFreeSpaceWindows_String_quoted 0
testGetFreeSpaceWindows_String_NormalResponse 0.001

FileUtilsCleanDirectoryTestCase

testDeletesRegular 0.284
testThrowsOnNullList 0.058
testCleanEmpty 0.012
testDeletesNested 0.011
testThrowsOnCannotDeleteFile 0.025

FileUtilsCleanSymlinksTestCase

testIdentifiesSymlinkDir 0.241
testCleanDirWithParentSymlinks 0.011
testCleanDirWithSymlinkFile 0.006
testCleanDirWithASymlinkDir 0.009
testStillClearsIfGivenDirectoryIsASymlink 0.007
testIdentifiesBrokenSymlinkFile 0.007
testCorrectlyIdentifySymlinkWithParentSymLink 0.012
testIdentifiesSymlinkFile 0.009

FileUtilsDirectoryContainsTestCase

testFileDoesNotExistBug 0.215
testSameFile 0.002
testIO466 0.002
testDirectoryDoesNotExist 0.002
testDirectoryDoesNotContainsDirectory 0.005
testFileDoesNotExist 0.002
testDirectoryDoesNotContainFile 0.002
testCanonicalPath 0.002
testDirectoryContainsDirectory 0.002
testUnrealizedContainment 0.002
testDirectoryContainsFile 0.002

FileUtilsFileNewerTestCase

testIsFileNewerNoDate 0.224
testIsFileNewerNoFile 0.003
testIsFileNewer 0.002
testIsFileNewerNoFileReference 0.001
testIsFileNewerImaginaryFile 0.004

FileUtilsListFilesTestCase

testListFiles 0.298
testIterateFilesByExtension 0.012
testListFilesByExtension 0.008

FileUtilsTestCase

testCopyFile1 0.027
testCopyFile2 0.002
testCopyToDirectoryWithDirectory 0.008
testChecksumOnDirectory 0.003
testWriteLines_3arg_nullSeparator 0.015
testChecksum 0.003
testGetUserDirectoryPath 0.001
testCopyToDirectoryWithIterableSourceIsNull 0.003
testToFiles3a 0.003
testChecksumCRC32 0.005
testWriteLines_3argsWithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.002
testCopyDirectoryToChild 0.033
testContentEqualsIgnoreEOL 0.011
testForceDeleteAFile1 0.008
testForceDeleteAFile2 0.005
testForceDeleteAFile3 0.004
testCopyToSelf 0.002
testDeleteQuietlyForNull 0.003
testToFile1 0.001
testToFile2 0.007
testToFile3 0.002
testToFile4 0.001
testToFile5 0.002
testToURLs1 0.002
testDeleteQuietlyNonExistent 0.002
test_openInputStream_existsButIsDirectory 0.004
testToFileUtf8 0.001
testCopyDirectoryToNonExistingDest 0.007
testToFiles1 0.001
testToFiles2 0.002
testToFiles3 0.002
testToFiles4 0.002
testWriteByteArrayToFile 0.002
testMoveFile_CopyDelete_Failed 0.002
testWriteLines_5argsWithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.002
testWriteLines_4arg_Writer_nullData 0.002
testCopyToDirectoryWithFileSourceDoesNotExist 0.003
testMoveFile_Errors 0.003
testWriteStringToFile_WithAppendOptionFalse_ShouldDeletePreviousFileLines 0.002
test_openOutputStream_exists 0.003
testListFilesWithDirs 0.014
testWriteLines_3argsWithAppendOptionFalse_ShouldDeletePreviousFileLines 0.002
testWriteLines_4argsWithAppendOptionFalse_ShouldDeletePreviousFileLines 0.004
testIO276 0.001
testIO300 0.001
testWriteLines_5argsWithAppendOptionFalse_ShouldDeletePreviousFileLines 0.002
testTouch 0.007
testIncorrectOutputSize 0.003
testGetUserDirectory 0.001
testCopyToDirectoryWithFile 0.001
testChecksumDouble 0.003
testToURLs3a 0.001
testMoveFile_Rename 0.002
testCopyFileLarge 0
skipped
testWriteByteArrayToFile_WithAppendOptionFalse_ShouldDeletePreviousFileLines 0.002
testCopyDirectoryToDirectory_NonExistingDest 0.008
testMoveDirectory_CopyDelete 0.005
testGetFile_Parent 0.002
test_openOutputStream_noParentNoFile 0.002
testWriteWithEncoding_WithAppendOptionFalse_ShouldDeletePreviousFileLines 0.002
testCopyFile2WithoutFileDatePreservation 0.003
testMoveFile_CopyDelete 0.002
testFileUtils 0.003
testForceMkdir 0.002
testCopyFile1ToDir 0.003
testListFiles 0.004
testMoveDirectoryToDirectory_Errors 0.002
testCopyFile2ToDir 0.002
testForceDeleteDir 0.001
testGetFile 0.001
testWriteByteArrayToFile_WithOffsetAndLength 0.002
testReadLines 0.002
testWriteStringToFileWithEncoding_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.002
testCopyToDirectoryWithIterable 0.002
testGetTempDirectoryPath 0.002
test_openOutputStream_notExists 0.002
testMoveDirectory_Errors 0.003
testReadFileToStringWithEncoding 0.002
testCopyToDirectoryWithIterableSourceDoesNotExist 0.002
testSizeOfAsBigInteger 0.001
testCopyURLToFileWithTimeout 0.003
test_openOutputStream_notExistsCannotCreate 0.001
testForceMkdirParent 0.001
testCopyDirectoryToItself 0.002
testWriteStringToFileWithEncoding_WithAppendOptionFalse_ShouldDeletePreviousFileLines 0.003
testWriteLines_4arg 0.002
test_openOutputStream_noParentCreateFile 0.002
testCopyFileToOutputStream 0.006
testMoveDirectory_Rename 0.003
testWrite_WithAppendOptionFalse_ShouldDeletePreviousFileLines 0.002
testCopyDirectoryToGrandChild 0.018
testDeleteDirectoryWithNonDirectory 0.002
testWriteByteArrayToFile_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.002
testReadFileToByteArray 0.002
testIsFileNewerOlder 2.013
testByteCountToDisplaySizeLong 0.006
testSizeOfDirectoryAsBigInteger 0.027
testGetTempDirectory 0.008
testWriteLines_4argsWithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.003
testMoveToDirectory 0.003
testReadFileToStringWithDefaultEncoding 0.007
testCompareSizeOf 0.031
testWriteStringToFile1 0.003
testWriteStringToFile2 0.002
testWriteStringToFile3 0.002
testWriteByteArrayToFile_WithOffsetAndLength_WithAppendOptionTrue_ShouldDeletePreviousFileLines 0.007
testMoveToDirectory_Errors 0.007
testSizeOfDirectory 0.022
testDecodeUrlLenient 0.009
testWriteCharSequence1 0.002
testWriteCharSequence2 0.004
testDecodeUrlNullSafe 0.002
testChecksumOnNullFile 0.001
testWriteLinesEncoding_WithAppendOptionFalse_ShouldDeletePreviousFileLines 0.003
testCopyDirectoryToExistingDest 0.01
testDeleteQuietlyDir 0.002
testContentEquals 0.006
testDecodeUrl 0.001
test_openInputStream_notExists 0.002
testWriteLines_4arg_nullSeparator 0.002
testIterateFiles 0.009
testCopyDirectoryFiltered 0.014
testWriteWithEncoding_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.003
testByteCountToDisplaySizeBigInteger 0.002
testCopyDirectoryErrors 0.004
testWriteByteArrayToFile_WithOffsetAndLength_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.002
testChecksumOnNullChecksum 0.001
testIterateFilesAndDirs 0.002
testDeleteQuietlyFile 0.003
testWriteStringToFile_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.002
test_openOutputStream_existsButIsDirectory 0.003
testMoveDirectoryToDirectory 0.003
testSizeOf 0.002
testMoveFileToDirectory_Errors 0.001
testCopyURLToFile 0.005
testWriteLinesEncoding_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.002
testCopyToDirectoryWithFileSourceIsNull 0.001
test_openInputStream_exists 0.002
testMoveFileToDirectory 0.002
testCopyDirectoryPreserveDates 0.008
testDecodeUrlEncodingUtf8 0.001
testWrite_WithAppendOptionTrue_ShouldNotDeletePreviousFileLines 0.003

FileUtilsWaitForTestCase

testWaitFor 2.228
testWaitForInterrupted 2.006

HexDumpTest

testDump 0.22

AutoCloseInputStreamTest

testReadBuffer 0.204
testReadBufferOffsetLength 0
testClose 0
testRead 0

BOMInputStreamTest

testEmptyBufferWithoutBOM 0.224
testReadTwiceWithoutBOM 0
testReadXmlWithoutBOMUtf32Be 0.012
testReadXmlWithoutBOMUtf32Le 0.006
testReadWithoutBOM 0
testClose 0
testEmptyBufferWithBOM 0.001
testSkipWithBOM 0
testReadWithBOMUtf8 0.001
testReadEmpty 0
testReadSmall 0
testReadWithBOMInclude 0.001
testLargeBufferWithBOM 0
testSmallBufferWithoutBOM 0
testLeadingNonBOMSingleRead 0.001
testGetBOMFirstThenReadInclude 0.001
testMarkResetBeforeReadWithoutBOM 0
testSmallBufferWithBOM 0
skipReturnValueWithoutBom 0
testGetBOMFirstThenRead 0.001
testAvailableWithoutBOM 0
testLeadingNonBOMBufferedRead 0
testMarkResetAfterReadWithBOM 0.001
testMarkResetBeforeReadWithBOM 0
testReadWithMultipleBOM 0
testSkipWithoutBOM 0.001
testReadXmlWithBOMUtf16Be 0.005
testReadXmlWithBOMUtf16Le 0.003
testReadXmlWithBOMUtf32Be 0.006
testReadXmlWithBOMUtf32Le 0.007
skipReturnValueWithBom 0
testReadXmlWithBOMUcs2 0.007
testReadXmlWithBOMUcs4 0
skipped
testReadXmlWithBOMUtf8 0.003
testMarkResetAfterReadWithoutBOM 0
testLargeBufferWithoutBOM 0
testReadTwiceWithBOM 0.001
testNoBoms 0
testSupportCode 0
testReadWithBOMUtf16Be 0.001
testReadWithBOMUtf16Le 0
testReadWithBOMUtf32Be 0.001
testReadWithBOMUtf32Le 0
testAvailableWithBOM 0

BoundedInputStreamTest

testReadSingle 0.352
testReadArray 0.026

BoundedReaderTest

readTillEnd 0.24
markResetFromOffset1 0.001
markResetWithMarkOutsideBoundedReaderMaxAndInitialOffset 0
readMulti 0.001
markReset 0
markResetWithMarkOutsideBoundedReaderMax 0.001
closeTest 0.001
markResetMarkMore 0
readMultiWithOffset 0
shortReader 0
testReadBytesEOF 0.001
skipTest 0.001

BrokenInputStreamTest

testClose 0.278
testReset 0.001
testRead 0
testSkip 0
testAvailable 0

CharSequenceInputStreamTest

testIO_356_B10_D10_S0_UTF8 0.373
testLargeSingleByteRead_RequiredCharsets 0.138
testIO_356_B10_D10_S1_UTF8 0.002
testIO_356_B10_D10_S2_UTF8 0.001
testLargeBufferedRead_UTF8 0.006
testIO_356_B10_D10_S0_UTF16 0
testSkip_UTF8 0
testLargeSingleByteRead_UTF8 0.002
testSkip_USASCII 0
testIO_356_Loop_UTF8 0.013
testMarkSupported 0.001
testReadZero_RequiredCharsets 0.001
testLargeBufferedRead_RequiredCharsets 0.053
testMarkReset_UTF8 0
testAvailable 0.172
testSingleByteRead_RequiredCharsets 0
testCharsetMismatchInfiniteLoop_RequiredCharsets 0.001
testBufferedRead_UTF8 0
testReadZero_EmptyString 0.001
testSingleByteRead_UTF16 0
testSingleByteRead_UTF8 0
testMarkReset_USASCII 0
testIO_356_B10_D13_S0_UTF8 0
testIO_356_B10_D13_S1_UTF8 0.001
testSkip_RequiredCharsets 0
skipped
testBufferedRead_RequiredCharset 0
testBufferedRead_AvailableCharset 0.022
testMarkReset_RequiredCharsets 0
skipped
testIO_356_Loop_UTF16 0.006
testIO_356_B10_D20_S0_UTF8 0

CharSequenceReaderTest

testClose 0.222
testMark 0.001
testRead 0
testSkip 0
testMarkSupported 0
testReadCharArrayPortion 0
testReadCharArray 0

ClassLoaderObjectInputStreamTest

testObject1 0.204
testObject2 0.003
testResolveProxyClass 0.002
testPrimitiveLong 0
testExpected 0
testLong 0.001

ClosedInputStreamTest

testRead 0.287

CloseShieldInputStreamTest

testClose 0.189

XmlStreamReaderUtilitiesCompatibilityTest

testContentTypeEncoding 0.422
testTextXml 0.001
testCalculateHttpEncoding 0.004
testCalculateRawEncodingStandardUtf32 0.001
testCalculateHttpEncodingUtf32 0.001
testCalculateRawEncodingStandard 0.001
testCalculateRawEncodingAdditonalUTF16 0
testCalculateRawEncodingAdditonalUTF32 0
testAppXml 0.001
testCalculateRawEncodingNoBOM 0.001
testContentTypeMime 0

CountingInputStreamTest

testLargeFiles_IO84 0.512
testResetting 0.002
testZeroLength1 0.001
testZeroLength2 0.001
testZeroLength3 0
testSkipping 0.001
testEOF1 0.001
testEOF2 0
testEOF3 0
testCounting 0.001

InfiniteCircularInputStreamTest

should_cycle_bytes 0.192
should_handle_whole_range_of_bytes 0.001

MessageDigestCalculatingInputStreamTest

test 0.209

NullInputStreamTest

testReadByteArray 0.414
testRead 0
testSkip 0.001
testEOFException 0
testMarkNotSupported 0
testMarkAndReset 0.001

NullReaderTest

testRead 0.201
testSkip 0
testEOFException 0
testMarkNotSupported 0
testReadCharArray 0
testMarkAndReset 0

ObservableInputStreamTest

testDataByteCalled 0.45
testDataBytesCalled 0.005

ProxyReaderTest

testNullCharArray 0.427
testNullCharBuffer 0.001

ReaderInputStreamTest

testLargeUTF8WithSingleByteRead 0.302
testUTF8WithBufferedRead 0
testUTF8WithSingleByteRead 0
testReadZero 0
testCharsetMismatchInfiniteLoop 0.001
testUTF16WithSingleByteRead 0.001
testReadZeroEmptyString 0
testLargeUTF8WithBufferedRead 0.003

ReversedLinesFileReaderTestParamBlockSize

testIsoFileDefaults[BlockSize=1] 0.505
testUTF8FileCRBreaks[BlockSize=1] 0.043
testUnsupportedEncodingUTF16[BlockSize=1] 0.027
testGBK[BlockSize=1] 0.007
testEmptyFile[BlockSize=1] 0.001
testFileSizeIsExactMultipleOfBlockSize[BlockSize=1] 0
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=1] 0.019
testxWindows949File[BlockSize=1] 0.002
testxWindows950File[BlockSize=1] 0.004
testUTF8FileWindowsBreaks[BlockSize=1] 0.018
testUTF16BEFile[BlockSize=1] 0.023
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=1] 0.001
testUTF16LEFile[BlockSize=1] 0.023
testShiftJISFile[BlockSize=1] 0.003
testWindows31jFile[BlockSize=1] 0.001
testUnsupportedEncodingBig5[BlockSize=1] 0.003
testUTF8File[BlockSize=1] 0.011
testIsoFileDefaults[BlockSize=3] 0.004
testUTF8FileCRBreaks[BlockSize=3] 0.003
testUnsupportedEncodingUTF16[BlockSize=3] 0.001
testGBK[BlockSize=3] 0.003
testEmptyFile[BlockSize=3] 0.001
testFileSizeIsExactMultipleOfBlockSize[BlockSize=3] 0.001
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=3] 0.005
testxWindows949File[BlockSize=3] 0.002
testxWindows950File[BlockSize=3] 0.001
testUTF8FileWindowsBreaks[BlockSize=3] 0.013
testUTF16BEFile[BlockSize=3] 0.008
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=3] 0.001
testUTF16LEFile[BlockSize=3] 0.01
testShiftJISFile[BlockSize=3] 0.001
testWindows31jFile[BlockSize=3] 0
testUnsupportedEncodingBig5[BlockSize=3] 0
testUTF8File[BlockSize=3] 0.002
testIsoFileDefaults[BlockSize=8] 0.001
testUTF8FileCRBreaks[BlockSize=8] 0.001
testUnsupportedEncodingUTF16[BlockSize=8] 0.001
testGBK[BlockSize=8] 0
testEmptyFile[BlockSize=8] 0
testFileSizeIsExactMultipleOfBlockSize[BlockSize=8] 0
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=8] 0.002
testxWindows949File[BlockSize=8] 0
testxWindows950File[BlockSize=8] 0
testUTF8FileWindowsBreaks[BlockSize=8] 0.002
testUTF16BEFile[BlockSize=8] 0.006
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=8] 0.001
testUTF16LEFile[BlockSize=8] 0.008
testShiftJISFile[BlockSize=8] 0.001
testWindows31jFile[BlockSize=8] 0.001
testUnsupportedEncodingBig5[BlockSize=8] 0.002
testUTF8File[BlockSize=8] 0.003
testIsoFileDefaults[BlockSize=256] 0.001
testUTF8FileCRBreaks[BlockSize=256] 0.021
testUnsupportedEncodingUTF16[BlockSize=256] 0.003
testGBK[BlockSize=256] 0.002
testEmptyFile[BlockSize=256] 0.001
testFileSizeIsExactMultipleOfBlockSize[BlockSize=256] 0.001
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=256] 0.002
testxWindows949File[BlockSize=256] 0.004
testxWindows950File[BlockSize=256] 0.001
testUTF8FileWindowsBreaks[BlockSize=256] 0.007
testUTF16BEFile[BlockSize=256] 0.007
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=256] 0.004
testUTF16LEFile[BlockSize=256] 0.005
testShiftJISFile[BlockSize=256] 0.005
testWindows31jFile[BlockSize=256] 0.004
testUnsupportedEncodingBig5[BlockSize=256] 0
testUTF8File[BlockSize=256] 0.001
testIsoFileDefaults[BlockSize=4.096] 0.001
testUTF8FileCRBreaks[BlockSize=4.096] 0.001
testUnsupportedEncodingUTF16[BlockSize=4.096] 0.001
testGBK[BlockSize=4.096] 0.001
testEmptyFile[BlockSize=4.096] 0.001
testFileSizeIsExactMultipleOfBlockSize[BlockSize=4.096] 0
testUTF8FileWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=4.096] 0.001
testxWindows949File[BlockSize=4.096] 0
testxWindows950File[BlockSize=4.096] 0.001
testUTF8FileWindowsBreaks[BlockSize=4.096] 0.002
testUTF16BEFile[BlockSize=4.096] 0.002
testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines[BlockSize=4.096] 0.001
testUTF16LEFile[BlockSize=4.096] 0.001
testShiftJISFile[BlockSize=4.096] 0.002
testWindows31jFile[BlockSize=4.096] 0
testUnsupportedEncodingBig5[BlockSize=4.096] 0.001
testUTF8File[BlockSize=4.096] 0.001

ReversedLinesFileReaderTestParamFile

testDataIntegrityWithBufferedReader[test-file-20byteslength.bin, charset=ISO_8859_1] 0.188
testDataIntegrityWithBufferedReader[test-file-iso8859-1-shortlines-win-linebr.bin, charset=ISO_8859_1] 0.001
testDataIntegrityWithBufferedReader[test-file-iso8859-1.bin, charset=ISO_8859_1] 0.003
testDataIntegrityWithBufferedReader[test-file-shiftjis.bin, charset=Shift_JIS] 0.013
testDataIntegrityWithBufferedReader[test-file-utf16be.bin, charset=UTF-16BE] 0.006
testDataIntegrityWithBufferedReader[test-file-utf16le.bin, charset=UTF-16LE] 0.005
testDataIntegrityWithBufferedReader[test-file-utf8-cr-only.bin, charset=UTF-8] 0.002
testDataIntegrityWithBufferedReader[test-file-utf8-win-linebr.bin, charset=UTF-8] 0.002
testDataIntegrityWithBufferedReader[test-file-utf8-win-linebr.bin, charset=UTF-8] 0.032
testDataIntegrityWithBufferedReader[test-file-utf8-win-linebr.bin, charset=UTF-8] 0.005
testDataIntegrityWithBufferedReader[test-file-utf8-win-linebr.bin, charset=UTF-8] 0.003
testDataIntegrityWithBufferedReader[test-file-utf8-win-linebr.bin, charset=UTF-8] 0.002
testDataIntegrityWithBufferedReader[test-file-utf8.bin, charset=UTF-8] 0
testDataIntegrityWithBufferedReader[test-file-windows-31j.bin, charset=windows-31j] 0.001
testDataIntegrityWithBufferedReader[test-file-gbk.bin, charset=gbk] 0.002
testDataIntegrityWithBufferedReader[test-file-x-windows-949.bin, charset=x-windows-949] 0.002
testDataIntegrityWithBufferedReader[test-file-x-windows-950.bin, charset=x-windows-950] 0.002

ReversedLinesFileReaderTestSimple

testUnsupportedEncodingUTF16 0.548
testFileSizeIsExactMultipleOfBlockSize 0.006
testUnsupportedEncodingBig5 0.006

SwappedDataInputStreamTest

testReadDouble 0.409
testSkipBytes 0
testReadBoolean 0
testReadUnsignedByte 0.001
testReadFloat 0
testReadFully 0
testReadShort 0.001
testReadByte 0
testReadChar 0
testReadLine 0
testReadLong 0
testReadUnsignedShort 0
testReadInt 0
testReadUTF 0

TaggedInputStreamTest

testBrokenStream 0.193
testEmptyStream 0
testOtherException 0.001
testNormalStream 0

TailerTest

testBufferBreak 2.469
testStopWithNoFile 2.212
testLongFile 2.666
testIO335 2.718
testMultiByteBreak 2.711
testStopWithNoFileUsingExecutor 2.213
testTailerEof 2.411
testInterrupt 3.113
testTailerEndOfFileReached 3.725
testTailer 6.438

TeeInputStreamTest

testSkip 0.206
testReadToArrayWithOffset 0.001
testMarkReset 0
testReadEverything 0
testReadNothing 0.001
testReadOneByte 0
testReadToArray 0

UnixLineEndingInputStreamTest

simpleString 0.254
multipleBlankLines 0
retainLineFeed 0
twoLinesAtEnd 0
inTheMiddleOfTheLine 0
crOnlyEnsureAtEof 0
crAtEnd 0.001
crOnlyNotAtEof 0

WindowsLineEndingInputStreamTest

malformed 0.225
simpleString 0
multipleBlankLines 0.001
retainLineFeed 0
twoLinesAtEnd 0
inTheMiddleOfTheLine 0
linuxLinefeeds 0

XmlStreamReaderTest

testRawNoBomIso8859_1 0.295
testRawContent 0.009
testHttp 0.177
testRawNoBomCp1047 0.026
testRawBomUtf16 0.018
testRawBomUtf32 0.01
testRawNoBomUsAscii 0.004
testEncodingAttributeXML 0.001
testRawNoBomUtf16BE 0.005
testRawNoBomUtf16LE 0.005
testRawNoBomUtf32BE 0.006
testRawNoBomUtf32LE 0.008
testRawNoBomUtf8 0.004
testHttpContent 0
testRawBomUtf8 0.013

XmlStreamReaderUtilitiesTest

testContentTypeEncoding 0.283
testTextXml 0
testCalculateHttpEncoding 0.007
testCalculateRawEncodingStandardUtf32 0.004
testCalculateHttpEncodingUtf32 0.002
testCalculateRawEncodingStandard 0.004
testCalculateRawEncodingAdditonalUTF16 0.002
testCalculateRawEncodingAdditonalUTF32 0.002
testAppXml 0
testCalculateRawEncodingNoBOM 0.002
testContentTypeMime 0

IOCaseTestCase

test_checkCompare_case 0.555
test_checkCompare_functionality 0.002
test_forName 0
test_checkStartsWith_case 0
test_getName 0.001
test_checkEndsWith_case 0
test_checkStartsWith_functionality 0.001
test_checkEquals_functionality 0
test_serialization 0.003
test_checkEquals_case 0
test_checkIndexOf_functionality 0
test_isCaseSensitive 0.001
test_checkRegionMatches_functionality 0
test_checkIndexOf_case 0
test_checkRegionMatches_case 0
test_toString 0.001
test_checkEndsWith_functionality 0.001

IOExceptionWithCauseTestCase

testIOExceptionStringThrowable 0.001
testIOExceptionThrowable 0.001

IOUtilsCopyTestCase

testCopy_readerToOutputStream_Encoding_nullEncoding 0.009
testCopy_inputStreamToWriter_Encoding 0.001
testCopy_readerToWriter_nullIn 0
testCopy_readerToOutputStream_nullOut 0
testCopy_inputStreamToOutputStream_nullIn 0.001
testCopy_readerToWriter_IO84 0.028
testCopy_readerToOutputStream 0
testCopy_inputStreamToWriter_nullOut 0.001
testCopy_inputStreamToOutputStream_IO84 0.019
testCopy_inputStreamToWriter 0
testCopy_inputStreamToOutputStreamWithBufferSize 0.016
testCopy_inputStreamToOutputStream_nullOut 0
testCopy_inputStreamToWriter_nullIn 0
testCopy_readerToOutputStream_Encoding_nullIn 0.001
testCopy_readerToWriter_nullOut 0.001
testCopy_inputStreamToWriter_Encoding_nullEncoding 0
testCopy_readerToOutputStream_Encoding_nullOut 0
testCopy_inputStreamToOutputStream 0
testCopy_inputStreamToWriter_Encoding_nullOut 0
testCopy_readerToOutputStream_nullIn 0
testCopy_readerToWriter 0
testCopy_inputStreamToWriter_Encoding_nullIn 0
testCopy_readerToOutputStream_Encoding 0.008

IOUtilsTestCase

testToCharArray_Reader 0.209
testResourceToString_ExistingResourceAtSubPackage 0.003
testToString_InputStream 0.002
testResourceToString_NonExistingResource 0.002
testResourceToByteArray_ExistingResourceAtSubPackage 0.003
testContentEqualsIgnoreEOL 0.002
testResourceToString_NonExistingResource_WithClassLoader 0.002
testCopyLarge_FullLength 0.002
testCloseQuietly_SelectorNull 0.001
testCopy_String_Writer 0.003
testToByteArray_InputStream_NegativeSize 0.001
testToString_Reader 0.001
testReadFully_InputStream_Offset 0.001
testCopyLarge_CharExtraLength 0.001
testResourceToString_NullCharset 0.001
testSkip_ReadableByteChannel 0.007
testAsBufferedReaderWithBufferSize 0.001
testSkipFully_Reader 0.001
testToString_URL_CharsetNameNull 0.001
testResourceToString_ExistingResourceAtRootPackage 0.004
testToInputStream_String 0.001
testToByteArray_URI 0.001
testToByteArray_URL 0.001
testAsBufferedOutputStreamWithBufferSize 0.001
testToString_URL_CharsetName 0.001
testToByteArray_InputStream_SizeLong 0.001
testToByteArray_InputStream_SizeZero 0
testCloseQuietly_Socket 0.001
testToString_ByteArray 0.001
testToString_URI_CharsetNameNull 0.001
testCopy_ByteArray_Writer 0.002
testCopyLarge_NoSkip 0.001
testToInputStream_CharSequence 0.001
testSkip_InputStream 0.001
testCloseQuietly_SelectorIOException 0.001
testResourceToURL_Null 0.001
testAsBufferedWriterWithBufferSize 0.001
testResourceToURL_NonExistingResource 0.001
testAsBufferedReader 0.001
testToByteArray_InputStream 0.003
testCopyLarge_CharFullLength 0.001
testAsBufferedWriter 0.001
testResourceToURL_ExistingResourceAtRootPackage_WithClassLoader 0.001
testResourceToURL_NonExistingResource_WithClassLoader 0.001
testResourceToByteArray_NonExistingResource_WithClassLoader 0.001
testToString_URI_CharsetName 0.002
testCloseQuietly_SocketIOException 0.002
testSkipFully_ReadableByteChannel 0.001
testToByteArray_InputStream_Size 0.002
testCopyLarge_SkipInvalid 0.002
testResourceToByteArray_Null 0.001
testCopyLarge_CharNoSkip 0
testResourceToString_NullCharset_WithClassLoader 0.001
testResourceToByteArray_ExistingResourceAtRootPackage_WithClassLoader 0.002
testCopy_ByteArray_OutputStream 0.002
testResourceToByteArray_ExistingResourceAtSubPackage_WithClassLoader 0.001
testSkip_FileReader 0.001
testConstants 0.001
testReadFully_InputStream__ReturnByteArray 0.001
testReadLines_Reader 0.001
testAsBufferedOutputStream 0.002
testAsBufferedNull 0
testSkipFully_InputStream 0
testCloseQuietly_SelectorTwice 0.005
testStringToOutputStream 0.002
testReadFully_Reader_Offset 0.001
testCloseQuietly_ServerSocketIOException 0.001
testResourceToString_NullResource_WithClassLoader 0
testCopyLarge_ExtraLength 0
testCopyLarge_Skip 0.001
testRead_ReadableByteChannel 0.001
testToBufferedInputStream_InputStream 0.001
testCloseQuietly_Selector 0.002
testCloseQuietly_AllCloseableIOException 0.001
testContentEquals_Reader_Reader 0.001
testAsBufferedInputStreamWithBufferSize 0.002
testAsBufferedInputStream 0.001
testReadFully_InputStream_ByteArray 0
testToByteArray_Reader 0.001
testToCharArray_InputStream 0.002
testReadLines_InputStream 0.002
testToByteArray_String 0.001
testCopyLarge_CharSkip 0.001
testReadFully_ReadableByteChannel 0.001
testResourceToString_ExistingResourceAtSubPackage_WithClassLoader 0.001
testResourceToURL_ExistingResourceAtRootPackage 0
testResourceToURL_ExistingResourceAtSubPackage_WithClassLoader 0.001
testResourceToString_NullResource 0
testToByteArray_URLConnection 0.001
testToBufferedInputStreamWithBufferSize_InputStream 0.005
testResourceToURL_Null_WithClassLoader 0.001
testResourceToByteArray_Null_WithClassLoader 0
testToByteArray_InputStream_SizeIllegal 0.002
testToString_URI 0.001
testToString_URL 0.001
testResourceToURL_ExistingResourceAtSubPackage 0.001
testReadLines_InputStream_String 0.002
testCloseQuietly_ServerSocket 0
testResourceToString_ExistingResourceAtRootPackage_WithClassLoader 0.001
testCloseQuietly_CloseableIOException 0.002
testContentEquals_InputStream_InputStream 0
testReadFully_Reader 0.001
testToCharArray_InputStream_CharsetName 0.002
testResourceToByteArray_NonExistingResource 0.001
testResourceToByteArray_ExistingResourceAtRootPackage 0
testCopyLarge_CharSkipInvalid 0

IOUtilsWriteTestCase

testWriteLines_Writer_nullSeparator 0.009
testWrite_charArrayToWriter_Encoding_nullData 0
testWrite_stringToOutputStream_nullData 0.001
testWrite_charArrayToWriter_Encoding_nullStream 0.001
testWrite_byteArrayToWriter_Encoding_nullData 0.001
testWrite_charArrayToWriter 0.001
testWrite_charArrayToOutputStream_Encoding_nullData 0
testWrite_byteArrayToWriter_Encoding 0
testWriteLines_OutputStream_Encoding_nullStream 0
testWrite_charSequenceToOutputStream_nullStream 0.001
testWrite_stringToWriter 0.002
testWrite_charSequenceToOutputStream_Encoding_nullData 0
testWrite_byteArrayToOutputStream_nullData 0
testWriteLines_OutputStream_nullStream 0
testWrite_charSequenceToOutputStream_nullEncoding 0.001
testWriteLines_OutputStream_Encoding_nullData 0
testWrite_charArrayToOutputStream_Encoding 0.01
testWrite_byteArrayToWriter_Encoding_nullWriter 0
testWrite_charSequenceToOutputStream 0.001
testWrite_byteArrayToWriter_nullData 0
testWrite_charArrayToOutputStream_nullStream 0.001
testWrite_charSequenceToOutputStream_Encoding 0.009
testWrite_charArrayToOutputStream_nullData 0.001
testWrite_byteArrayToWriter_nullWriter 0
testWrite_charSequenceToOutputStream_nullData 0
testWrite_byteArrayToOutputStream 0
testWrite_byteArrayToOutputStream_nullStream 0
testWriteLines_Writer_nullStream 0
testWrite_stringToOutputStream_nullEncoding 0
testWrite_stringToOutputStream_Encoding_nullStream 0.001
testWriteLines_OutputStream_Encoding_nullSeparator 0.001
testWrite_byteArrayToWriter_Encoding_nullEncoding 0
testWrite_charArrayToOutputStream 0.001
testWriteLines_OutputStream_Encoding 0
testWrite_stringToOutputStream_Encoding_nullData 0
testWrite_stringToOutputStream_nullStream 0
testWrite_charSequenceToWriter_Encoding_nullData 0
testWrite_charSequenceToWriter_Encoding_nullStream 0
testWriteLines_OutputStream_Encoding_nullEncoding 0.001
testWrite_charArrayToOutputStream_nullEncoding 0
testWriteLines_OutputStream_nullSeparator 0
testWrite_stringToWriter_Encoding_nullStream 0
testWrite_stringToWriter_Encoding_nullData 0
testWriteLines_OutputStream_nullData 0
testWrite_charSequenceToWriter 0
testWrite_stringToOutputStream_Encoding 0.003
testWrite_charArrayToOutputStream_Encoding_nullStream 0
testWrite_charSequenceToOutputStream_Encoding_nullStream 0.001
testWriteLines_Writer 0
testWriteLines_Writer_nullData 0
testWriteLines_OutputStream 0
testWrite_stringToOutputStream 0
testWrite_byteArrayToWriter 0.001

LineIteratorTestCase

testThreeLines 0.27
testTwoLines 0.001
testOneLines 0.001
testValidEncoding 0.001
testNextLineOnlyDefaultEncoding 0.002
testInvalidEncoding 0.01
testFilteringBufferedReader 0.002
testZeroLines 0.001
testNextLineOnlyUtf8Encoding 0.001
testMissingFile 0
testNextWithException 0.001
testNextLineOnlyNullEncoding 0.001
testCloseEarly 0.001
testFilteringFileReader 0.001
testConstructor 0
testNextOnly 0.002

FileAlterationMonitorTestCase

testMonitor 1.271
testThreadFactory 0.208
testAddRemoveObservers 0.001
testDefaultConstructor 0

FileAlterationObserverTestCase

testAddRemoveListeners 0.229
testToString 0.001
testDirectory 1.152
testFileCreate 4.034
testFileDelete 4.029
testFileUpdate 3.927
testObserveSingleFile 1.247

AppendableOutputStreamTest

testWriteStringBuilder 0.201
testWriteInt 0

BrokenOutputStreamTest

testClose 0.27
testFlush 0
testWrite 0

ByteArrayOutputStreamTestCase

testToInputStreamWithReset 0.383
testToInputStream 0.002
testStream 0.001

ChunkedOutputStreamTest

write_four_chunks 0.27
negative_chunksize_not_permitted 0
defaultConstructor 0.001

ChunkedWriterTest

write_four_chunks 0.271
negative_chunksize_not_permitted 0.001
write_two_chunks_default_constructor 0

ClosedOutputStreamTest

testRead 0.189

CloseShieldOutputStreamTest

testClose 0.304

CountingOutputStreamTest

testLargeFiles_IO84 0.396
testCounting 0.001

DeferredFileOutputStreamTest

testTempFileAboveThresholdPrefixOnly[initialBufferSize = 1] 0.532
testWriteToLarge[initialBufferSize = 1] 0.025
testWriteToSmall[initialBufferSize = 1] 0.002
testBelowThreshold[initialBufferSize = 1] 0.001
testTempFileBelowThreshold[initialBufferSize = 1] 0
testThresholdReached[initialBufferSize = 1] 0.001
testTempFileError[initialBufferSize = 1] 0.001
testAboveThreshold[initialBufferSize = 1] 0.002
testAtThreshold[initialBufferSize = 1] 0
testTempFileAboveThreshold[initialBufferSize = 1] 0.002
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 2] 0.001
testWriteToLarge[initialBufferSize = 2] 0.002
testWriteToSmall[initialBufferSize = 2] 0.001
testBelowThreshold[initialBufferSize = 2] 0
testTempFileBelowThreshold[initialBufferSize = 2] 0
testThresholdReached[initialBufferSize = 2] 0.002
testTempFileError[initialBufferSize = 2] 0
testAboveThreshold[initialBufferSize = 2] 0.001
testAtThreshold[initialBufferSize = 2] 0
testTempFileAboveThreshold[initialBufferSize = 2] 0.002
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 4] 0.001
testWriteToLarge[initialBufferSize = 4] 0.002
testWriteToSmall[initialBufferSize = 4] 0.001
testBelowThreshold[initialBufferSize = 4] 0
testTempFileBelowThreshold[initialBufferSize = 4] 0
testThresholdReached[initialBufferSize = 4] 0.002
testTempFileError[initialBufferSize = 4] 0
testAboveThreshold[initialBufferSize = 4] 0.002
testAtThreshold[initialBufferSize = 4] 0
testTempFileAboveThreshold[initialBufferSize = 4] 0.004
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 8] 0.002
testWriteToLarge[initialBufferSize = 8] 0.001
testWriteToSmall[initialBufferSize = 8] 0.001
testBelowThreshold[initialBufferSize = 8] 0
testTempFileBelowThreshold[initialBufferSize = 8] 0.001
testThresholdReached[initialBufferSize = 8] 0.003
testTempFileError[initialBufferSize = 8] 0
testAboveThreshold[initialBufferSize = 8] 0.001
testAtThreshold[initialBufferSize = 8] 0
testTempFileAboveThreshold[initialBufferSize = 8] 0.001
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 16] 0.001
testWriteToLarge[initialBufferSize = 16] 0.003
testWriteToSmall[initialBufferSize = 16] 0
testBelowThreshold[initialBufferSize = 16] 0
testTempFileBelowThreshold[initialBufferSize = 16] 0.001
testThresholdReached[initialBufferSize = 16] 0.002
testTempFileError[initialBufferSize = 16] 0
testAboveThreshold[initialBufferSize = 16] 0.001
testAtThreshold[initialBufferSize = 16] 0
testTempFileAboveThreshold[initialBufferSize = 16] 0.001
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 32] 0.002
testWriteToLarge[initialBufferSize = 32] 0.001
testWriteToSmall[initialBufferSize = 32] 0
testBelowThreshold[initialBufferSize = 32] 0
testTempFileBelowThreshold[initialBufferSize = 32] 0
testThresholdReached[initialBufferSize = 32] 0.001
testTempFileError[initialBufferSize = 32] 0
testAboveThreshold[initialBufferSize = 32] 0
testAtThreshold[initialBufferSize = 32] 0
testTempFileAboveThreshold[initialBufferSize = 32] 0.001
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 64] 0.001
testWriteToLarge[initialBufferSize = 64] 0.001
testWriteToSmall[initialBufferSize = 64] 0.001
testBelowThreshold[initialBufferSize = 64] 0
testTempFileBelowThreshold[initialBufferSize = 64] 0.001
testThresholdReached[initialBufferSize = 64] 0.001
testTempFileError[initialBufferSize = 64] 0
testAboveThreshold[initialBufferSize = 64] 0.001
testAtThreshold[initialBufferSize = 64] 0
testTempFileAboveThreshold[initialBufferSize = 64] 0.001
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 128] 0.001
testWriteToLarge[initialBufferSize = 128] 0.001
testWriteToSmall[initialBufferSize = 128] 0
testBelowThreshold[initialBufferSize = 128] 0
testTempFileBelowThreshold[initialBufferSize = 128] 0
testThresholdReached[initialBufferSize = 128] 0.002
testTempFileError[initialBufferSize = 128] 0
testAboveThreshold[initialBufferSize = 128] 0.003
testAtThreshold[initialBufferSize = 128] 0
testTempFileAboveThreshold[initialBufferSize = 128] 0
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 256] 0.001
testWriteToLarge[initialBufferSize = 256] 0.001
testWriteToSmall[initialBufferSize = 256] 0
testBelowThreshold[initialBufferSize = 256] 0
testTempFileBelowThreshold[initialBufferSize = 256] 0
testThresholdReached[initialBufferSize = 256] 0.001
testTempFileError[initialBufferSize = 256] 0
testAboveThreshold[initialBufferSize = 256] 0.012
testAtThreshold[initialBufferSize = 256] 0.001
testTempFileAboveThreshold[initialBufferSize = 256] 0.007
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 512] 0.001
testWriteToLarge[initialBufferSize = 512] 0.001
testWriteToSmall[initialBufferSize = 512] 0
testBelowThreshold[initialBufferSize = 512] 0
testTempFileBelowThreshold[initialBufferSize = 512] 0.001
testThresholdReached[initialBufferSize = 512] 0
testTempFileError[initialBufferSize = 512] 0.001
testAboveThreshold[initialBufferSize = 512] 0
testAtThreshold[initialBufferSize = 512] 0
testTempFileAboveThreshold[initialBufferSize = 512] 0.001
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 1.024] 0.001
testWriteToLarge[initialBufferSize = 1.024] 0
testWriteToSmall[initialBufferSize = 1.024] 0
testBelowThreshold[initialBufferSize = 1.024] 0
testTempFileBelowThreshold[initialBufferSize = 1.024] 0
testThresholdReached[initialBufferSize = 1.024] 0.001
testTempFileError[initialBufferSize = 1.024] 0
testAboveThreshold[initialBufferSize = 1.024] 0.001
testAtThreshold[initialBufferSize = 1.024] 0
testTempFileAboveThreshold[initialBufferSize = 1.024] 0.001
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 2.048] 0
testWriteToLarge[initialBufferSize = 2.048] 0.006
testWriteToSmall[initialBufferSize = 2.048] 0.001
testBelowThreshold[initialBufferSize = 2.048] 0
testTempFileBelowThreshold[initialBufferSize = 2.048] 0
testThresholdReached[initialBufferSize = 2.048] 0.003
testTempFileError[initialBufferSize = 2.048] 0
testAboveThreshold[initialBufferSize = 2.048] 0.009
testAtThreshold[initialBufferSize = 2.048] 0
testTempFileAboveThreshold[initialBufferSize = 2.048] 0.001
testTempFileAboveThresholdPrefixOnly[initialBufferSize = 4.096] 0.002
testWriteToLarge[initialBufferSize = 4.096] 0.01
testWriteToSmall[initialBufferSize = 4.096] 0.001
testBelowThreshold[initialBufferSize = 4.096] 0
testTempFileBelowThreshold[initialBufferSize = 4.096] 0
testThresholdReached[initialBufferSize = 4.096] 0.002
testTempFileError[initialBufferSize = 4.096] 0
testAboveThreshold[initialBufferSize = 4.096] 0.001
testAtThreshold[initialBufferSize = 4.096] 0
testTempFileAboveThreshold[initialBufferSize = 4.096] 0.001

FileWriterWithEncodingTest

constructor_File_encoding_badEncoding 0.499
sameEncoding_string_constructor 0.006
sameEncoding_Charset_constructor 0.003
sameEncoding_null_Charset_constructor 0.001
constructor_File_nullFile 0.002
testDifferentEncoding 0.009
constructor_fileName_nullFile 0.001
sameEncoding_string_CharsetEncoder_constructor 0.001
sameEncoding_string_string_constructor 0.003
sameEncoding_CharsetEncoder_constructor 0.002
sameEncoding_string_Charset_constructor 0.002
constructor_File_directory 0.002

LockableFileWriterTest

testFileNotLocked 0.226
testConstructor_File_encoding_badEncoding 0.014
testConstructor_File_nullFile 0.001
testConstructor_File_directory 0.001
testAlternateLockDir 0.001
testFileLocked 0.001
testConstructor_fileName_nullFile 0.001

NullOutputStreamTest

testNull 0.269

NullWriterTest

testNull 0.205

ProxyOutputStreamTest

testWrite 0.222
testWriteNullBaSucceeds 0

ProxyWriterTest

appendChar 0.226
exceptions_in_append_charSequence_offset 0.001
appendCharSequence 0
exceptions_in_write_int 0
writeInt 0.001
exceptions_in_write_string 0
writeStringPartial 0
nullCharArray 0
exceptions_in_write_offset_char_array 0
nullCharSequencec 0
exceptions_in_write_char_array 0
exceptions_in_append_char 0.001
exceptions_in_close 0
exceptions_in_flush 0
writeCharArray 0
writeCharArrayPartial 0
exceptions_in_write_string_offset 0.001
writeString 0
exceptions_in_append_charSequence 0.001
appendCharSequence_with_offset 0
nullString 0.001

StringBuilderWriterTest

testAppendCharSequencePortion 0.389
testClose 0
testWriteCharArray 0
testWriteChar 0.001
testAppendCharSequence 0.001
testWriteString 0.001
testAppendConstructCapacity 0
testWriteCharArrayPortion 0
testAppendChar 0.001
testWriteStringPortion 0
testAppendConstructNull 0.001
testAppendConstructStringBuilder 0.005

TaggedOutputStreamTest

testBrokenStream 0.204
testOtherException 0
testNormalStream 0.002

TeeOutputStreamTest

testTee 0.241
testCloseMainIOException 0
testCloseBranchIOException 0.001

ThresholdingOutputStreamTest

testSetByteCount 0.299

WriterOutputStreamTest

testUTF16LEWithSingleByteWrite 0.426
testFlush 0.001
testLargeUTF8WithSingleByteWrite 0.025
testUTF16WithSingleByteWrite 0.001
testUTF16BEWithBufferedWrite 0.001
testUTF16LEWithBufferedWrite 0
testUTF16BEWithSingleByteWrite 0
testUTF16WithBufferedWrite 0
testLargeUTF8WithBufferedWrite 0.001
testWriteImmediately 0.004
testUTF8WithSingleByteWrite 0
testUTF8WithBufferedWrite 0

XmlStreamWriterTest

testLatin15Encoding 0.238
testUTF16BEEncoding 0.001
testEUC_JPEncoding 0.015
testLatin1Encoding 0.001
testEmpty 0
testEBCDICEncoding 0.001
testNoXmlHeader 0
testDefaultEncoding 0.001
testUTF16Encoding 0.001
testUTF16LEEncoding 0.001
testLatin7Encoding 0.001
testUTF8Encoding 0

FullClassNameMatcherTest

withNames 0.264
noNames 0.001

MoreComplexObjectTest

useBlacklist 0.365
trustJavaIncludingArrays 0.003
trustJavaLang 0.001

RegexpClassNameMatcherTest

testSimplePatternFromString 0.201
testOrPattern 0
testSimplePatternFromPattern 0.001
testNullPatternPattern 0
testNullStringPattern 0

ValidatingObjectInputStreamTest

exceptionIncludesClassName 0.211
ourTestClassAcceptedFirst 0.002
ourTestClassAcceptedFirstWildcard 0.004
ourTestClassAcceptedSecondWildcard 0.001
reject 0
customInvalidMethod 0.001
rejectOnly 0
rejectPattern 0
ourTestClassOnlyAccepted 0
rejectWildcard 0
noAccept 0
ourTestClassAcceptedSecond 0.001
rejectCustomMatcher 0
acceptWildcard 0
ourTestClassNotAccepted 0
acceptCustomMatcher 0.002
acceptPattern 0
rejectPrecedence 0.001

WildcardClassNameMatcherTest

starAndQuestionMark 0.206
noPattern 0
star 0.001

TaggedIOExceptionTest

testTaggedIOException 0.249

ThreadMonitorTestCase

testTimeout 0.339
testNoTimeout 0.209
testCompletedWithoutTimeout 0.105

Failure Details

[Summary] [Package List] [Test Cases]


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