Lines Matching refs:kOneSecond
1472 constexpr TimeDelta kOneSecond = TimeDelta::FromSeconds(1); in TEST() local
1475 EXPECT_TRUE((large_delta + kOneSecond).is_max()); in TEST()
1476 EXPECT_TRUE((large_negative + (-kOneSecond)).is_min()); in TEST()
1477 EXPECT_TRUE((large_negative - kOneSecond).is_min()); in TEST()
1478 EXPECT_TRUE((large_delta - (-kOneSecond)).is_max()); in TEST()
1485 EXPECT_EQ((large_delta + kOneSecond).InSecondsF(), in TEST()
1487 EXPECT_EQ((large_delta + kOneSecond).InMillisecondsF(), in TEST()
1489 EXPECT_EQ((large_delta + kOneSecond).InMicrosecondsF(), in TEST()
1494 delta += kOneSecond; in TEST()
1497 delta += -kOneSecond; in TEST()
1501 delta -= kOneSecond; in TEST()
1504 delta -= -kOneSecond; in TEST()
1528 EXPECT_EQ(kOneSecond, (time_now + kOneSecond) - time_now); in TEST()
1529 EXPECT_EQ(-kOneSecond, (time_now - kOneSecond) - time_now); in TEST()
1532 EXPECT_EQ(-kOneSecond, (ticks_now - kOneSecond) - ticks_now); in TEST()
1533 EXPECT_EQ(kOneSecond, (ticks_now + kOneSecond) - ticks_now); in TEST()