Summary

Tests Errors Failures Success Rate Time
73 0 0 100.00% 0.78

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

Package List

Package Tests Errors Failures Success Rate Time
org.apache.james.jdkim 37 0 0 100.00% 0.58
org.apache.james.jdkim.tagvalue 16 0 0 100.00% 0.10
org.apache.james.jdkim.canon 20 0 0 100.00% 0.09

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

org.apache.james.jdkim

Class Tests Errors Failures Success Rate Time
DKIMVerifierTest 1 0 0 100.00% 0.01
DNSPublicKeyRetrieverTest 5 0 0 100.00% 0.33
FileBasedTest 0 0 0 0.00% 0.02
MessageTest 7 0 0 100.00% 0.09
MultiplexingPublicKeyRecordRetrieverTest 4 0 0 100.00% 0.01
PerlDKIMTest 0 0 0 0.00% 0.00
PublicKeyRecordTest 10 0 0 100.00% 0.11
SignatureRecordImplTest 5 0 0 100.00% 0.00
SignatureRecordTest 5 0 0 100.00% 0.01

org.apache.james.jdkim.tagvalue

Class Tests Errors Failures Success Rate Time
TagValueTest 16 0 0 100.00% 0.10

org.apache.james.jdkim.canon

Class Tests Errors Failures Success Rate Time
CompoundOutputStreamTest 2 0 0 100.00% 0.01
DigestOutputStreamTest 3 0 0 100.00% 0.01
LimitedOutputStreamTest 3 0 0 100.00% 0.01
RelaxedBodyCanonicalizerTest 2 0 0 100.00% 0.01
SimpleBodyCanonicalizerTest 10 0 0 100.00% 0.05

Test Cases

CompoundOutputStreamTest

testSingleBytes 0.01
testChunks 0.00

DigestOutputStreamTest

testSingleBytes 0.01
testChunks 0.00
testChunksAndPassthrough 0.00

LimitedOutputStreamTest

testSingleBytes 0.00
testChunks 0.00
testExtensiveChunks 0.00

RelaxedBodyCanonicalizerTest

testSingleBytes 0.00
testChunks 0.00

SimpleBodyCanonicalizerTest

testSingleBytes 0.00
testChunks 0.00
testExtensiveChunks 0.02
testCRLFchunk 0.00
testProblematicChunks 0.00
testWrongCRSequences 0.01
testProblematicCRSequences 0.00
testWrongCRSequencesAdv 0.00
testProblematicEndingCRLFCR 0.00
testProblematicEndingCR 0.00

DKIMVerifierTest

testApply 0.00

DNSPublicKeyRetrieverTest

testConstructor 0.04
testWrongOption 0.02
testRetrieve 0.23
testKeyPair 0.01
testSignVerify 0.03

FileBasedTest

MessageTest

testMessage 0.08
testMessageInputStream 0.00
testGetBodyInputStream 0.00
testAddField 0.00
testGetFields 0.00
testGetFieldsString 0.00
testToString 0.00

MultiplexingPublicKeyRecordRetrieverTest

testMultiplexingPublicKeyRecordRetriever 0.00
testMultiplexingPublicKeyRecordRetrieverStringPublicKeyRecordRetriever 0.00
testAddRetriever 0.00
testAddRetrieverWithOptions 0.00

PerlDKIMTest

PublicKeyRecordTest

testValidate 0.00
testIsHashMethodSupported 0.00
testIsKeyTypeSupported 0.00
testGetAcceptableHashMethods 0.00
testGetAcceptableKeyTypes 0.00
testGetGranularityPattern 0.00
testGetPublicKey 0.09
testGetFlags 0.00
testIsTesting 0.00
testIsDenySubdomains 0.00

SignatureRecordImplTest

testQPDecode 0.00
testQPWhiteSpaces 0.00
testQPInvalid 0.00
testWrongHashSyntaxes 0.00
testExpired 0.00

SignatureRecordTest

testBasic 0.00
testWrongOrMissingVersion 0.00
testMissingRequired 0.00
testDomainMismatch 0.00
testMissingFrom 0.00

TagValueTest

testEmpty 0.09
testValid 0.00
testInvalidSyntax 0.00
testDoubleTag 0.00
testInvalidFWS 0.00
testInvalidFWSSyntax 0.00
testInvalidFWSStartSyntax 0.00
testInvalidFWSEndSyntax 0.00
testValidFWSTags 0.00
testNoTermination 0.00
testSingleValue 0.00
testWSPinValue 0.00
testFWSinValue 0.00
testNoEqual 0.00
testEndingWSP 0.00
testTagSetWithEquals 0.00