Lines Matching refs:FromMilliseconds
46 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST()
69 entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1)); in TEST()
71 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST()
76 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST()
80 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST()
93 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); in TEST()
101 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1000)); in TEST()
138 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result); in TEST()
139 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST()
144 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result); in TEST()
145 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease()); in TEST()
150 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST()
151 EXPECT_EQ(TimeDelta::FromMilliseconds(4000), entry.GetTimeUntilRelease()); in TEST()
159 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(20000), result); in TEST()
175 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST()
179 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST()
183 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease()); in TEST()
187 EXPECT_EQ(TimeDelta::FromMilliseconds(4000), entry.GetTimeUntilRelease()); in TEST()
195 EXPECT_EQ(TimeDelta::FromMilliseconds(20000), entry.GetTimeUntilRelease()); in TEST()
210 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(3200), result); in TEST()
212 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST()
222 EXPECT_EQ(TimeTicks() + TimeDelta::FromMilliseconds(1000), release_time); in TEST()
226 entry.set_now(release_time - TimeDelta::FromMilliseconds(200)); in TEST()
232 EXPECT_EQ(release_time + TimeDelta::FromMilliseconds(800), in TEST()
245 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST()
249 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease()); in TEST()
250 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); in TEST()
254 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST()
258 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease()); in TEST()
259 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); in TEST()
278 TimeTicks() + TimeDelta::FromDays(3) + TimeDelta::FromMilliseconds(1000), in TEST()