Home
last modified time | relevance | path

Searched refs:openTestFile (Results 1 – 9 of 9) sorted by relevance

/external/conscrypt/src/test/java/org/conscrypt/ct/
DCTVerifierTest.java26 import static org.conscrypt.TestUtils.openTestFile;
37 ca = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in setUp()
38 cert = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert.pem")); in setUp()
40 openTestFile("cert-ct-embedded.pem")); in setUp()
43 openTestFile("ct-server-key-public.pem")).getPublicKey(); in setUp()
/external/icu/icu4c/source/test/intltest/
Ducaconf.cpp107 void UCAConformanceTest::openTestFile(const char *type) in openTestFile() function in UCAConformanceTest
297 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()
307 openTestFile("SHIFTED"); in TestTableShifted()
317 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()
331 openTestFile("SHIFTED"); in TestRulesShifted()
Ducaconf.h41 void openTestFile(const char *type);
/external/conscrypt/src/test/java/org/conscrypt/
DTestUtils.java27 public static InputStream openTestFile(String name) throws FileNotFoundException { in openTestFile() method in TestUtils
36 return Streams.readFully(openTestFile(name)); in readTestFile()
DOpenSSLSocketImplTest.java51 import static org.conscrypt.TestUtils.openTestFile;
72 ca = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in setUp()
73 cert = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert.pem")); in setUp()
75 openTestFile("cert-ct-embedded.pem")); in setUp()
77 openTestFile("cert-key.pem")).getPrivateKey(); in setUp()
80 openTestFile("ct-server-key-public.pem")).getPublicKey(); in setUp()
DOpenSSLX509CertificateTest.java32 import static org.conscrypt.TestUtils.openTestFile;
85 return OpenSSLX509Certificate.fromX509PemInputStream(openTestFile(name)); in loadTestCertificate()
DNativeCryptoTest.java66 import static org.conscrypt.TestUtils.openTestFile;
3029 openTestFile("cert-ct-poisoned.pem")); in test_get_ocsp_single_extension()
3031 openTestFile("ca-cert.pem")); in test_get_ocsp_single_extension()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DUCAConformanceTest.java56 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()
62 openTestFile("SHIFTED"); in TestTableShifted()
72 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()
90 private void openTestFile(String type) in openTestFile() method in UCAConformanceTest
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DUCAConformanceTest.java52 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()
58 openTestFile("SHIFTED"); in TestTableShifted()
68 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()
86 private void openTestFile(String type) in openTestFile() method in UCAConformanceTest