Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
41 0 0 0 100% 0.931

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.shiro.crypto.hash 14 0 0 0 100% 0.835
org.apache.shiro.crypto.hash.format 27 0 0 0 100% 0.096

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

org.apache.shiro.crypto.hash

Class Tests Errors Failures Skipped Success Rate Time
DefaultHashServiceTest 11 0 0 0 100% 0.076
HashRequestBuilderTest 3 0 0 0 100% 0.759

org.apache.shiro.crypto.hash.format

Class Tests Errors Failures Skipped Success Rate Time
ProvidedHashFormatTest 2 0 0 0 100% 0.017
HexFormatTest 2 0 0 0 100% 0.008
Shiro1CryptFormatTest 9 0 0 0 100% 0.022
DefaultHashFormatFactoryTest 12 0 0 0 100% 0.046
Base64FormatTest 2 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

ProvidedHashFormatTest

testByIdWithNullArg 0.006
testDefaults 0.009

HexFormatTest

testFormatWithNullArgument 0.002
testFormat 0.005

Shiro1CryptFormatTest

testParseWithNonNumericIterations 0.005
testGetId 0.001
testParseWithInvalidId 0
testFormatDefault 0.009
testParseDefault 0.002
testParseWithoutSalt 0.001
testFormatWithNullArgument 0
testFormatWithoutSalt 0.001
testParseWithNullArgument 0

DefaultHashFormatFactoryTest

testNotFound 0.015
testDefaultInstance 0.008
testPresentFQCN 0.008
testSetFormatClassNames 0.004
testGetInstanceWithConfiguredFormatClassName 0
testSearchPackagesWithoutMatch 0.002
testWithInvalidHashFormatImplementation 0.001
testGetInstanceWithMcfFormattedString 0
testSearchPackages 0.004
testMcfFormattedArgument 0
testNullArg 0
testAbsentFQCN 0

Base64FormatTest

testFormatWithNullArgument 0.002
testFormat 0

DefaultHashServiceTest

testPrivateSaltChangesResult 0.025
testDifferentIterations 0.002
testOnlyRandomSaltHash 0.001
testDifferentRandomNumberGenerator 0.038
testBothSaltsRandomness 0
testWithRandomlyGeneratedSalt 0.001
testRequestWithEmptySource 0.001
testBothSaltsReturn 0.001
testDifferentAlgorithmName 0.001
testBothSaltsHash 0.001
testNullRequest 0

HashRequestBuilderTest

testDefault 0.181
testNullSource 0.002
testConfig 0.025