Searched refs:FakeClock (Results 1 – 9 of 9) sorted by relevance
62 class FakeClock : public std::chrono::steady_clock { class71 FakeClock::time_point FakeClock::sNow;80 RateLimiting<FakeClock> rateLimiting; in TEST()81 FakeClock::setNow(now); in TEST()94 RateLimiting<FakeClock> rateLimiting; in TEST()95 FakeClock::setNow(now); in TEST()114 FakeClock::setNow(FakeClock::now() + 29s); in TEST()116 FakeClock::setNow(FakeClock::now() + 1s); in TEST()132 FakeClock::setNow((FakeClock::now() + 60s * (1ULL << (i - 6))) - 1s); in TEST()134 FakeClock::setNow(FakeClock::now() + 1s); in TEST()[all …]
25 class FakeClock : public ClockInterface {27 FakeClock() {} in FakeClock() function46 DISALLOW_COPY_AND_ASSIGN(FakeClock);
195 inline FakeClock* fake_clock() { in fake_clock()267 FakeClock fake_clock_;
51 FakeClock* fake_clock_;
2803 FakeClock fake_clock; in TEST_F()2822 FakeClock fake_clock; in TEST_F()
50 clock_ = new FakeClock(); in SetUp()75 FakeClock* clock_;
94 chromeos_update_engine::FakeClock* fake_clock_;
42 using chromeos_update_engine::FakeClock;132 FakeClock* fake_clock_;
50 using chromeos_update_engine::FakeClock;