Home
last modified time | relevance | path

Searched refs:TestUtils (Results 1 – 25 of 43) sorted by relevance

12

/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCommonSuperclassTest.java62 TestUtils.makeClassDef("Ljava/lang/Object;", null), in CommonSuperclassTest()
63 TestUtils.makeClassDef("Ltest/one;", "Ljava/lang/Object;"), in CommonSuperclassTest()
64 TestUtils.makeClassDef("Ltest/two;", "Ljava/lang/Object;"), in CommonSuperclassTest()
65 TestUtils.makeClassDef("Ltest/onetwo;", "Ltest/one;"), in CommonSuperclassTest()
66 TestUtils.makeClassDef("Ltest/onetwothree;", "Ltest/onetwo;"), in CommonSuperclassTest()
67 TestUtils.makeClassDef("Ltest/onethree;", "Ltest/one;"), in CommonSuperclassTest()
68 TestUtils.makeClassDef("Ltest/fivetwo;", "Ltest/five;"), in CommonSuperclassTest()
69 TestUtils.makeClassDef("Ltest/fivetwothree;", "Ltest/fivetwo;"), in CommonSuperclassTest()
70 TestUtils.makeClassDef("Ltest/fivethree;", "Ltest/five;"), in CommonSuperclassTest()
71 TestUtils.makeInterfaceDef("Ljava/lang/Cloneable;"), in CommonSuperclassTest()
[all …]
/external/sfntly/cpp/src/test/
Dtest_utils_test.cc32 UConverter* conv = TestUtils::GetEncoder("utf8"); in TestEncoding()
41 int32_t encoded = TestUtils::EncodeOneChar(conv, (int16_t)from[i]); in TestEncoding()
61 result = TestUtils::Extension("../data/ext/tuffy.ttf"); in TestExtension()
65 result = TestUtils::Extension("tuffy.ttf.fake"); in TestExtension()
69 result = TestUtils::Extension("tuffy"); in TestExtension()
73 result = TestUtils::Extension("tuffy."); in TestExtension()
81 TEST(TestUtils, All) { in TEST() argument
Dtest_utils.cc30 TestUtils::TestUtils() {} in TestUtils() function in sfntly::TestUtils
41 int32_t TestUtils::EncodeOneChar(UConverter* encoder, int16_t uchar) { in EncodeOneChar()
72 UConverter* TestUtils::GetEncoder(const char* charset_name) { in GetEncoder()
84 const char* TestUtils::Extension(const char* file_path) { in Extension()
Dcmap_test.cc131 encoder1_ = TestUtils::GetEncoder(GetParam().first_charset_name()); in CommonSetUp()
132 encoder2_ = TestUtils::GetEncoder(GetParam().second_charset_name()); in CommonSetUp()
149 c1 = TestUtils::EncodeOneChar(encoder1_, (int16_t)uchar); in CompareCMaps()
152 c2 = TestUtils::EncodeOneChar(encoder2_, (int16_t)uchar); in CompareCMaps()
Dtest_utils.h31 class TestUtils {
32 TestUtils();
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DSocketType.java50 Provider provider = TestUtils.getJdkProvider(); in newJdkFactories()
51 SSLContext clientContext = TestUtils.newClientSslContext(provider); in newJdkFactories()
52 SSLContext serverContext = TestUtils.newServerSslContext(provider); in newJdkFactories()
60 Provider provider = TestUtils.getConscryptProvider(); in newConscryptFactories()
61 SSLContext clientContext = TestUtils.newClientSslContext(provider); in newConscryptFactories()
62 SSLContext serverContext = TestUtils.newServerSslContext(provider); in newConscryptFactories()
66 TestUtils.setUseEngineSocket(clientFactory, useEngineSocket); in newConscryptFactories()
67 TestUtils.setUseEngineSocket(serverFactory, useEngineSocket); in newConscryptFactories()
68 TestUtils.setUseEngineSocket(serverSocketFactory, useEngineSocket); in newConscryptFactories()
DEngineType.java18 import static org.conscrypt.TestUtils.PROTOCOL_TLS_V1_2;
19 import static org.conscrypt.TestUtils.initClientSslContext;
20 import static org.conscrypt.TestUtils.initEngine;
21 import static org.conscrypt.TestUtils.initServerSslContext;
DClientSocketBenchmark.java19 import static org.conscrypt.TestUtils.getProtocols;
20 import static org.conscrypt.TestUtils.newTextMessage;
141 return TestUtils.TEST_CIPHER; in main()
DEngineWrapBenchmark.java35 import static org.conscrypt.TestUtils.doEngineHandshake;
36 import static org.conscrypt.TestUtils.newTextMessage;
180 return TestUtils.TEST_CIPHER; in main()
DServerSocketBenchmark.java19 import static org.conscrypt.TestUtils.getProtocols;
20 import static org.conscrypt.TestUtils.newTextMessage;
155 return TestUtils.TEST_CIPHER; in main()
DEngineHandshakeBenchmark.java35 import static org.conscrypt.TestUtils.doEngineHandshake;
111 return TestUtils.TEST_CIPHER; in main()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/
DSuperclassChainTest.java40 import org.jf.dexlib2.analysis.TestUtils;
52 ClassDef objectClassDef = TestUtils.makeClassDef("Ljava/lang/Object;", null); in testGetSuperclassChain()
53 ClassDef oneClassDef = TestUtils.makeClassDef("Ltest/one;", "Ljava/lang/Object;"); in testGetSuperclassChain()
54 ClassDef twoClassDef = TestUtils.makeClassDef("Ltest/two;", "Ltest/one;"); in testGetSuperclassChain()
55 ClassDef threeClassDef = TestUtils.makeClassDef("Ltest/three;", "Ltest/two;"); in testGetSuperclassChain()
88 ClassDef twoClassDef = TestUtils.makeClassDef("Ltest/two;", "Ltest/one;"); in testGetSuperclassChain_Unresolved()
89 ClassDef threeClassDef = TestUtils.makeClassDef("Ltest/three;", "Ltest/two;"); in testGetSuperclassChain_Unresolved()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLServerSocketImplTest.java19 import static org.conscrypt.TestUtils.LOCALHOST;
20 import static org.conscrypt.TestUtils.getConscryptServerSocketFactory;
21 import static org.conscrypt.TestUtils.getJdkSocketFactory;
22 import static org.conscrypt.TestUtils.getProtocols;
23 import static org.conscrypt.TestUtils.newTextMessage;
24 import static org.conscrypt.TestUtils.pickUnusedPort;
DConscryptEngineTest.java20 import static org.conscrypt.TestUtils.PROTOCOL_TLS_V1_2;
21 import static org.conscrypt.TestUtils.TEST_CIPHER;
22 import static org.conscrypt.TestUtils.initEngine;
23 import static org.conscrypt.TestUtils.initSslContext;
24 import static org.conscrypt.TestUtils.newTextMessage;
282 TestUtils.doEngineHandshake(clientEngine, serverEngine, clientApplicationBuffer, in doHandshake()
DMockSessionBuilder.java18 import static org.conscrypt.TestUtils.UTF_8;
27 static final String DEFAULT_PROTOCOL = TestUtils.PROTOCOL_TLS_V1_2;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DTestUtils.java35 public class TestUtils { class
55 protected TestUtils() { in TestUtils() method in TestUtils
68 TestUtils.tTest = chiSquareTest; in setChiSquareTest()
91 TestUtils.chiSquareTest = chiSquareTest; in setChiSquareTest()
114 TestUtils.unknownDistributionChiSquareTest = unknownDistributionChiSquareTest; in setUnknownDistributionChiSquareTest()
137 TestUtils.oneWayAnova = oneWayAnova; in setOneWayAnova()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DBindingsTestUtils.java7 import org.chromium.mojo.TestUtils;
90 ByteBuffer message = TestUtils.newRandomBuffer(size); in newRandomMessage()
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers_unittest.cc33 TestUtils::HandlePostForkReturn(child); in TEST()
41 TestUtils::HandlePostForkReturn(child); in TEST()
Dresource_limits_unittests.cc36 TestUtils::HandlePostForkReturn(pid); in SANDBOX_TEST()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dbaseline_policy_unittest.cc95 TestUtils::HandlePostForkReturn(pid); in BPF_TEST_C()
111 TestUtils::HandlePostForkReturn(pid); in BPF_TEST_C()
127 TestUtils::HandlePostForkReturn(pid); in BPF_TEST_C()
143 TestUtils::HandlePostForkReturn(pid); in BPF_DEATH_TEST_C()
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DAbstractSSLTest.java18 import static org.conscrypt.TestUtils.installConscryptAsDefaultProvider;
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java44 public final class TestUtils { class
58 private TestUtils() {} in TestUtils() method in TestUtils
95 InputStream is = TestUtils.class.getResourceAsStream("/" + name); in openTestFile()
/external/conscrypt/platform/src/test/java/org/conscrypt/ct/
DCTVerifierTest.java19 import static org.conscrypt.TestUtils.openTestFile;
20 import static org.conscrypt.TestUtils.readTestFile;
/external/vboot_reference/tests/
Drsa_utility_tests.c42 static void TestUtils(void) { in TestUtils() function
210 TestUtils(); in main()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/
DTestUtils.java14 public final class TestUtils { class

12