Home
last modified time | relevance | path

Searched refs:TestSimpleTaskRunner (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/test/
Dtest_simple_task_runner.cc11 TestSimpleTaskRunner::TestSimpleTaskRunner() {} in TestSimpleTaskRunner() function in base::TestSimpleTaskRunner
13 TestSimpleTaskRunner::~TestSimpleTaskRunner() { in ~TestSimpleTaskRunner()
17 bool TestSimpleTaskRunner::PostDelayedTask( in PostDelayedTask()
28 bool TestSimpleTaskRunner::PostNonNestableDelayedTask( in PostNonNestableDelayedTask()
39 bool TestSimpleTaskRunner::RunsTasksOnCurrentThread() const { in RunsTasksOnCurrentThread()
45 TestSimpleTaskRunner::GetPendingTasks() const { in GetPendingTasks()
50 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask()
55 base::TimeDelta TestSimpleTaskRunner::NextPendingTaskDelay() const { in NextPendingTaskDelay()
60 void TestSimpleTaskRunner::ClearPendingTasks() { in ClearPendingTasks()
65 void TestSimpleTaskRunner::RunPendingTasks() { in RunPendingTasks()
[all …]
Dtest_simple_task_runner.h45 class TestSimpleTaskRunner : public SingleThreadTaskRunner {
47 TestSimpleTaskRunner();
74 ~TestSimpleTaskRunner() override;
80 DISALLOW_COPY_AND_ASSIGN(TestSimpleTaskRunner);
/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc108 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
109 new TestSimpleTaskRunner()); in TEST_F()
126 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
127 new TestSimpleTaskRunner()); in TEST_F()
145 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
146 new TestSimpleTaskRunner()); in TEST_F()
212 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
213 new TestSimpleTaskRunner()); in TEST_F()
241 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()
242 new TestSimpleTaskRunner()); in TEST_F()
[all …]
/external/libchrome/base/timer/
Dtimer_unittest.cc327 scoped_refptr<base::TestSimpleTaskRunner> task_runner = in TEST()
328 new base::TestSimpleTaskRunner(); in TEST()
/external/libchrome/base/message_loop/
Dmessage_loop_unittest.cc1024 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST()
1033 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST()