Home
last modified time | relevance | path

Searched refs:runner (Results 1 – 25 of 2276) sorted by relevance

12345678910>>...92

/external/tensorflow/tensorflow/lite/testing/
Dtflite_driver_test.cc27 std::unique_ptr<TestRunner> runner(new TfLiteDriver(/*use_nnapi=*/false)); in TEST() local
29 runner->SetModelBaseDir("tensorflow/lite"); in TEST()
30 runner->LoadModel("testdata/multi_add.bin"); in TEST()
31 ASSERT_TRUE(runner->IsValid()); in TEST()
33 ASSERT_THAT(runner->GetInputs(), ElementsAre(0, 1, 2, 3)); in TEST()
34 ASSERT_THAT(runner->GetOutputs(), ElementsAre(5, 6)); in TEST()
37 runner->ReshapeTensor(i, "1,2,2,1"); in TEST()
39 ASSERT_TRUE(runner->IsValid()); in TEST()
41 runner->AllocateTensors(); in TEST()
43 runner->SetInput(0, "0.1,0.2,0.3,0.4"); in TEST()
[all …]
Dtest_runner_test.cc46 ConcreteTestRunner runner; in TEST() local
47 EXPECT_EQ(runner.GetFullPath("test.bin"), "test.bin"); in TEST()
48 runner.SetModelBaseDir("/tmp"); in TEST()
49 EXPECT_EQ(runner.GetFullPath("test.bin"), "/tmp/test.bin"); in TEST()
53 ConcreteTestRunner runner; in TEST() local
54 EXPECT_EQ(runner.GetInvocationId(), ""); in TEST()
55 runner.SetInvocationId("X"); in TEST()
56 EXPECT_EQ(runner.GetInvocationId(), "X"); in TEST()
60 ConcreteTestRunner runner; in TEST() local
61 EXPECT_TRUE(runner.IsValid()); in TEST()
[all …]
Dtf_driver_test.cc91 std::unique_ptr<TfDriver> runner( in TEST() local
95 runner->LoadModel( in TEST()
97 EXPECT_TRUE(runner->IsValid()) << runner->GetErrorMessage(); in TEST()
99 ASSERT_THAT(runner->GetInputs(), ElementsAre(0, 1, 2, 3)); in TEST()
100 ASSERT_THAT(runner->GetOutputs(), ElementsAre(0, 1)); in TEST()
103 runner->ReshapeTensor(i, "1,2,2,1"); in TEST()
105 ASSERT_TRUE(runner->IsValid()); in TEST()
107 runner->SetInput(0, "0.1,0.2,0.3,0.4"); in TEST()
108 runner->SetInput(1, "0.001,0.002,0.003,0.004"); in TEST()
109 runner->SetInput(2, "0.001,0.002,0.003,0.004"); in TEST()
[all …]
Dgenerate_testspec.cc90 TfDriver runner(input_layer, input_layer_type, input_layer_shape, in GenerateTestSpecFromTensorflowModel() local
92 if (!runner.IsValid()) { in GenerateTestSpecFromTensorflowModel()
93 std::cerr << runner.GetErrorMessage() << std::endl; in GenerateTestSpecFromTensorflowModel()
97 runner.LoadModel(tensorflow_model_path); in GenerateTestSpecFromTensorflowModel()
98 if (!runner.IsValid()) { in GenerateTestSpecFromTensorflowModel()
99 std::cerr << runner.GetErrorMessage() << std::endl; in GenerateTestSpecFromTensorflowModel()
127 runner.SetInput(j, input_values[j]); in GenerateTestSpecFromTensorflowModel()
128 if (!runner.IsValid()) { in GenerateTestSpecFromTensorflowModel()
129 std::cerr << runner.GetErrorMessage() << std::endl; in GenerateTestSpecFromTensorflowModel()
134 runner.Invoke(); in GenerateTestSpecFromTensorflowModel()
[all …]
/external/vogar/test/vogar/target/junit4/
DTestRunnerJUnit4Test.java20 import org.junit.runner.RunWith;
35 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_ChangeDefaultLocaleTest() local
36 runner.run(); in testRunner_ChangeDefaultLocaleTest()
49 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_SimpleTest2() local
50 runner.run(); in testRunner_SimpleTest2()
64 TestRunner runner = testRunnerRule.createTestRunner("--skipPast", failingTestName); in testRunner_SkipPast() local
66 runner.run(); in testRunner_SkipPast()
78 TestRunner runner = testRunnerRule.createTestRunner("--skipPast", failingTestName); in testRunner_SkipPastAll() local
80 runner.run(); in testRunner_SkipPastAll()
88 TestRunner runner = testRunnerRule.createTestRunner(args); in testRunner_SimpleTest2_OneMethod() local
[all …]
/external/vogar/test/vogar/target/junit3/
DTestRunnerJUnit3Test.java20 import org.junit.runner.RunWith;
38 TestRunner runner = testRunnerRule.createTestRunner(); in testConstructor_JUnit3Test_RunnerType_JUNIT() local
39 runner.run(); in testConstructor_JUnit3Test_RunnerType_JUNIT()
49 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_ChangeDefaultLocaleTest() local
50 runner.run(); in testRunner_ChangeDefaultLocaleTest()
63 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_SimpleTest2() local
64 runner.run(); in testRunner_SimpleTest2()
78 TestRunner runner = testRunnerRule.createTestRunner("--skipPast", failingTestName); in testRunner_SkipPast() local
80 runner.run(); in testRunner_SkipPast()
91 TestRunner runner = testRunnerRule.createTestRunner("--skipPast", failingTestName); in testRunner_SkipPastAll() local
[all …]
/external/kotlinc/lib/
Dkotlin-runner.jar ... ) String path } org/jetbrains/kotlin/runner/Runner.class Runner.kt package org.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerMultiApiTest.java21 import org.junit.runner.Description;
22 import org.junit.runner.RunWith;
23 import org.junit.runner.notification.RunListener;
24 import org.junit.runner.notification.RunNotifier;
38 private RobolectricTestRunner runner; field in RobolectricTestRunnerMultiApiTest
72 runner = runnerOf(TestWithNoConfig.class); in createChildrenForEachSupportedApi()
73 assertThat(apisFor(runner.getChildren())).containsExactly( in createChildrenForEachSupportedApi()
79 runner = runnerOf(TestMethodWithNewestSdk.class); in withConfigSdkLatest_shouldUseLatestSupported()
80 assertThat(apisFor(runner.getChildren())).containsExactly(M); in withConfigSdkLatest_shouldUseLatestSupported()
85 runner = runnerOf(TestMethodWithSdkAndMinMax.class); in withConfigSdkAndMinMax_shouldUseMinMax()
[all …]
/external/expat/tests/
Dminicheck.c132 SRunner *runner = calloc(1, sizeof(SRunner)); in srunner_create() local
133 if (runner != NULL) { in srunner_create()
134 runner->suite = suite; in srunner_create()
136 return runner; in srunner_create()
155 add_failure(SRunner *runner, int verbosity) in add_failure() argument
157 runner->nfailures++; in add_failure()
165 srunner_run_all(SRunner *runner, int verbosity) in srunner_run_all() argument
169 assert(runner != NULL); in srunner_run_all()
170 suite = runner->suite; in srunner_run_all()
175 runner->nchecks++; in srunner_run_all()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DReschedulerTest.java25 import org.junit.runner.RunWith;
34 private final Runner runner = new Runner(); field in ReschedulerTest
38 runner,
45 assertFalse(runner.ran); in runs()
47 assertFalse(runner.ran); in runs()
51 assertTrue(runner.ran); in runs()
56 assertFalse(runner.ran); in cancels()
58 assertFalse(runner.ran); in cancels()
63 assertFalse(runner.ran); in cancels()
69 assertFalse(runner.ran); in cancelPermanently()
[all …]
/external/mockito/src/main/java/org/mockito/runners/
DVerboseMockitoJUnitRunner.java8 import org.junit.runner.Description;
9 import org.junit.runner.Runner;
10 import org.junit.runner.manipulation.Filter;
11 import org.junit.runner.manipulation.Filterable;
12 import org.junit.runner.manipulation.NoTestsRemainException;
13 import org.junit.runner.notification.Failure;
14 import org.junit.runner.notification.RunListener;
15 import org.junit.runner.notification.RunNotifier;
30 private final InternalRunner runner; field in VerboseMockitoJUnitRunner
36 VerboseMockitoJUnitRunner(InternalRunner runner) { in VerboseMockitoJUnitRunner() argument
[all …]
DConsoleSpammingMockitoJUnitRunner.java7 import org.junit.runner.Description;
8 import org.junit.runner.Runner;
9 import org.junit.runner.manipulation.Filter;
10 import org.junit.runner.manipulation.Filterable;
11 import org.junit.runner.manipulation.NoTestsRemainException;
12 import org.junit.runner.notification.Failure;
13 import org.junit.runner.notification.RunListener;
14 import org.junit.runner.notification.RunNotifier;
33 private final InternalRunner runner; field in ConsoleSpammingMockitoJUnitRunner
39 ConsoleSpammingMockitoJUnitRunner(MockitoLogger logger, InternalRunner runner) { in ConsoleSpammingMockitoJUnitRunner() argument
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_runner.py154 runner = unittest.TextTestRunner()
155 self.assertFalse(runner.failfast)
156 self.assertFalse(runner.buffer)
157 self.assertEqual(runner.verbosity, 1)
158 self.assertEqual(runner.warnings, None)
159 self.assertTrue(runner.descriptions)
160 self.assertEqual(runner.resultclass, unittest.TextTestResult)
161 self.assertFalse(runner.tb_locals)
180 runner = unittest.TextTestRunner(stream=io.StringIO(), failfast=True,
183 runner._makeResult = lambda: result
[all …]
/external/webrtc/webrtc/base/
Dcriticalsection_unittest.cc247 AtomicOpRunner<IncrementOp, UniqueValueVerifier> runner(0); in TEST() local
249 StartThreads(&threads, &runner); in TEST()
250 runner.SetExpectedThreadCount(kNumThreads); in TEST()
253 EXPECT_TRUE(runner.Run()); in TEST()
254 EXPECT_EQ(kOperationsToRun * kNumThreads, runner.shared_value()); in TEST()
259 AtomicOpRunner<DecrementOp, UniqueValueVerifier> runner( in TEST() local
262 StartThreads(&threads, &runner); in TEST()
263 runner.SetExpectedThreadCount(kNumThreads); in TEST()
266 EXPECT_TRUE(runner.Run()); in TEST()
267 EXPECT_EQ(0, runner.shared_value()); in TEST()
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_runner.py145 runner = unittest.TextTestRunner()
146 self.assertFalse(runner.failfast)
147 self.assertFalse(runner.buffer)
148 self.assertEqual(runner.verbosity, 1)
149 self.assertTrue(runner.descriptions)
150 self.assertEqual(runner.resultclass, unittest.TextTestResult)
171 runner = unittest.TextTestRunner(stream=StringIO(), failfast=True,
174 runner._makeResult = lambda: result
175 runner.run(Test('testFoo'))
184 originalRegisterResult = unittest.runner.registerResult
[all …]
/external/caliper/expectations/
Dknownfailures.txt12 "com.google.caliper.runner.StreamServiceTest",
13 "com.google.caliper.runner.WorkerProcessTest"
21 "com.google.caliper.runner.ExperimentingRunnerModuleTest"
33 "com.google.caliper.runner.AllocationInstrumentTest",
34 …"com.google.caliper.runner.BadUserCodeTest#testComplexNonDeterministicAllocation_noTrackAllocation…
35 …"com.google.caliper.runner.BadUserCodeTest#testComplexNonDeterministicAllocation_trackAllocations",
36 "com.google.caliper.runner.BadUserCodeTest#testNonDeterministicAllocation_noTrackAllocations",
37 "com.google.caliper.runner.BadUserCodeTest#testNonDeterministicAllocation_trackAllocations",
38 "com.google.caliper.runner.MalformedBenchmarksTest#noBenchmarkMethods"
44 "com.google.caliper.runner.ArbitraryMeasurmentInstrumentTest"
[all …]
/external/mockito/src/main/java/org/mockito/junit/
DMockitoJUnitRunner.java7 import org.junit.runner.Description;
8 import org.junit.runner.Runner;
9 import org.junit.runner.manipulation.Filter;
10 import org.junit.runner.manipulation.Filterable;
11 import org.junit.runner.manipulation.NoTestsRemainException;
12 import org.junit.runner.notification.RunNotifier;
150 private final InternalRunner runner; field in MockitoJUnitRunner
157 MockitoJUnitRunner(InternalRunner runner) throws InvocationTargetException { in MockitoJUnitRunner() argument
158 this.runner = runner; in MockitoJUnitRunner()
163 runner.run(notifier); in run()
[all …]
/external/v8/benchmarks/
Dbase.js105 BenchmarkSuite.RunSuites = function(runner) { argument
117 if (runner.NotifyStart) runner.NotifyStart(suite.name);
118 continuation = suite.RunStep(runner);
125 if (runner.NotifyScore) {
128 runner.NotifyScore(formatted);
171 if (this.runner.NotifyStep) this.runner.NotifyStep(result.benchmark.name);
181 if (this.runner.NotifyResult) {
183 this.runner.NotifyResult(this.name, formatted);
190 if (this.runner.NotifyError) {
191 this.runner.NotifyError(this.name, error);
[all …]
/external/mockito/src/main/java/org/mockito/internal/runners/
DStrictRunner.java7 import org.junit.runner.Description;
8 import org.junit.runner.manipulation.Filter;
9 import org.junit.runner.manipulation.NoTestsRemainException;
10 import org.junit.runner.notification.RunNotifier;
18 private final InternalRunner runner; field in StrictRunner
25 public StrictRunner(InternalRunner runner, Class<?> testClass) { in StrictRunner() argument
26 this.runner = runner; in StrictRunner()
39 runner.run(notifier); in run()
54 return runner.getDescription(); in getDescription()
59 runner.filter(filter); in filter()
DDefaultInternalRunner.java7 import org.junit.runner.Description;
8 import org.junit.runner.manipulation.Filter;
9 import org.junit.runner.manipulation.NoTestsRemainException;
10 import org.junit.runner.notification.Failure;
11 import org.junit.runner.notification.RunListener;
12 import org.junit.runner.notification.RunNotifier;
25 private final BlockJUnit4ClassRunner runner; field in DefaultInternalRunner
28 runner = new BlockJUnit4ClassRunner(testClass) { in DefaultInternalRunner()
85 runner.run(notifier); in run()
89 return runner.getDescription(); in getDescription()
[all …]
/external/libchrome/base/threading/
Dsimple_thread_unittest.cc128 SetIntRunner runner(&stack_int, 7); in TEST() local
131 DelegateSimpleThread thread(&runner, "int_setter"); in TEST()
151 WaitEventRunner runner(&event); in TEST() local
152 DelegateSimpleThread thread(&runner, "event_waiter"); in TEST()
162 ControlledRunner runner; in TEST() local
166 DelegateSimpleThread thread(&runner, "non_joinable", options); in TEST()
175 runner.WaitUntilStarted(); in TEST()
182 std::unique_ptr<ControlledRunner> runner(new ControlledRunner); in TEST() local
187 new DelegateSimpleThread(runner.get(), "non_joinable", options)); in TEST()
190 runner->WaitUntilStarted(); in TEST()
[all …]
/external/libchrome/base/
Dcallback_helpers_unittest.cc38 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST() local
48 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST() local
49 c = runner.Release(); in TEST()
61 base::ScopedClosureRunner runner; in TEST() local
62 runner.ReplaceClosure(base::Bind(&Increment, &run_count_1)); in TEST()
63 runner.ReplaceClosure(base::Bind(&Increment, &run_count_2)); in TEST()
74 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_3)); in TEST() local
76 runner.RunAndReset(); in TEST()
85 std::unique_ptr<base::ScopedClosureRunner> runner( in TEST() local
87 base::ScopedClosureRunner runner2(std::move(*runner)); in TEST()
[all …]
/external/tensorflow/tensorflow/tools/optimization/
Dgpu_optimization_pass_runner_main.cc28 tensorflow::OptimizationPassRunner runner; in main() local
36 TF_CHECK_OK(runner.AddDevice( in main()
39 TF_CHECK_OK(runner.AddDevice( in main()
42 TF_CHECK_OK(runner.AddDevice( in main()
45 TF_CHECK_OK(runner.AddDevice( in main()
48 TF_CHECK_OK(runner.AddDevice( in main()
51 TF_CHECK_OK(runner.AddDevice( in main()
56 TF_CHECK_OK(runner.SetJitLevel(tensorflow::OptimizerOptions::GlobalJitLevel:: in main()
59 TF_CHECK_OK(runner.RunMain(argc, argv)); in main()
/external/autotest/client/common_lib/cros/network/
Diw_runner_unittest.py359 runner = iw_runner.IwRunner(remote_host=host)
360 network = runner.wait_for_scan_result('wlan0', bsses=[test_iw_bss.bss])
410 runner = iw_runner.IwRunner(remote_host=host)
411 networks = runner.wait_for_scan_result('wlan 0',
421 runner = iw_runner.IwRunner(remote_host=host)
423 runner.get_current_bssid(self.STATION_LINK_IFACE),
437 runner = iw_runner.IwRunner(remote_host=host)
439 runner.get_link_value(self.STATION_LINK_INFORMATION,
447 runner = iw_runner.IwRunner(remote_host=host)
449 runner.get_station_dump(self.STATION_DUMP_IFACE),
[all …]
/external/vogar/test/vogar/target/
DTestRunnerTest.java20 import org.junit.runner.RunWith;
47 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_MonitorPortOverridden() local
48 assertEquals(2345, (int) runner.monitorPort); in testRunner_MonitorPortOverridden()
50 runner = testRunnerRule.createTestRunner("--monitorPort", "10"); in testRunner_MonitorPortOverridden()
51 assertEquals(10, (int) runner.monitorPort); in testRunner_MonitorPortOverridden()
57 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_Object() local
58 runner.run(); in testRunner_Object()
68 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_WrongSuiteTest() local
69 runner.run(); in testRunner_WrongSuiteTest()
84 TestRunner runner = testRunnerRule.createTestRunner(); in testRunner_Mixture() local
[all …]

12345678910>>...92