Searched refs:TestIOThread (Results 1 – 14 of 14) sorted by relevance
26 class TestIOThread {29 explicit TestIOThread(Mode mode);31 TestIOThread(const TestIOThread&) = delete;32 TestIOThread& operator=(const TestIOThread&) = delete;35 ~TestIOThread();
12 TestIOThread::TestIOThread(Mode mode) in TestIOThread() function in base::TestIOThread24 TestIOThread::~TestIOThread() { in ~TestIOThread()28 void TestIOThread::Start() { in Start()35 void TestIOThread::Stop() { in Stop()41 void TestIOThread::PostTask(const Location& from_here, base::OnceClosure task) { in PostTask()
28 class TestIOThread {31 explicit TestIOThread(Mode mode);33 ~TestIOThread();55 DISALLOW_COPY_AND_ASSIGN(TestIOThread);
31 class TestIOThread {34 explicit TestIOThread(Mode mode);36 ~TestIOThread();58 DISALLOW_COPY_AND_ASSIGN(TestIOThread);
601 std::vector<std::unique_ptr<TestIOThread>> threads; in TEST_F()606 WrapUnique(new TestIOThread(TestIOThread::kAutoStart))); in TEST_F()650 std::vector<std::unique_ptr<TestIOThread>> threads; in TEST_F()655 WrapUnique(new TestIOThread(TestIOThread::kAutoStart))); in TEST_F()667 TestIOThread* other_thread = threads[other_idx].get(); in TEST_F()675 base::BindOnce(&TestIOThread::Stop, base::Unretained(other_thread))); in TEST_F()758 TestIOThread thread_for_unregistration(TestIOThread::kAutoStart); in TEST_F()
653 std::vector<std::unique_ptr<TestIOThread>> threads; in TEST_F()657 threads.push_back(std::make_unique<TestIOThread>(TestIOThread::kAutoStart)); in TEST_F()702 std::vector<std::unique_ptr<TestIOThread>> threads; in TEST_F()706 threads.push_back(std::make_unique<TestIOThread>(TestIOThread::kAutoStart)); in TEST_F()718 TestIOThread* other_thread = threads[other_idx].get(); in TEST_F()726 base::BindOnce(&TestIOThread::Stop, base::Unretained(other_thread))); in TEST_F()812 TestIOThread thread_for_unregistration(TestIOThread::kAutoStart); in TEST_F()
19 base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart); in main()
42 base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart); in main()
18 base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart); in main()
21 base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart); in main()
33 base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart); in main()