Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
70 0 0 0 100% 2.172 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.023 s
org.owasp.dependencycheck.utils 67 0 0 0 100% 1.142 s
org.owasp.dependencycheck.utils.scarf 1 0 0 0 100% 1.007 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.023 s

org.owasp.dependencycheck.utils

- Class Tests Errors Failures Skipped Success Rate Time
SettingsTest 21 0 0 0 100% 0.425 s
AutoCloseableInputSourceTest 4 0 0 0 100% 0.019 s
ExpectedObjectInputStreamTest 2 0 0 0 100% 0.019 s
FileUtilsTest 3 0 0 0 100% 0.041 s
JsonArrayFixingInputStreamTest 10 0 0 0 100% 0.055 s
XmlUtilsTest 11 0 0 0 100% 0.205 s
XmlUtilsTest$ExternalInterceptingEntityResolverTest 5 0 0 0 100% 0.006 s
ChecksumTest 11 0 0 0 100% 0.372 s

org.owasp.dependencycheck.utils.scarf

- Class Tests Errors Failures Skipped Success Rate Time
TelemetryCollectorTest 1 0 0 0 100% 1.007 s

Test Cases

[Summary] [Package List] [Test Cases]

SettingsTest

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

TelemetryCollectorTest

testSendTelemetry 1.005 s

AutoCloseableInputSourceTest

closeClosesCharacterStream 0.004 s
closeHandlesNullStreams 0.003 s
fromResourceSetsSystemId 0.004 s
closeClosesByteStream 0.002 s

ExpectedObjectInputStreamTest

testResolveClassException 0.014 s
testResolveClass 0.004 s

FileUtilsTest

testGetFileExtension 0.033 s
testDeleteWithSubDirectories 0.004 s
testDelete 0.002 s

FileContentSearchTest

testContains_File_List 0.016 s
testContains_File_String 0.005 s

JsonArrayFixingInputStreamTest

testRead_byteArr 0.001 s
testRead_RealSample 0.026 s
testClose 0 s
testSkip 0.001 s
testMarkSupported 0.001 s
testRead_0args 0.001 s
testRead_3args 0.002 s
testIsWhiteSpace 0.003 s
testAvailable 0.011 s
testRead_IOUtils 0.001 s

XmlUtilsTest

shouldFailValidationWhenNoRegisteredSchemas 0.040 s
shouldFailValidationWhenNoRelevantSchemas 0.010 s
shouldFailValidationWhenDocIsInvalidForSchema 0.009 s
shouldFailValidationWhenUnableToFindExternalSchema(Pair)[1] 0.030 s
shouldFailValidationWhenUnableToFindExternalSchema(Pair)[2] 0.006 s
shouldFailValidationWhenUnableToFindExternalSchema(Pair)[3] 0.005 s
shouldFailValidationWhenUnableToFindExternalSchema(Pair)[4] 0.005 s
shouldValidateXmlSuccessfullyAgainstSchema(String)[1] 0.005 s
shouldValidateXmlSuccessfullyAgainstSchema(String)[2] 0.005 s
shouldValidateXmlSuccessfullyAgainstSchema(String)[3] 0.005 s
shouldValidateXmlSuccessfullyAgainstSchema(String)[4] 0.004 s

XmlUtilsTest$ExternalInterceptingEntityResolverTest

shouldResolveWhenSystemIdIsLocalFileName 0.002 s
shouldResolveKnownSchemaUsingCanonicalHttps 0.001 s
shouldResolveKnownSchemaUsingLegacyHttps 0.001 s
shouldReturnNullForUnknownSystemId 0.001 s
shouldReturnNullWhenSystemIdIsNull 0.001 s

ChecksumTest

testGetChecksum_NoSuchAlgorithm 0.314 s
testGetChecksum_String_byteArr 0.003 s
testGetChecksum_String_File 0.001 s
testGetMD5Checksum 0.001 s
testGetSHA1Checksum_File 0.001 s
testGetChecksum_FileNotFound 0.001 s
testGetSHA1Checksum_String 0.001 s
testGetMD5Checksum_File 0.002 s
testGetHex 0.003 s
testGetSHA1Checksum 0.001 s
testGetMD5Checksum_String 0.001 s