Home
last modified time | relevance | path

Searched refs:MockTask (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/task_scheduler/
Dsequence_unittest.cc22 class MockTask { class
27 Task CreateTask(MockTask* mock_task) { in CreateTask()
28 return Task(FROM_HERE, BindOnce(&MockTask::Run, Unretained(mock_task)), in CreateTask()
32 void ExpectMockTask(MockTask* mock_task, Task* task) { in ExpectMockTask()
41 testing::StrictMock<MockTask> mock_task_a; in TEST()
42 testing::StrictMock<MockTask> mock_task_b; in TEST()
43 testing::StrictMock<MockTask> mock_task_c; in TEST()
44 testing::StrictMock<MockTask> mock_task_d; in TEST()
45 testing::StrictMock<MockTask> mock_task_e; in TEST()
/external/toolchain-utils/bestflags/
Dmock_task.py15 class MockTask(object): class
46 if isinstance(other, MockTask):
78 class IdentifierMockTask(MockTask):
90 if isinstance(other, MockTask):
Dpipeline_process_test.py14 from mock_task import MockTask
68 inp.put(MockTask(TEST_STAGE, 1))
69 inp.put(MockTask(TEST_STAGE, 1))
70 inp.put(MockTask(TEST_STAGE, 2))
Dpipeline_worker_test.py18 from mock_task import MockTask
72 helper_queue.put(MockTask(TEST_STAGE, result, MockTaskCostGenerator()))
106 mock_tasks.append(MockTask(TEST_STAGE, flag, cost))