ZKTrustManagerTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total832 of 8320%8 of 80%29291381382525
createSelfSignedCertificateChain(String, String)1220%60%44181811
testServerHostnameVerificationWithHostname()590%n/a118811
testClientHostnameVerificationWithHostnameVerificationDisabled()590%n/a118811
testClientHostnameVerificationWithHostname()590%n/a118811
testClientHostnameVerificationWithIpAddress_CertHostnameSan_WithReverseLookup()590%n/a119911
testServerHostnameVerificationWithIPAddress()550%n/a118811
testClientHostnameVerificationWithIPAddress()550%n/a118811
testClientHostnameVerificationWithIpAddress_CertHostnameSan_NoReverseLookup_Fail()520%n/a119911
testClientHostnameVerificationWithIpAddress_CertIpSan()500%n/a119911
testServerHostnameVerificationWithHostnameVerificationDisabled()490%n/a118811
testServerHostnameVerificationWithHostnameVerificationDisabledAndClientHostnameVerificationEnabled()490%n/a118811
testClientHostnameVerificationWithClientHostnameVerificationDisabled()490%n/a118811
setupDNSMocks()260%n/a114411
createKeyPair()160%n/a115511
createSocketWithHostname()160%n/a114411
createSocketWithIpAddress()160%n/a114411
setup()100%n/a113311
tearDown()70%20%223311
lambda$testClientHostnameVerificationWithIpAddress_CertHostnameSan_NoReverseLookup_Fail$0(ZKTrustManager, X509Certificate[], Socket)60%n/a111111
clearDNSMocks()40%n/a112211
static {...}40%n/a111111
ZKTrustManagerTest()30%n/a111111
removeBouncyCastleProvider()30%n/a112211
lambda$createSocketWithIpAddress$2(InetAddress, InvocationOnMock)20%n/a111111
lambda$createSocketWithHostname$1(InetAddress, InvocationOnMock)20%n/a111111