Home
last modified time | relevance | path

Searched refs:one_second (Results 1 – 2 of 2) sorted by relevance

/external/libweave/third_party/chromium/base/time/
Dtime_unittest.cc733 TimeDelta one_second = TimeDelta::FromSeconds(1); in TEST() local
736 EXPECT_TRUE((large_delta + one_second).is_max()); in TEST()
737 EXPECT_TRUE(IsMin(large_negative + (-one_second))); in TEST()
738 EXPECT_TRUE(IsMin(large_negative - one_second)); in TEST()
739 EXPECT_TRUE((large_delta - (-one_second)).is_max()); in TEST()
747 delta += one_second; in TEST()
750 delta += -one_second; in TEST()
754 delta -= one_second; in TEST()
757 delta -= -one_second; in TEST()
781 EXPECT_EQ(one_second, (time_now + one_second) - time_now); in TEST()
[all …]
/external/libchrome/base/time/
Dtime_unittest.cc983 TimeDelta one_second = TimeDelta::FromSeconds(1); in TEST() local
986 EXPECT_TRUE((large_delta + one_second).is_max()); in TEST()
987 EXPECT_TRUE(IsMin(large_negative + (-one_second))); in TEST()
988 EXPECT_TRUE(IsMin(large_negative - one_second)); in TEST()
989 EXPECT_TRUE((large_delta - (-one_second)).is_max()); in TEST()
997 delta += one_second; in TEST()
1000 delta += -one_second; in TEST()
1004 delta -= one_second; in TEST()
1007 delta -= -one_second; in TEST()
1031 EXPECT_EQ(one_second, (time_now + one_second) - time_now); in TEST()
[all …]