Home
last modified time | relevance | path

Searched refs:TestTimeouts (Results 1 – 25 of 35) sorted by relevance

12

/external/libchrome/base/test/
Dtest_timeouts.cc59 bool TestTimeouts::initialized_ = false;
63 int TestTimeouts::tiny_timeout_ms_ = 100;
64 int TestTimeouts::action_timeout_ms_ = 10000;
66 int TestTimeouts::action_max_timeout_ms_ = 45000;
68 int TestTimeouts::action_max_timeout_ms_ = 30000;
71 int TestTimeouts::test_launcher_timeout_ms_ = 45000;
74 void TestTimeouts::Initialize() { in Initialize()
Dtest_timeouts.h14 class TestTimeouts {
58 DISALLOW_IMPLICIT_CONSTRUCTORS(TestTimeouts);
Dtest_file_util.cc14 const TimeDelta kDelay = TestTimeouts::action_timeout() / kCycles; in EvictFileFromSystemCacheWithRetry()
Dscoped_task_environment_unittest.cc102 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
112 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
Dtest_mock_time_task_runner_unittest.cc224 FROM_HERE, run_loop.QuitWhenIdleClosure(), TestTimeouts::tiny_timeout()); in TEST()
/external/libchrome/base/process/
Dprocess_unittest.cc127 PlatformThread::Sleep(TestTimeouts::action_max_timeout()); in MULTIPROCESS_TEST_MAIN()
144 process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F()
179 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F()
192 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F()
198 PlatformThread::Sleep(TestTimeouts::tiny_timeout() * 10); in MULTIPROCESS_TEST_MAIN()
218 TimeDelta timeout = TestTimeouts::tiny_timeout(); in TEST_F()
Dprocess_util_unittest.cc140 waited < TestTimeouts::action_max_timeout()); in WaitForChildTermination()
188 EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F()
205 EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F()
705 TestTimeouts::action_max_timeout(), nullptr); in TEST_F()
732 TestTimeouts::action_max_timeout(), nullptr); in TEST_F()
738 TestTimeouts::action_max_timeout(), nullptr)); in TEST_F()
795 EXPECT_TRUE(event.TimedWait(TestTimeouts::action_max_timeout())); in TEST_F()
1132 (base::TimeTicks::Now() + TestTimeouts::action_timeout()).ToZxTime(), in TEST_F()
1147 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_timeout(), in TEST_F()
/external/libchrome/base/task_scheduler/
Dtask_scheduler_impl_unittest.cc289 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P()
291 TestTimeouts::tiny_timeout()); in TEST_P()
329 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
343 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P()
345 TestTimeouts::tiny_timeout()); in TEST_P()
351 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
372 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
434 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
573 TestTimeouts::tiny_timeout()); in TEST_F()
575 PlatformThread::Sleep(TestTimeouts::tiny_timeout() * 2); in TEST_F()
[all …]
Dtask_tracker_unittest.cc605 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
622 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
637 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
649 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
666 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
679 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
699 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
707 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
730 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
738 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
[all …]
Dscheduler_worker_pool_unittest.cc254 TestTimeouts::tiny_timeout())); in TEST_P()
262 EXPECT_GE(actual_delay, TestTimeouts::tiny_timeout()); in TEST_P()
264 TimeDelta::FromMilliseconds(250) + TestTimeouts::tiny_timeout()); in TEST_P()
307 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
Dtracked_ref_unittest.cc71 TestTimeouts::tiny_timeout()); in TEST()
76 EXPECT_GE(TimeTicks::Now() - begin, TestTimeouts::tiny_timeout()); in TEST()
Dscheduler_single_thread_task_runner_manager_unittest.cc369 TestTimeouts::tiny_timeout())); in TEST_P()
377 EXPECT_GE(actual_delay, TestTimeouts::tiny_timeout()); in TEST_P()
379 TimeDelta::FromMilliseconds(250) + TestTimeouts::tiny_timeout()); in TEST_P()
653 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_F()
/external/libchrome/mojo/core/
Dtest_utils.cc42 TestTimeouts::tiny_timeout().InMicroseconds()); in TinyDeadline()
47 TestTimeouts::action_timeout().InMicroseconds()); in ActionDeadline()
Dinvitation_unittest.cc463 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
505 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
546 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
660 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
696 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
760 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
846 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
863 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
/external/libchrome/base/files/
Dfile_locking_unittest.cc144 TestTimeouts::action_timeout()); in WaitForEventOrTimeout()
169 lock_child_, TestTimeouts::action_timeout(), &rv)); in ExitChildCleanly()
Dfile_descriptor_watcher_posix_unittest.cc97 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in WaitAndRunPendingTasks()
Dfile_util_unittest.cc2929 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
2943 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
2958 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
2974 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
2989 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
3005 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
3094 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
3110 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
3126 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
3143 child_process, TestTimeouts::action_timeout(), &rv)); in TEST_F()
[all …]
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc237 TestTimeouts::Initialize(); in LaunchUnitTestsInternal()
327 TestTimeouts::test_launcher_timeout()) { in ProcessTestResults()
648 TestTimeouts::test_launcher_timeout(), launch_options, in RunUnitTestsSerially()
681 TimeDelta timeout = test_names.size() * TestTimeouts::test_launcher_timeout(); in RunUnitTestsBatch()
/external/python/cpython2/Lib/test/
Dtest_poplib.py296 class TestTimeouts(TestCase): class
351 tests = [TestPOP3Class, TestTimeouts,
/external/libchrome/dbus/
Dend_to_end_async_unittest.cc447 FROM_HERE, run_loop_->QuitClosure(), TestTimeouts::tiny_timeout()); in TEST_F()
549 FROM_HERE, run_loop_->QuitClosure(), TestTimeouts::tiny_timeout()); in TEST_F()
/external/libchrome/base/
Drun_loop_unittest.cc616 TestTimeouts::tiny_timeout()); in TEST()
631 TestTimeouts::tiny_timeout()); in TEST()
/external/libchrome/base/debug/
Dstack_trace_unittest.cc179 child.WaitForExitWithTimeout(TestTimeouts::action_timeout(), &exit_code)); in TEST_F()
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.cc205 WaitForMultiprocessTestChildExit(test_child_, TestTimeouts::action_timeout(), in WaitForChildShutdown()
/external/python/cpython3/Lib/test/
Dtest_poplib.py479 class TestTimeouts(TestCase): class
537 tests = [TestPOP3Class, TestTimeouts,
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc135 child_process_, TestTimeouts::action_timeout(), &wait_result); in WaitForChildExit()

12