/external/libchrome/base/test/ |
D | test_timeouts.cc | 59 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()
|
D | test_timeouts.h | 14 class TestTimeouts { 58 DISALLOW_IMPLICIT_CONSTRUCTORS(TestTimeouts);
|
D | test_file_util.cc | 14 const TimeDelta kDelay = TestTimeouts::action_timeout() / kCycles; in EvictFileFromSystemCacheWithRetry()
|
D | scoped_task_environment_unittest.cc | 102 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 112 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
|
D | test_mock_time_task_runner_unittest.cc | 224 FROM_HERE, run_loop.QuitWhenIdleClosure(), TestTimeouts::tiny_timeout()); in TEST()
|
/external/libchrome/base/process/ |
D | process_unittest.cc | 127 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()
|
D | process_util_unittest.cc | 140 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/ |
D | task_scheduler_impl_unittest.cc | 289 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 …]
|
D | task_tracker_unittest.cc | 605 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 …]
|
D | scheduler_worker_pool_unittest.cc | 254 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()
|
D | tracked_ref_unittest.cc | 71 TestTimeouts::tiny_timeout()); in TEST() 76 EXPECT_GE(TimeTicks::Now() - begin, TestTimeouts::tiny_timeout()); in TEST()
|
D | scheduler_single_thread_task_runner_manager_unittest.cc | 369 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/ |
D | test_utils.cc | 42 TestTimeouts::tiny_timeout().InMicroseconds()); in TinyDeadline() 47 TestTimeouts::action_timeout().InMicroseconds()); in ActionDeadline()
|
D | invitation_unittest.cc | 463 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/ |
D | file_locking_unittest.cc | 144 TestTimeouts::action_timeout()); in WaitForEventOrTimeout() 169 lock_child_, TestTimeouts::action_timeout(), &rv)); in ExitChildCleanly()
|
D | file_descriptor_watcher_posix_unittest.cc | 97 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in WaitAndRunPendingTasks()
|
D | file_util_unittest.cc | 2929 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/ |
D | unit_test_launcher.cc | 237 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/ |
D | test_poplib.py | 296 class TestTimeouts(TestCase): class 351 tests = [TestPOP3Class, TestTimeouts,
|
/external/libchrome/dbus/ |
D | end_to_end_async_unittest.cc | 447 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/ |
D | run_loop_unittest.cc | 616 TestTimeouts::tiny_timeout()); in TEST() 631 TestTimeouts::tiny_timeout()); in TEST()
|
/external/libchrome/base/debug/ |
D | stack_trace_unittest.cc | 179 child.WaitForExitWithTimeout(TestTimeouts::action_timeout(), &exit_code)); in TEST_F()
|
/external/libchrome/mojo/core/test/ |
D | multiprocess_test_helper.cc | 205 WaitForMultiprocessTestChildExit(test_child_, TestTimeouts::action_timeout(), in WaitForChildShutdown()
|
/external/python/cpython3/Lib/test/ |
D | test_poplib.py | 479 class TestTimeouts(TestCase): class 537 tests = [TestPOP3Class, TestTimeouts,
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | invitation_unittest.cc | 135 child_process_, TestTimeouts::action_timeout(), &wait_result); in WaitForChildExit()
|