Home
last modified time | relevance | path

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

/external/conscrypt/platform/src/test/java/org/conscrypt/ct/
DCTVerifierTest.java19 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()
42 PublicKey key = InternalUtil.readPublicKeyPem(openTestFile("ct-server-key-public.pem")); in setUp()
/external/icu/icu4c/source/test/intltest/
Ducaconf.cpp109 void UCAConformanceTest::openTestFile(const char *type) in openTestFile() function in UCAConformanceTest
299 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()
309 openTestFile("SHIFTED"); in TestTableShifted()
319 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()
333 openTestFile("SHIFTED"); in TestRulesShifted()
Ducaconf.h43 void openTestFile(const char *type);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DUCAConformanceTest.java52 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()
59 openTestFile("SHIFTED"); in TestTableShifted()
74 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()
92 private void openTestFile(String type) { in openTestFile() method in UCAConformanceTest
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DUCAConformanceTest.java51 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()
58 openTestFile("SHIFTED"); in TestTableShifted()
73 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()
91 private void openTestFile(String type) { in openTestFile() method in UCAConformanceTest
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptSocketTest.java19 import static org.conscrypt.TestUtils.openTestFile;
136 ca = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in setUp()
137 cert = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert.pem")); in setUp()
139 OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert-ct-embedded.pem")); in setUp()
140 certKey = OpenSSLKey.fromPrivateKeyPemInputStream(openTestFile("cert-key.pem")) in setUp()
DOpenSSLX509CertificateTest.java19 import static org.conscrypt.TestUtils.openTestFile;
93 return OpenSSLX509Certificate.fromX509PemInputStream(openTestFile(name)); in loadTestCertificate()
DNativeCryptoTest.java21 import static org.conscrypt.TestUtils.openTestFile;
2947 OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert-ct-poisoned.pem")); in test_get_ocsp_single_extension()
2949 OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in test_get_ocsp_single_extension()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java94 public static InputStream openTestFile(String name) throws FileNotFoundException { in openTestFile() method in TestUtils
103 return Streams.readFully(openTestFile(name)); in readTestFile()
/external/conscrypt/platform/src/test/java/org/conscrypt/
DCertBlacklistTest.java88 try (InputStream is = TestUtils.openTestFile(file)) { in loadCertificates()