Searched refs:fake_clock (Results 1 – 9 of 9) sorted by relevance
79 FakeClock fake_clock; in TEST() local84 fake_system_state.set_clock(&fake_clock); in TEST()88 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST()110 fake_clock.SetWallclockTime(base::Time::FromInternalValue(2000000)); in TEST()119 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()130 fake_clock.SetWallclockTime(base::Time::FromInternalValue(3000000)); in TEST()133 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()142 FakeClock fake_clock; in TEST() local145 fake_system_state.set_clock(&fake_clock); in TEST()148 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 …]
1060 FakeClock fake_clock; in TEST() local1065 fake_clock.SetWallclockTime(Time::FromInternalValue(1000000)); in TEST()1066 fake_clock.SetMonotonicTime(Time::FromInternalValue(2000000)); in TEST()1068 fake_system_state.set_clock(&fake_clock); in TEST()1077 fake_clock.SetWallclockTime(Time::FromInternalValue(8000000)); in TEST()1078 fake_clock.SetMonotonicTime(Time::FromInternalValue(6000000)); in TEST()1091 fake_clock.SetWallclockTime(Time::FromInternalValue(18000000)); in TEST()1092 fake_clock.SetMonotonicTime(Time::FromInternalValue(16000000)); in TEST()1100 fake_clock.SetMonotonicTime(Time::FromInternalValue(5000)); in TEST()1110 fake_clock.SetWallclockTime(Time::FromInternalValue(25000000)); in TEST()[all …]
1375 FakeClock fake_clock; in TEST_F() local1378 fake_system_state_.set_clock(&fake_clock); in TEST_F()1382 fake_clock.SetWallclockTime(epoch); in TEST_F()1391 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()1395 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()1400 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()1407 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()1409 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()1414 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()1416 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()[all …]
1095 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1111 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1153 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1170 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1191 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1206 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1230 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()1246 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()2101 fake_system_state_.fake_clock()->SetWallclockTime(arbitrary_date); in TEST_F()2133 fake_system_state_.fake_clock()->SetWallclockTime(t2); in TEST_F()[all …]
184 inline FakeClock* fake_clock() { in fake_clock() function
824 FakeClock fake_clock; in TEST_F() local825 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()