Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
49 0 0 0 100% 0.940 s

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.owasp.dependencycheck.utils.search 2 0 0 0 100% 0.006 s
org.owasp.dependencycheck.utils 47 0 0 0 100% 0.934 s

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

org.owasp.dependencycheck.utils.search

- Class Tests Errors Failures Skipped Success Rate Time
FileContentSearchTest 2 0 0 0 100% 0.006 s

org.owasp.dependencycheck.utils

- Class Tests Errors Failures Skipped Success Rate Time
SettingsTest 21 0 0 0 100% 0.069 s
ChecksumTest 11 0 0 0 100% 0.013 s
JsonArrayFixingInputStreamTest 10 0 0 0 100% 0.046 s
ExpectedObjectInputStreamTest 2 0 0 0 100% 0.003 s
FileUtilsTest 3 0 0 0 100% 0.803 s

Test Cases

[Summary] [Package List] [Test Cases]

SettingsTest

testGetArrayFromADelimitedString 0 s
testSetStringIfNotNull 0 s
testSetStringIfNotEmpty 0 s
testMergeProperties_String 0 s
testGetDataFile 0 s
testGetLong 0 s
testGetBoolean 0 s
testGetIntDefault 0 s
testRemoveProperty 0 s
testGetTempDirectory 0 s
testSetArrayNotEmptyIgnoresAnNullArray 0 s
testSetArrayNotEmptyWithList 0.047 s
testSetString 0.003 s
testGetInt 0.001 s
testGetArrayWhereThePropertyIsNotSet 0 s
testGetString_String 0.001 s
testGetString 0 s
testGetConnectionString 0 s
testSetArrayNotEmptyIgnoresAnEmptyArray 0 s
testGetString_String_String 0.002 s
testMaskedKeys 0 s

ChecksumTest

testGetChecksum_NoSuchAlgorithm 0.005 s
testGetChecksum_String_byteArr 0 s
testGetChecksum_String_File 0 s
testGetMD5Checksum 0 s
testGetSHA1Checksum_File 0 s
testGetChecksum_FileNotFound 0.002 s
testGetSHA1Checksum_String 0 s
testGetMD5Checksum_File 0 s
testGetHex 0 s
testGetSHA1Checksum 0 s
testGetMD5Checksum_String 0 s

FileContentSearchTest

testContains_File_List 0.005 s
testContains_File_String 0 s

JsonArrayFixingInputStreamTest

testRead_byteArr 0 s
testRead_RealSample 0.024 s
testClose 0 s
testSkip 0 s
testMarkSupported 0 s
testRead_0args 0 s
testRead_3args 0.003 s
testIsWhiteSpace 0 s
testAvailable 0.013 s
testRead_IOUtils 0.001 s

ExpectedObjectInputStreamTest

testResolveClassException 0 s
testResolveClass 0 s

FileUtilsTest

testGetFileExtension 0.676 s
testDeleteWithSubDirectories 0.035 s
testDelete 0.005 s