Home
last modified time | relevance | path

Searched refs:TestHelper (Results 1 – 25 of 173) sorted by relevance

1234567

/external/perfetto/test/
Dtest_helper.cc31 uint64_t TestHelper::next_instance_num_ = 0;
44 TestHelper::TestHelper(base::TestTaskRunner* task_runner) in TestHelper() function in perfetto::TestHelper
50 void TestHelper::OnConnect() { in OnConnect()
54 void TestHelper::OnDisconnect() { in OnDisconnect()
58 void TestHelper::OnTracingDisabled() { in OnTracingDisabled()
62 void TestHelper::OnTraceData(std::vector<TracePacket> packets, bool has_more) { in OnTraceData()
81 void TestHelper::StartServiceIfRequired() { in StartServiceIfRequired()
88 FakeProducer* TestHelper::ConnectFakeProducer() { in ConnectFakeProducer()
98 void TestHelper::ConnectConsumer() { in ConnectConsumer()
106 void TestHelper::DetachConsumer(const std::string& key) { in DetachConsumer()
[all …]
Dend_to_end_integrationtest.cc152 setenv("PERFETTO_CONSUMER_SOCK_NAME", TestHelper::GetConsumerSocketName(), in Exec()
154 setenv("PERFETTO_PRODUCER_SOCK_NAME", TestHelper::GetProducerSocketName(), in Exec()
213 TestHelper test_helper_{&task_runner_};
237 TestHelper helper(&task_runner); in TEST_F()
280 TestHelper helper(&task_runner); in TEST_F()
338 TestHelper helper(&task_runner); in TEST_F()
392 TestHelper helper(&task_runner); in TEST_F()
433 TestHelper helper(&task_runner); in TEST_F()
488 TestHelper helper(&task_runner); in TEST_F()
535 TestHelper helper(&task_runner); in TEST_F()
[all …]
Dtest_helper.h33 class TestHelper : public Consumer {
38 explicit TestHelper(base::TestTaskRunner* task_runner);
/external/testng/src/test/java/test/objectfactory/
DCustomFactoryTest.java9 import test.TestHelper;
17 XmlSuite suite = TestHelper.createSuite("test.objectfactory.Simple", "objectfactory"); in setFactoryOnTestNG()
19 TestNG tng = TestHelper.createTestNG(suite); in setFactoryOnTestNG()
33 XmlSuite suite = TestHelper.createSuite("test.objectfactory.Simple", "objectfactory"); in setFactoryOnSuite()
35 TestNG tng = TestHelper.createTestNG(suite); in setFactoryOnSuite()
43 XmlSuite suite = TestHelper.createSuite("test.objectfactory.Simple", "objectfactory"); in setFactoryByAnnotation()
46 TestNG tng = TestHelper.createTestNG(suite); in setFactoryByAnnotation()
54 XmlSuite suite = TestHelper.createSuite("test.objectfactory.Simple", "objectfactory"); in factoryReceivesContext()
57 TestNG tng = TestHelper.createTestNG(suite); in factoryReceivesContext()
63 XmlSuite suite = TestHelper.createSuite("test.objectfactory.Simple", "objectfactory"); in setInvalidMethodFactoryByAnnotation()
[all …]
DObjectFactory2Test.java8 import test.TestHelper;
18 XmlSuite suite = TestHelper.createSuite(ClassObjectFactorySampleTest.class.getName(), in testFactory()
20 TestNG tng = TestHelper.createTestNG(suite); in testFactory()
/external/testng/src/test/java/test/failures/
DFailuresTest.java8 import test.TestHelper;
17 XmlSuite suite = TestHelper.createSuite("test.failures.Child", getSuiteName()); in shouldIncludeFailedMethodsFromBaseClass()
18 TestNG tng = TestHelper.createTestNG(suite); in shouldIncludeFailedMethodsFromBaseClass()
32 XmlSuite suite = TestHelper.createSuite("test.failures.DependentTest", getSuiteName()); in shouldIncludeDependentMethods()
33 TestNG tng = TestHelper.createTestNG(suite); in shouldIncludeDependentMethods()
46 XmlSuite suite = TestHelper.createSuite("test.failures.Child", getSuiteName()); in shouldIncludeParameters()
52 TestNG tng = TestHelper.createTestNG(suite); in shouldIncludeParameters()
/external/testng/src/test/java/test/reports/
DReportTest.java13 import test.TestHelper;
23 File outputDir = TestHelper.createRandomDirectory(); in verifyIndex()
27 XmlSuite suite = TestHelper.createSuite(test.simple.SimpleTest.class, suiteName, testName); in verifyIndex()
29 TestNG tng = TestHelper.createTestNG(suite, outputDir.getAbsolutePath()); in verifyIndex()
40 File outputDirectory = TestHelper.createRandomDirectory(); in directoryShouldBeSuiteName()
70 File outputDirectory = TestHelper.createRandomDirectory(); in oneDirectoryPerSuite()
74 XmlSuite xmlSuiteA = TestHelper.createSuite(test.reports.A.class, suiteNameA, testName); in oneDirectoryPerSuite()
77 XmlSuite xmlSuiteB = TestHelper.createSuite(test.reports.B.class, suiteNameB, testName); in oneDirectoryPerSuite()
79 TestNG testng = TestHelper.createTestNG(); in oneDirectoryPerSuite()
103 TestNG testng = TestHelper.createTestNG(); in shouldHonorSuiteName()
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
Dconverted.pass.cpp21 struct TestHelper;
23 struct TestHelper<CharT, 2> { struct
27 struct TestHelper<CharT, 4> { struct
32 void TestHelper<CharT, 2>::test() { in test()
49 void TestHelper<CharT, 4>::test() { in test()
65 int main() { TestHelper<wchar_t>::test(); } in main()
Dfrom_bytes.pass.cpp24 struct TestHelper;
26 struct TestHelper<CharT, 2> { struct
30 struct TestHelper<CharT, 4> { struct
35 void TestHelper<CharT, 2>::test() { in test()
54 void TestHelper<CharT, 4>::test() { in test()
72 int main() { TestHelper<wchar_t>::test(); } in main()
Dto_bytes.pass.cpp24 struct TestHelper;
26 struct TestHelper<CharT, 2> { struct
30 struct TestHelper<CharT, 4> { struct
35 void TestHelper<CharT, 2>::test() { in test()
54 void TestHelper<CharT, 4>::test() { in test()
72 int main() { TestHelper<wchar_t>::test(); } in main()
/external/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf8_utf16_in.pass.cpp29 struct TestHelper;
31 struct TestHelper<CharT, 2> { struct
35 struct TestHelper<CharT, 4> { struct
40 void TestHelper<CharT, 2>::test() { in test()
120 void TestHelper<CharT, 4>::test() { in test()
240 TestHelper<wchar_t>::test(); in main()
242 TestHelper<char32_t>::test(); in main()
243 TestHelper<char16_t>::test(); in main()
Dcodecvt_utf8_out.pass.cpp29 struct TestHelper;
32 struct TestHelper<CharT, 2> { struct
37 struct TestHelper<CharT, 4> { struct
42 void TestHelper<CharT, 2>::test() { in test()
166 void TestHelper<CharT, 4>::test() { in test()
323 TestHelper<wchar_t>::test(); in main()
324 TestHelper<char32_t>::test(); in main()
325 TestHelper<char16_t>::test(); in main()
Dcodecvt_utf8_utf16_out.pass.cpp29 struct TestHelper;
31 struct TestHelper<CharT, 2> { struct
35 struct TestHelper<CharT, 4> { struct
40 void TestHelper<CharT, 2>::test() { in test()
172 void TestHelper<CharT, 4>::test() { in test()
305 TestHelper<wchar_t>::test(); in main()
307 TestHelper<char32_t>::test(); in main()
308 TestHelper<char16_t>::test(); in main()
Dcodecvt_utf16_out.pass.cpp29 struct TestHelper;
31 struct TestHelper<CharT, 2> { struct
35 struct TestHelper<CharT, 4> { struct
40 void TestHelper<CharT, 2>::test() { in test()
45 void TestHelper<CharT, 4>::test() { in test()
351 TestHelper<char32_t>::test(); in main()
352 TestHelper<wchar_t>::test(); in main()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAutoConfiguredLoadBalancerFactoryTest.java59 LoadBalancer lb = lbf.newLoadBalancer(new TestHelper()); in newLoadBalancer_isAuto()
67 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(new TestHelper()); in defaultIsPickFirst()
76 (AutoConfiguredLoadBalancer) lbf.newLoadBalancer(new TestHelper()); in forwardsCalls()
114 Helper helper = new TestHelper() { in handleResolvedAddressGroups_keepOldBalancer()
148 Helper helper = new TestHelper() { in handleResolvedAddressGroups_shutsDownOldBalancer()
344 private static class TestHelper extends ForwardingLoadBalancerHelper { class in AutoConfiguredLoadBalancerFactoryTest
345 TestHelper() { in TestHelper() method in AutoConfiguredLoadBalancerFactoryTest.TestHelper
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DAbstractAlgorithmParametersTest.java25 private final TestHelper<AlgorithmParameters> helper;
29 TestHelper<AlgorithmParameters> helper, AlgorithmParameterSpec parameterData) { in AbstractAlgorithmParametersTest()
DAbstractAlgorithmParameterGeneratorTest.java27 private final TestHelper<AlgorithmParameters> helper;
29 …protected AbstractAlgorithmParameterGeneratorTest(String algorithmName, TestHelper<AlgorithmParame… in AbstractAlgorithmParameterGeneratorTest()
DAbstractKeyPairGeneratorTest.java29 private final TestHelper<KeyPair> helper;
33 protected AbstractKeyPairGeneratorTest(String algorithmName, TestHelper<KeyPair> helper) { in AbstractKeyPairGeneratorTest()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DAbstractAlgorithmParametersTest.java29 private final TestHelper<AlgorithmParameters> helper;
33 TestHelper<AlgorithmParameters> helper, AlgorithmParameterSpec parameterData) { in AbstractAlgorithmParametersTest()
DAbstractAlgorithmParameterGeneratorTest.java31 private final TestHelper<AlgorithmParameters> helper;
33 …protected AbstractAlgorithmParameterGeneratorTest(String algorithmName, TestHelper<AlgorithmParame… in AbstractAlgorithmParameterGeneratorTest()
DAbstractKeyPairGeneratorTest.java33 private final TestHelper<KeyPair> helper;
37 protected AbstractKeyPairGeneratorTest(String algorithmName, TestHelper<KeyPair> helper) { in AbstractKeyPairGeneratorTest()
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicDetector.java29 import org.tensorflow.lite.TestHelper;
65 inputDims = TestHelper.getInputDims(tflite, 0); in OvicDetector()
66 if (TestHelper.getInputDataType(tflite, 0).equals("float")) { in OvicDetector()
DOvicClassifier.java32 import org.tensorflow.lite.TestHelper;
78 inputDims = TestHelper.getInputDims(tflite, 0); in OvicClassifier()
95 String outputDataType = TestHelper.getOutputDataType(tflite, 0); in OvicClassifier()
/external/testng/src/test/java/test/configuration/
DBeforeTestOrderingTest.java13 import test.TestHelper;
46 TestNG tng = TestHelper.createTestNG(); in verifyBeforeTestOrdering()
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc156 std::unique_ptr<TestHelper> GetHelper(base::TestTaskRunner* task_runner) { in GetHelper()
157 std::unique_ptr<TestHelper> helper(new TestHelper(task_runner)); in GetHelper()
201 std::unique_ptr<TestHelper> Trace(const TraceConfig& trace_config) { in Trace()
212 void PrintStats(TestHelper* helper) { in PrintStats()
223 void ValidateSampleSizes(TestHelper* helper, in ValidateSampleSizes()
241 void ValidateFromStartup(TestHelper* helper, in ValidateFromStartup()
254 void ValidateRejectedConcurrent(TestHelper* helper, in ValidateRejectedConcurrent()
267 void ValidateHasSamples(TestHelper* helper, uint64_t pid) { in ValidateHasSamples()
292 void ValidateOnlyPID(TestHelper* helper, uint64_t pid) { in ValidateOnlyPID()

1234567