Lines Matching refs:ScopedTaskEnvironment
34 : public testing::TestWithParam<ScopedTaskEnvironment::MainThreadType> {};
44 ScopedTaskEnvironment::MainThreadType main_thread_type, in RunUntilIdleTest()
45 ScopedTaskEnvironment::ExecutionMode execution_control_mode) { in RunUntilIdleTest()
47 ScopedTaskEnvironment scoped_task_environment(main_thread_type, in RunUntilIdleTest()
83 RunUntilIdleTest(GetParam(), ScopedTaskEnvironment::ExecutionMode::QUEUED); in TEST_P()
87 RunUntilIdleTest(GetParam(), ScopedTaskEnvironment::ExecutionMode::ASYNC); in TEST_P()
93 ScopedTaskEnvironment scoped_task_environment( in TEST_P()
94 GetParam(), ScopedTaskEnvironment::ExecutionMode::QUEUED); in TEST_P()
120 ScopedTaskEnvironment scoped_task_environment( in TEST_P()
121 GetParam(), ScopedTaskEnvironment::ExecutionMode::ASYNC); in TEST_P()
136 ScopedTaskEnvironment scoped_task_environment( in TEST_P()
137 GetParam(), ScopedTaskEnvironment::ExecutionMode::ASYNC); in TEST_P()
152 ScopedTaskEnvironment scoped_task_environment( in TEST_P()
153 GetParam(), ScopedTaskEnvironment::ExecutionMode::QUEUED); in TEST_P()
220 if (GetParam() == ScopedTaskEnvironment::MainThreadType::MOCK_TIME) { in TEST_P()
242 ScopedTaskEnvironment scoped_task_environment( in TEST_P()
243 GetParam(), ScopedTaskEnvironment::ExecutionMode::ASYNC); in TEST_P()
252 ScopedTaskEnvironment scoped_task_environment( in TEST_F()
253 ScopedTaskEnvironment::MainThreadType::IO, in TEST_F()
254 ScopedTaskEnvironment::ExecutionMode::ASYNC); in TEST_F()
276 ScopedTaskEnvironment scoped_task_environment( in TEST_F()
277 ScopedTaskEnvironment::MainThreadType::MOCK_TIME, in TEST_F()
278 ScopedTaskEnvironment::ExecutionMode::QUEUED); in TEST_F()
309 ::testing::Values(ScopedTaskEnvironment::MainThreadType::DEFAULT));
313 ::testing::Values(ScopedTaskEnvironment::MainThreadType::MOCK_TIME));
317 ::testing::Values(ScopedTaskEnvironment::MainThreadType::UI));
321 ::testing::Values(ScopedTaskEnvironment::MainThreadType::IO));