Home
last modified time | relevance | path

Searched refs:ScopedTaskEnvironment (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/base/test/
Dscoped_task_environment.cc33 ScopedTaskEnvironment::MainThreadType main_thread_type) { in CreateMessageLoopForMainThreadType()
35 case ScopedTaskEnvironment::MainThreadType::DEFAULT: in CreateMessageLoopForMainThreadType()
37 case ScopedTaskEnvironment::MainThreadType::MOCK_TIME: in CreateMessageLoopForMainThreadType()
39 case ScopedTaskEnvironment::MainThreadType::UI: in CreateMessageLoopForMainThreadType()
41 case ScopedTaskEnvironment::MainThreadType::IO: in CreateMessageLoopForMainThreadType()
50 class ScopedTaskEnvironment::TestTaskTracker
69 friend class ScopedTaskEnvironment;
94 ScopedTaskEnvironment::ScopedTaskEnvironment( in ScopedTaskEnvironment() function in base::test::ScopedTaskEnvironment
146 ScopedTaskEnvironment::~ScopedTaskEnvironment() { in ~ScopedTaskEnvironment()
166 ScopedTaskEnvironment::GetMainThreadTaskRunner() { in GetMainThreadTaskRunner()
[all …]
Dscoped_task_environment_unittest.cc34 : 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()
[all …]
Dscoped_task_environment.h66 class ScopedTaskEnvironment {
93 ScopedTaskEnvironment(
99 ~ScopedTaskEnvironment();
171 DISALLOW_COPY_AND_ASSIGN(ScopedTaskEnvironment);
/external/libchrome/base/task_scheduler/
Dlazy_task_runner_unittest.cc119 test::ScopedTaskEnvironment scoped_task_environment_;
167 test::ScopedTaskEnvironment scoped_task_environment; in TEST()
178 test::ScopedTaskEnvironment scoped_task_environment; in TEST()
190 test::ScopedTaskEnvironment scoped_task_environment; in TEST()
/external/libchrome/base/timer/
Dhi_res_timer_manager_unittest.cc24 test::ScopedTaskEnvironment scoped_task_environment( in TEST()
25 test::ScopedTaskEnvironment::MainThreadType::UI); in TEST()
Dtimer_unittest.cc778 base::test::ScopedTaskEnvironment scoped_task_environment_;
/external/libchrome/libchrome_tools/patch/
Dobserver_list_unittest.patch26 test::ScopedTaskEnvironment scoped_task_environment;
39 test::ScopedTaskEnvironment scoped_task_environment;
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbindings_test_base.h38 base::test::ScopedTaskEnvironment task_environment_;
Dtest_helpers_unittest.cc22 base::test::ScopedTaskEnvironment task_environment_;
Dlazy_serialization_unittest.cc23 base::test::ScopedTaskEnvironment task_environment_;
Dsync_method_unittest.cc315 base::test::ScopedTaskEnvironment task_environment;
449 base::test::ScopedTaskEnvironment task_environment;
Dassociated_interface_unittest.cc159 base::test::ScopedTaskEnvironment task_environment;
/external/libchrome/mojo/public/cpp/system/tests/
Dscope_to_message_pipe_unittest.cc37 base::test::ScopedTaskEnvironment task_environment_;
Dinvitation_unittest.cc158 base::test::ScopedTaskEnvironment task_environment_;
250 base::test::ScopedTaskEnvironment task_environment; in TEST()
Dhandle_signal_tracker_unittest.cc35 base::test::ScopedTaskEnvironment task_environment_;
Dstring_data_pipe_producer_unittest.cc118 base::test::ScopedTaskEnvironment task_environment_;
Dfile_data_pipe_producer_unittest.cc136 base::test::ScopedTaskEnvironment task_environment_;
/external/libchrome/base/
Dobserver_list_unittest.cc698 test::ScopedTaskEnvironment scoped_task_environment;
731 test::ScopedTaskEnvironment scoped_task_environment;
793 test::ScopedTaskEnvironment scoped_task_environment;
/external/libchrome/base/debug/
Dtask_annotator_unittest.cc190 test::ScopedTaskEnvironment scoped_task_environment; in TEST_F()
/external/libchrome/mojo/core/
Dinvitation_unittest.cc69 base::test::ScopedTaskEnvironment task_environment_;
/external/libchrome/mojo/core/ports/
Dports_unittest.cc400 base::test::ScopedTaskEnvironment scoped_task_environment_;