Searched refs:MockTask (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/task_scheduler/ |
D | sequence_unittest.cc | 22 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/ |
D | mock_task.py | 15 class MockTask(object): class 46 if isinstance(other, MockTask): 78 class IdentifierMockTask(MockTask): 90 if isinstance(other, MockTask):
|
D | pipeline_process_test.py | 14 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))
|
D | pipeline_worker_test.py | 18 from mock_task import MockTask 72 helper_queue.put(MockTask(TEST_STAGE, result, MockTaskCostGenerator())) 106 mock_tasks.append(MockTask(TEST_STAGE, flag, cost))
|