Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.649
org.apache.shiro.crypto.hash.format 27 0 0 0 100% 0.088

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.643
HashRequestBuilderTest 3 0 0 0 100% 0.006

org.apache.shiro.crypto.hash.format

Class Tests Errors Failures Skipped Success Rate Time
Base64FormatTest 2 0 0 0 100% 0.01
DefaultHashFormatFactoryTest 12 0 0 0 100% 0.053
HexFormatTest 2 0 0 0 100% 0.002
ProvidedHashFormatTest 2 0 0 0 100% 0.009
Shiro1CryptFormatTest 9 0 0 0 100% 0.014

Test Cases

[Summary] [Package List] [Test Cases]

DefaultHashServiceTest

testPrivateSaltChangesResult 0.165
testDifferentIterations 0.003
testOnlyRandomSaltHash 0.001
testDifferentRandomNumberGenerator 0.04
testBothSaltsRandomness 0.001
testWithRandomlyGeneratedSalt 0
testRequestWithEmptySource 0.003
testBothSaltsReturn 0.002
testDifferentAlgorithmName 0
testBothSaltsHash 0
testNullRequest 0.001

Base64FormatTest

testFormatWithNullArgument 0.003
testFormat 0.007

DefaultHashFormatFactoryTest

testNotFound 0.024
testDefaultInstance 0.006
testPresentFQCN 0.007
testSetFormatClassNames 0.005
testGetInstanceWithConfiguredFormatClassName 0.001
testSearchPackagesWithoutMatch 0.003
testWithInvalidHashFormatImplementation 0
testGetInstanceWithMcfFormattedString 0
testSearchPackages 0.004
testMcfFormattedArgument 0.001
testNullArg 0
testAbsentFQCN 0.001

HexFormatTest

testFormatWithNullArgument 0
testFormat 0.002

ProvidedHashFormatTest

testByIdWithNullArg 0.003
testDefaults 0.006

Shiro1CryptFormatTest

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

HashRequestBuilderTest

testDefault 0.002
testNullSource 0.001
testConfig 0.003