Searched refs:epoch (Results 1 – 2 of 2) sorted by relevance
1381 Time epoch = Time::FromInternalValue(0); in TEST_F() local1382 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()1424 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()[all …]
1553 Time epoch = Time::FromInternalValue(1000000); in TEST() local1554 fake_clock.SetWallclockTime(epoch); in TEST()1560 EXPECT_EQ(epoch, payload_state.GetP2PFirstAttemptTimestamp()); in TEST()1567 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds) / 2); in TEST()1572 EXPECT_EQ(epoch, payload_state.GetP2PFirstAttemptTimestamp()); in TEST()1576 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds - 1)); in TEST()1581 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds + 1)); in TEST()