Home
last modified time | relevance | path

Searched refs:assertBad (Results 1 – 3 of 3) sorted by relevance

/external/conscrypt/common/src/test/java/org/conscrypt/
DChainStrengthAnalyzerTest.java301 assertBad(MD2_RSA_PEM, "Weak hash check did not fail as expected"); in testMD2()
306 assertBad(MD4_RSA_PEM, "Weak hash check did not fail as expected"); in testMD4()
311 assertBad(MD5_RSA_PEM, "Weak hash check did not fail as expected"); in testMD5()
316 assertBad(SHA1_RSA_PEM, "Weak SHA1 RSA signature did not fail as expected"); in testSHA1()
317 assertBad(SHA1_ECDSA_PEM, "Weak SHA1 ECDSA signature did not fail as expected"); in testSHA1()
318 assertBad(SHA1_DSA_PEM, "Weak SHA1 DSA signature did not fail as expected"); in testSHA1()
323 assertBad(SHORT_RSA_PEM, "Short RSA modulus check did not fail as expected"); in testRsa512()
328 assertBad(SHORT_DSA_PEM, "Short DSA key check did not fail as expected"); in testDsa768()
333 assertBad(SHORT_ECDSA_PEM, "Short EC key check did not fail as expected"); in testEcdsa128()
343 private static void assertBad(String pem, String msg) throws Exception { in assertBad() method in ChainStrengthAnalyzerTest
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DChainStrengthAnalyzerTest.java305 assertBad(MD2_RSA_PEM, "Weak hash check did not fail as expected"); in testMD2()
310 assertBad(MD4_RSA_PEM, "Weak hash check did not fail as expected"); in testMD4()
315 assertBad(MD5_RSA_PEM, "Weak hash check did not fail as expected"); in testMD5()
320 assertBad(SHA1_RSA_PEM, "Weak SHA1 RSA signature did not fail as expected"); in testSHA1()
321 assertBad(SHA1_ECDSA_PEM, "Weak SHA1 ECDSA signature did not fail as expected"); in testSHA1()
322 assertBad(SHA1_DSA_PEM, "Weak SHA1 DSA signature did not fail as expected"); in testSHA1()
327 assertBad(SHORT_RSA_PEM, "Short RSA modulus check did not fail as expected"); in testRsa512()
332 assertBad(SHORT_DSA_PEM, "Short DSA key check did not fail as expected"); in testDsa768()
337 assertBad(SHORT_ECDSA_PEM, "Short EC key check did not fail as expected"); in testEcdsa128()
347 private static void assertBad(String pem, String msg) throws Exception { in assertBad() method in ChainStrengthAnalyzerTest
/external/guava/guava-tests/test/com/google/common/net/
DHostSpecifierTest.java59 assertBad(spec); in testBadIpAddresses()
71 assertBad(spec); in testBadDomains()
103 private void assertBad(String spec) { in assertBad() method in HostSpecifierTest