Searched refs:fake_clock (Results 1 – 9 of 9) sorted by relevance
85 FakeClock fake_clock; in TEST() local90 fake_system_state.set_clock(&fake_clock); in TEST()94 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST()116 fake_clock.SetWallclockTime(base::Time::FromInternalValue(2000000)); in TEST()125 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()136 fake_clock.SetWallclockTime(base::Time::FromInternalValue(3000000)); in TEST()139 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()148 FakeClock fake_clock; in TEST() local151 fake_system_state.set_clock(&fake_clock); in TEST()154 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(1000000)); in TEST()[all …]
62 FakeClock fake_clock; in TEST_F() local66 fake_system_state.set_clock(&fake_clock); in TEST_F()68 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST_F()69 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(1000000)); in TEST_F()111 fake_clock.SetWallclockTime(base::Time::FromInternalValue(61000000)); in TEST_F()112 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(61000000)); in TEST_F()187 FakeClock fake_clock; in TEST_F() local190 fake_system_state.set_clock(&fake_clock); in TEST_F()192 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST_F()193 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(1000000)); in TEST_F()[all …]
1056 FakeClock fake_clock; in TEST() local1061 fake_clock.SetWallclockTime(Time::FromInternalValue(1000000)); in TEST()1062 fake_clock.SetMonotonicTime(Time::FromInternalValue(2000000)); in TEST()1064 fake_system_state.set_clock(&fake_clock); in TEST()1073 fake_clock.SetWallclockTime(Time::FromInternalValue(8000000)); in TEST()1074 fake_clock.SetMonotonicTime(Time::FromInternalValue(6000000)); in TEST()1087 fake_clock.SetWallclockTime(Time::FromInternalValue(18000000)); in TEST()1088 fake_clock.SetMonotonicTime(Time::FromInternalValue(16000000)); in TEST()1096 fake_clock.SetMonotonicTime(Time::FromInternalValue(5000)); in TEST()1106 fake_clock.SetWallclockTime(Time::FromInternalValue(25000000)); in TEST()[all …]
1079 FakeClock fake_clock; in TEST_F() local1082 fake_system_state_.set_clock(&fake_clock); in TEST_F()1086 fake_clock.SetWallclockTime(epoch); in TEST_F()1095 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()1099 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()1104 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()1111 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()1113 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()1118 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()1120 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()[all …]
1200 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1276 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1302 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1341 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1384 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()2421 fake_system_state_.fake_clock()->SetWallclockTime(arbitrary_date); in TEST_F()2462 fake_system_state_.fake_clock()->SetWallclockTime(t2); in TEST_F()3045 FakeClock fake_clock; in TEST_F() local3047 fake_clock.SetWallclockTime(now); in TEST_F()3048 fake_system_state_.set_clock(&fake_clock); in TEST_F()[all …]
184 inline FakeClock* fake_clock() { in fake_clock() function
665 FakeClock fake_clock; in TEST_F() local666 MockPolicy* mock_policy = new MockPolicy(&fake_clock); in TEST_F()
103 fake_clock_ = fake_sys_state_.fake_clock(); in SetUp()
517 : start_at_offset_(0), fake_um_(fake_system_state_.fake_clock()) {} in P2PDownloadActionTest()