Searched refs:task2 (Results 1 – 7 of 7) sorted by relevance
/external/v8/test/unittests/libplatform/ |
D | default-platform-unittest.cc | 64 StrictMock<MockTask>* task2 = new StrictMock<MockTask>; in TEST() local 65 platform.CallDelayedOnForegroundThread(isolate, task2, 100); in TEST() 78 EXPECT_CALL(*task2, Run()); in TEST() 79 EXPECT_CALL(*task2, Die()); in TEST() 94 StrictMock<MockTask>* task2 = new StrictMock<MockTask>; in TEST() local 97 platform.CallDelayedOnForegroundThread(isolate, task2, 10); in TEST() 106 EXPECT_CALL(*task2, Run()); in TEST() 107 EXPECT_CALL(*task2, Die()); in TEST()
|
/external/v8/test/unittests/ |
D | cancelable-tasks-unittest.cc | 116 TestTask* task2 = new TestTask(&manager, &result2); in TEST() local 118 SequentialRunner runner2(task2); in TEST() 120 EXPECT_EQ(task2->id(), 2u); in TEST() 142 TestTask* task2 = in TEST() local 145 ThreadedRunner runner2(task2); in TEST() 164 TestTask* task2 = new TestTask(&manager, &result2, TestTask::kCheckNotRun); in TEST() local 166 ThreadedRunner runner2(task2); in TEST()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | HandlerTest.java | 143 TestRunnable task2 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() local 146 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 150 assertThat(task2.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 156 TestRunnable task2 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() local 159 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 163 assertThat(task2.wasRun, equalTo(false)); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 169 TestRunnable task2 = new TestRunnable(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() local 173 new Handler().postDelayed(task2, 10); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() 178 assertThat(task2.wasRun, equalTo(true)); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() 185 TestRunnable task2 = new TestRunnable(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst() local [all …]
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
D | copy.pass.cpp | 34 auto task2(task); in main() local 36 assert(task2() == 16); in main()
|
/external/autotest/frontend/afe/ |
D | rpc_interface_unittest.py | 274 self.task2 = models.SpecialTask.objects.create( 296 self.task2.time_started = datetime.datetime(2009, 1, 2) 297 self.task2.save()
|
/external/littlemock/tests/com/google/testing/littlemock/ |
D | LittleMockTest.java | 1370 Future<?> task2 = mExecutorService.submit(new Runnable() { in testConcurrentModificationExceptions() local 1381 task2.cancel(true); in testConcurrentModificationExceptions() 1387 task2.get(); in testConcurrentModificationExceptions()
|
/external/autotest/scheduler/ |
D | host_scheduler_unittests.py | 156 task2 = self.db_helper.create_special_task(host_id=host.id)
|