Searched refs:task1 (Results 1 – 7 of 7) sorted by relevance
/external/v8/test/unittests/ |
D | cancelable-tasks-unittest.cc | 115 TestTask* task1 = new TestTask(&manager, &result1); in TEST() local 117 SequentialRunner runner1(task1); in TEST() 119 EXPECT_EQ(task1->id(), 1u); in TEST() 140 TestTask* task1 = in TEST() local 144 ThreadedRunner runner1(task1); in TEST() 163 TestTask* task1 = new TestTask(&manager, &result1, TestTask::kCheckNotRun); in TEST() local 165 ThreadedRunner runner1(task1); in TEST() 181 TestTask* task1 = new TestTask(&manager, &result1, TestTask::kCheckNotRun); in TEST() local 182 ThreadedRunner runner1(task1); in TEST() 183 uint32_t id = task1->id(); in TEST() [all …]
|
/external/v8/test/unittests/libplatform/ |
D | default-platform-unittest.cc | 63 StrictMock<MockTask>* task1 = new StrictMock<MockTask>; in TEST() local 66 platform.CallDelayedOnForegroundThread(isolate, task1, 10); in TEST() 71 EXPECT_CALL(*task1, Run()); in TEST() 72 EXPECT_CALL(*task1, Die()); in TEST() 93 StrictMock<MockTask>* task1 = new StrictMock<MockTask>; in TEST() local 96 platform.CallOnForegroundThread(isolate, task1); in TEST() 100 EXPECT_CALL(*task1, Run()); in TEST() 101 EXPECT_CALL(*task1, Die()); in TEST()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | HandlerTest.java | 142 TestRunnable task1 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() local 145 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 149 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 155 TestRunnable task1 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() local 158 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 162 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 168 TestRunnable task1 = new TestRunnable(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() local 172 new Handler().postDelayed(task1, 1); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() 177 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() 184 TestRunnable task1 = new TestRunnable(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst() local [all …]
|
/external/autotest/site_utils/ |
D | status_history.py | 567 task1 = query1.order_by('time_started')[0] 569 task1.time_finished.strftime(time_utils.TIME_FMT)]
|
/external/autotest/scheduler/ |
D | host_scheduler_unittests.py | 152 task1 = self.db_helper.create_special_task(job1.id) 166 self.assertTrue(tasks[0].id == task1.id) 187 task1 = self.db_helper.create_special_task(host_id=host1.id)
|
/external/littlemock/tests/com/google/testing/littlemock/ |
D | LittleMockTest.java | 1361 Future<?> task1 = mExecutorService.submit(new Runnable() { in testConcurrentModificationExceptions() local 1380 task1.cancel(true); in testConcurrentModificationExceptions() 1383 task1.get(); in testConcurrentModificationExceptions()
|
/external/autotest/frontend/afe/ |
D | rpc_interface_unittest.py | 270 self.task1 = models.SpecialTask.objects.create(
|