Home
last modified time | relevance | path

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

/external/conscrypt/platform/src/test/java/org/conscrypt/
DChainStrengthAnalyzerTest.java226 assertBad(MD2_RSA_PEM, "Weak hash check did not fail as expected"); in testMD2()
230 assertBad(MD4_RSA_PEM, "Weak hash check did not fail as expected"); in testMD4()
234 assertBad(MD5_RSA_PEM, "Weak hash check did not fail as expected"); in testMD5()
238 assertBad(SHORT_RSA_PEM, "Short RSA modulus check did not fail as expected"); in testRsa512()
242 assertBad(SHORT_DSA_PEM, "Short DSA key check did not fail as expected"); in testDsa768()
246 assertBad(SHORT_ECDSA_PEM, "Short EC key check did not fail as expected"); in testEcdsa128()
255 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