Searched refs:fake_clock (Results 1 – 7 of 7) sorted by relevance
82 FakeClock fake_clock; in TEST() local87 fake_system_state.set_clock(&fake_clock); in TEST()91 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST()117 fake_clock.SetWallclockTime(base::Time::FromInternalValue(2000000)); in TEST()128 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()141 fake_clock.SetWallclockTime(base::Time::FromInternalValue(3000000)); in TEST()145 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()155 FakeClock fake_clock; in TEST() local158 fake_system_state.set_clock(&fake_clock); in TEST()161 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(1000000)); in TEST()[all …]
1052 FakeClock fake_clock; in TEST() local1057 fake_clock.SetWallclockTime(Time::FromInternalValue(1000000)); in TEST()1058 fake_clock.SetMonotonicTime(Time::FromInternalValue(2000000)); in TEST()1060 fake_system_state.set_clock(&fake_clock); in TEST()1069 fake_clock.SetWallclockTime(Time::FromInternalValue(8000000)); in TEST()1070 fake_clock.SetMonotonicTime(Time::FromInternalValue(6000000)); in TEST()1083 fake_clock.SetWallclockTime(Time::FromInternalValue(18000000)); in TEST()1084 fake_clock.SetMonotonicTime(Time::FromInternalValue(16000000)); in TEST()1092 fake_clock.SetMonotonicTime(Time::FromInternalValue(5000)); in TEST()1102 fake_clock.SetWallclockTime(Time::FromInternalValue(25000000)); in TEST()[all …]
862 FakeClock fake_clock; in TEST_F() local865 fake_system_state_.set_clock(&fake_clock); in TEST_F()869 fake_clock.SetWallclockTime(epoch); in TEST_F()878 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()882 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()887 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()894 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()896 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()901 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()903 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()[all …]
175 inline FakeClock* fake_clock() { in fake_clock() function
2042 fake_system_state_.fake_clock()->SetWallclockTime(arbitrary_date); in TEST_F()2086 fake_system_state_.fake_clock()->SetWallclockTime(t2); in TEST_F()
77 fake_clock_ = fake_sys_state_.fake_clock(); in SetUp()
416 fake_um_(fake_system_state_.fake_clock()) {} in P2PDownloadActionTest()