Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
156 0 0 0 100% 4.696

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
test.unit.be.fedict.trust 125 0 0 0 100% 4.278
test.unit.be.fedict.trust.constraints 31 0 0 0 100% 0.418

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

test.unit.be.fedict.trust

Class Tests Errors Failures Skipped Success Rate Time
TrustValidatorTest 22 0 0 0 100% 0.371
CachedCrlRepositoryTest 6 0 0 0 100% 0.104
ScenarioTest 24 0 0 0 100% 1.008
BelgianTrustValidatorFactoryTest 8 0 0 0 100% 0.021
CrlTrustLinkerTest 14 0 0 0 100% 0.438
OcspTrustLinkerTest 13 0 0 0 100% 0.342
OfflineCrlRepositoryTest 2 0 0 0 100% 0.807
MemoryCertificateRepositoryTest 3 0 0 0 100% 0.041
PublicKeyTrustLinkerTest 13 0 0 0 100% 0.416
OnlineCrlRepositoryTest 4 0 0 0 100% 0.055
OfflineOcspRepositoryTest 2 0 0 0 100% 0.074
ExpiredCertificateTest 3 0 0 0 100% 0.064
OnlineOcspRepositoryTest 6 0 0 0 100% 0.532
NetworkConfigTest 1 0 0 0 100% 0.001
FallbackTrustLinkerTest 4 0 0 0 100% 0.004

test.unit.be.fedict.trust.constraints

Class Tests Errors Failures Skipped Success Rate Time
KeyUsageCertificateConstraintTest 13 0 0 0 100% 0.164
TSACertificateConstraintTest 2 0 0 0 100% 0.041
QCStatementsCertificateConstraintTest 6 0 0 0 100% 0.068
EndEntityCertificateConstraintTest 3 0 0 0 100% 0.065
DistinguishedNameCertificateConstraintTest 2 0 0 0 100% 0.017
CertificatePoliciesCertificateConstraintTest 3 0 0 0 100% 0.045
CodeSigningCertificateConstraintTest 2 0 0 0 100% 0.018

Test Cases

[Summary] [Package List] [Test Cases]

TrustValidatorTest

historicalTrustExpiredCertificate 0.01
testTrustLinkerExplodes 0.022
unknownTrustLinkFails 0.018
notSelfSignedNotTrusted 0.013
claimedSelfSignedNotTrusted 0.027
emptyCertPathFails 0.001
trustLinkThreeCertificates 0.038
trustKnownCertificateSHA256WithRSA 0.01
doNotTrustUnknownCertificate 0.016
oneTrustLinkerNoFails 0.019
doNotTrustExpiredCertificate 0.016
trustLinkMD5Certificate 0.015
emptyNullCertFails 0
trustInvalidCertificateConstraint 0.02
createInstance 0
trustKnownCertificate 0.014
noTrustLinkFails 0.017
trustLink 0.023
trustWithCertificateConstraint 0.014
trustMD5CertificateAllowedViaAlgorithmPolicy 0.024
noTrustLinkerFails 0.016
trustLinkerRevocationFails 0.029

KeyUsageCertificateConstraintTest

testDigitalSignatureNoNonRepudiationKeyUsage 0.019
testFailingOnUnexpectedKeyUsageCrlSign 0.009
testFailingOnUnexpectedKeyUsageKeyAgreement 0.008
testFailingOnFalseNonRepudiationFilter 0.009
testFailingOnUnexpectedKeyUsageKeyCertSign 0.025
testFailingOnUnexpectedKeyUsageEncypherOnly 0.009
testFailingOnTrueNonRepudiationFilter 0.008
testFailingOnUnexpectedKeyUsageDataEncipherment 0.018
testDigitalSignatureKeyUsage 0.008
testFailingOnUnexpectedKeyUsageKeyEncipherment 0.011
testNoKeyUsage 0.008
testFailingOnMissingKeyUsage 0.014
testFailingOnUnexpectedKeyUsageDecypherOnly 0.012

CachedCrlRepositoryTest

emptyCache 0.027
cacheRefreshing 0.025
testFailingCrlNotCached 0.013
cacheBeingUsed 0.011
cacheExpiredCacheValidationDateRefreshing 0.011
testEvictCRLCache 0.011

ScenarioTest

testReissueOCSP 0.148
testRevocation 0.043
testExpiredCRL 0.037
testRevocationOCSP 0.037
testECCSigningCertificate 0.067
testExpiredRootCA 0.012
testFailingOCSPResponder 0.055
testTwoCAsOCSP 0.029
testTwoCAs_ECC 0.135
testExpiredOCSP 0.044
testTwoCAsOCSPResponderCert 0.04
testTwoCAsExpired 0.03
testFailingCRL 0.028
testFailingOCSPClock 0.046
testUntrustedRoot 0.011
testReissueCRL 0.059
testTwoCAsOCSP_ECC 0.032
testRootCA_SHA256withRSA 0.012
testRootCA_ECC 0.01
testTwoCAsOCSPResponderCert_ECC 0.033
testRootCA 0.011
testNoProxy 0.039
testTwoCAs 0.025
testTSA_ECC 0.013

BelgianTrustValidatorFactoryTest

testCreateTrustValidatorNoNetworkConfig 0.004
testCreateTrustValidatorNoNetworkConfigNoExternalTrustLinker 0.002
testCreateNonRepudiationTrustValidatorNoNetworkConfig 0.003
testCreateTSATrustValidator 0.006
testCreateNationalRegistryTrustValidatorNoNetworkConfig 0.001
testCreateTrustValidator 0.002
testCreateNonRepudiationTrustValidatorNoNetworkConfigNoExternalTrustLinker 0.001
testCreateTrustValidatorNoNetworkConfigNoExternalTrustLinkerNoRepo 0.001

TSACertificateConstraintTest

testValidTSAConstraint 0.014
testInvalidTSAConstraint 0.025

CrlTrustLinkerTest

revokedCertificate 0.032
oldCrl 0.028
emptyCrlPasses 0.035
noEntryInCrlRepository 0.028
noCrlUriInCertificate 0.023
crlMD5Signature 0.043
crlMissingCRLSignKeyUsage 0.042
crlNotSignedByRoot 0.034
crlNotIssuedByRoot 0.023
crlMissingKeyUsage 0.025
invalidCrlUriInCertificate 0.035
tooFreshCrl 0.031
testNullX509CRL 0.029
futureRevokedCertificate 0.026

OcspTrustLinkerTest

noOcspResponseInRepository 0.015
noOcspUriInCertificate 0.018
validDedicatedAuthorizedOcspResponse 0.036
validOcspResponse 0.019
revokedOcsp 0.038
ocspNotFresh 0.017
ocspResponseMD5Signature 0.028
invalidDedicatedAuthorizedOcspResponse 0.032
ocspResponder 0.022
ocspResponseWronglySigned 0.038
rootCAIssuesOcspResponseNoCertInResponse 0.034
rootCAIssuesOcspResponseRootCACertInResponse 0.015
wrongOcspResponse 0.024

QCStatementsCertificateConstraintTest

testQCComplianceQcSSCDMatch 0.013
testNoQCStatements 0.018
testQCComplianceMisMatch 0.007
testNoQCComplianceNeeded 0.01
testQcSSCD 0.006
testQCComplianceMatch 0.012

OfflineCrlRepositoryTest

testCrlFound 0.622
testCrlNotFound 0.035

MemoryCertificateRepositoryTest

trustPointFound 0.014
trustPointFoundByDifferentCryptoProvider 0.019
trustPointNotFound 0.007

EndEntityCertificateConstraintTest

testEndEntityMisMatch 0.026
testEndEntityMatch 0.025
testEmptyEndEntities 0.013

PublicKeyTrustLinkerTest

testCACertificateNoSKID 0.035
testChildNotAllowToBeCA 0.028
testNoChildFails 0.034
testChildCACertificateNoAKIDNotSelfSigned 0.033
testNoCaFlagFails 0.058
testNoCaFlagFailsNotOnRootCAs 0.019
testExpiredCertificate 0.024
testAKIDMisMatchSKID 0.027
testNoCaFlagFails2 0.029
testNoCaFlagFails3 0.022
testCertificateNotYetValid 0.024
testHasTrustLink 0.033
testChildNotAllowToBeCA2 0.04

OnlineCrlRepositoryTest

testDownloadCrl 0.02
testCrlNotFound 0.008
testInvalidCrl 0.016
testEmptyCrl 0.006

OfflineOcspRepositoryTest

testOcspResponseNotFound 0.051
testOcspResponseFound 0.02

ExpiredCertificateTest

testExpiredCRL 0.036
testExpiredRootCA 0.013
testExpiredRootCAJava8DateTimeAPI 0.013

DistinguishedNameCertificateConstraintTest

testDistinguishedNameMisMatch 0.007
testDistinguishedNameMatch 0.009

OnlineOcspRepositoryTest

testOcspResponse 0.385
testInvalidStatusCode 0.026
testMissingResponseContentTypeHeader 0.033
testNoResponseReturned 0.032
testInvalidOcspResponse 0.028
testInvalidContentType 0.022

CertificatePoliciesCertificateConstraintTest

testNoCertificatePolicies 0.016
testCertificatePoliciesMatch 0.019
testCertificatePoliciesMismatch 0.009

NetworkConfigTest

testNetworkConfig 0.001

CodeSigningCertificateConstraintTest

testNonCodeSigningCertificateFails 0.014
testCodeSigningCertificatePasses 0.002

FallbackTrustLinkerTest

firstTrustLinkerTrustsNot 0.001
noTrustLinkers 0
fallback 0.001
firstTrustLinkerTrusts 0.001