Home
last modified time | relevance | path

Searched refs:task2 (Results 1 – 7 of 7) sorted by relevance

/external/v8/test/unittests/libplatform/
Ddefault-platform-unittest.cc64 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/
Dcancelable-tasks-unittest.cc116 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/
DHandlerTest.java143 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/
Dcopy.pass.cpp34 auto task2(task); in main() local
36 assert(task2() == 16); in main()
/external/autotest/frontend/afe/
Drpc_interface_unittest.py274 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/
DLittleMockTest.java1370 Future<?> task2 = mExecutorService.submit(new Runnable() { in testConcurrentModificationExceptions() local
1381 task2.cancel(true); in testConcurrentModificationExceptions()
1387 task2.get(); in testConcurrentModificationExceptions()
/external/autotest/scheduler/
Dhost_scheduler_unittests.py156 task2 = self.db_helper.create_special_task(host_id=host.id)