Searched refs:TestSimpleTaskRunner (Results 1 – 14 of 14) sorted by relevance
15 TestSimpleTaskRunner::TestSimpleTaskRunner() = default;17 TestSimpleTaskRunner::~TestSimpleTaskRunner() = default;19 bool TestSimpleTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask()29 bool TestSimpleTaskRunner::PostNonNestableDelayedTask(const Location& from_here, in PostNonNestableDelayedTask()42 bool TestSimpleTaskRunner::RunsTasksInCurrentSequence() const { in RunsTasksInCurrentSequence()46 base::circular_deque<TestPendingTask> TestSimpleTaskRunner::TakePendingTasks() { in TakePendingTasks()51 size_t TestSimpleTaskRunner::NumPendingTasks() const { in NumPendingTasks()56 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask()61 base::TimeDelta TestSimpleTaskRunner::NextPendingTaskDelay() const { in NextPendingTaskDelay()66 base::TimeDelta TestSimpleTaskRunner::FinalPendingTaskDelay() const { in FinalPendingTaskDelay()[all …]
40 class TestSimpleTaskRunner : public SingleThreadTaskRunner {42 TestSimpleTaskRunner();73 ~TestSimpleTaskRunner() override;84 DISALLOW_COPY_AND_ASSIGN(TestSimpleTaskRunner);
15 scoped_refptr<SingleThreadTaskRunner> task_runner(new TestSimpleTaskRunner); in TEST()27 scoped_refptr<SingleThreadTaskRunner> task_runner(new TestSimpleTaskRunner); in TEST()29 new TestSimpleTaskRunner); in TEST()37 scoped_refptr<SingleThreadTaskRunner> task_runner_1(new TestSimpleTaskRunner); in TEST()38 scoped_refptr<SingleThreadTaskRunner> task_runner_2(new TestSimpleTaskRunner); in TEST()39 scoped_refptr<SingleThreadTaskRunner> task_runner_3(new TestSimpleTaskRunner); in TEST()40 scoped_refptr<SingleThreadTaskRunner> task_runner_4(new TestSimpleTaskRunner); in TEST()85 scoped_refptr<SingleThreadTaskRunner> task_runner_1(new TestSimpleTaskRunner); in TEST()86 scoped_refptr<SingleThreadTaskRunner> task_runner_2(new TestSimpleTaskRunner); in TEST()112 scoped_refptr<SingleThreadTaskRunner> task_runner(new TestSimpleTaskRunner); in TEST()[all …]
66 MakeRefCounted<TestSimpleTaskRunner>()); in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle()82 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()133 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()150 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()183 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
76 scoped_refptr<SequencedTaskRunner> test_task_runner(new TestSimpleTaskRunner); in TEST()
109 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()110 new TestSimpleTaskRunner()); in TEST_F()127 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()128 new TestSimpleTaskRunner()); in TEST_F()146 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()147 new TestSimpleTaskRunner()); in TEST_F()213 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()214 new TestSimpleTaskRunner()); in TEST_F()242 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()243 new TestSimpleTaskRunner()); in TEST_F()[all …]
13 class TestSimpleTaskRunner; variable33 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;52 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;71 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;
13 void FlushPendingTasks(TestSimpleTaskRunner* task_runner) { in FlushPendingTasks()28 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockOneShotTimer()47 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRepeatingTimer()66 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRetainingOneShotTimer()
78 task_runner_(new base::TestSimpleTaskRunner()) { in PolicyStatisticsCollectorTest()133 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
14 : task_runner_(new base::TestSimpleTaskRunner), in UserActionTester()
539 scoped_refptr<SequencedTaskRunner> test_task_runner(new TestSimpleTaskRunner); in TEST_P()564 new TestSimpleTaskRunner); in TEST_P()
1326 MakeRefCounted<TestSimpleTaskRunner>(); in TEST()
2134 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST_P()2143 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST_P()
3114 MakeRefCounted<TestSimpleTaskRunner>(); in TEST_P()