Searched refs:TestMockTimeTaskRunner (Results 1 – 12 of 12) sorted by relevance
26 scoped_refptr<const TestMockTimeTaskRunner> task_runner) in LegacyMockTickClock()33 scoped_refptr<const TestMockTimeTaskRunner> task_runner_;41 scoped_refptr<const TestMockTimeTaskRunner> task_runner) in LegacyMockClock()48 scoped_refptr<const TestMockTimeTaskRunner> task_runner_;67 class TestMockTimeTaskRunner::NonOwningProxyTaskRunner133 struct TestMockTimeTaskRunner::TestOrderedPendingTask153 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask() in TestOrderedPendingTask()157 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask(160 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask( in TestOrderedPendingTask()174 TestMockTimeTaskRunner::TestOrderedPendingTask::~TestOrderedPendingTask() =[all …]
24 static constexpr TestMockTimeTaskRunner::Type kTestCases[] = { in TEST()25 TestMockTimeTaskRunner::Type::kStandalone, in TEST()26 TestMockTimeTaskRunner::Type::kBoundToThread}; in TEST()31 auto mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(type); in TEST()86 auto unbound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST()93 auto bound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST()94 TestMockTimeTaskRunner::Type::kBoundToThread); in TEST()196 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST()197 TestMockTimeTaskRunner::Type::kBoundToThread); in TEST()207 auto task_runner2 = MakeRefCounted<TestMockTimeTaskRunner>( in TEST()[all …]
67 class TestMockTimeTaskRunner : public SingleThreadTaskRunner,111 explicit ScopedContext(scoped_refptr<TestMockTimeTaskRunner> scope);132 TestMockTimeTaskRunner(Type type = Type::kStandalone);135 TestMockTimeTaskRunner(Time start_time,194 ~TestMockTimeTaskRunner() override;215 explicit MockClock(TestMockTimeTaskRunner* task_runner) in MockClock()225 TestMockTimeTaskRunner* task_runner_;293 DISALLOW_COPY_AND_ASSIGN(TestMockTimeTaskRunner);
33 TestMockTimeTaskRunner* task_runner() { return task_runner_.get(); } in task_runner()34 TestMockTimeTaskRunner* operator->() { return task_runner_.get(); }37 const scoped_refptr<TestMockTimeTaskRunner> task_runner_;
44 : original_task_runner_(new TestMockTimeTaskRunner()) { in ScopedMockTimeMessageLoopTaskRunnerTest()49 TestMockTimeTaskRunner* original_task_runner() { in original_task_runner()54 scoped_refptr<TestMockTimeTaskRunner> original_task_runner_;
24 class TestMockTimeTaskRunner; variable147 const scoped_refptr<TestMockTimeTaskRunner> mock_time_task_runner_;
101 ? MakeRefCounted<TestMockTimeTaskRunner>( in ScopedTaskEnvironment()102 TestMockTimeTaskRunner::Type::kBoundToThread) in ScopedTaskEnvironment()
18 : task_runner_(new TestMockTimeTaskRunner), in ScopedMockTimeMessageLoopTaskRunner()
66 class MockRunsTasksInCurrentSequenceTaskRunner : public TestMockTimeTaskRunner {69 TestMockTimeTaskRunner::Type type = in MockRunsTasksInCurrentSequenceTaskRunner()70 TestMockTimeTaskRunner::Type::kStandalone) in MockRunsTasksInCurrentSequenceTaskRunner()71 : TestMockTimeTaskRunner(type) {} in MockRunsTasksInCurrentSequenceTaskRunner()122 TestMockTimeTaskRunner::Type::kBoundToThread);
54 const scoped_refptr<TestMockTimeTaskRunner> service_thread_task_runner_ =55 MakeRefCounted<TestMockTimeTaskRunner>();
436 scoped_refptr<TestMockTimeTaskRunner> task_runner( in TEST()437 new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now())); in TEST()477 scoped_refptr<TestMockTimeTaskRunner> task_runner( in TEST()478 new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now())); in TEST()517 scoped_refptr<TestMockTimeTaskRunner> task_runner( in TEST()518 new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now())); in TEST()
95 test_task_runner_ = WrapRefCounted(new TestMockTimeTaskRunner( in SetUp()96 TestMockTimeTaskRunner::Type::kBoundToThread)); in SetUp()143 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_;1374 scoped_refptr<TestMockTimeTaskRunner> test_task_runner, in ExpensiveTestTask()2022 scoped_refptr<TestMockTimeTaskRunner> test_task_runner) { in ChromiumRunloopInspectionTask()2049 scoped_refptr<TestMockTimeTaskRunner> test_task_runner) in QuadraticTask()2077 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_;2084 scoped_refptr<TestMockTimeTaskRunner> test_task_runner) in LinearTask()2110 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_;