Lines Matching refs:milliseconds
33 constexpr double kTIMING_TOLERANCE_MS = std::chrono::milliseconds(25).count();
122 std::chrono::milliseconds expire_time = t.Update(true); in TEST()
125 EXPECT_NEAR(std::chrono::milliseconds(500).count(), expire_time.count(), in TEST()
131 EXPECT_NEAR(std::chrono::milliseconds(200).count(), expire_time.count(), in TEST()
137 EXPECT_NEAR(std::chrono::milliseconds(300).count(), expire_time.count(), in TEST()
143 EXPECT_EQ(std::chrono::milliseconds::max(), expire_time); in TEST()
152 std::chrono::milliseconds expire_time = t.Update(true); in TEST()
155 EXPECT_NEAR(std::chrono::milliseconds(500).count(), expire_time.count(), in TEST()
161 EXPECT_NEAR(std::chrono::milliseconds(200).count(), expire_time.count(), in TEST()
167 EXPECT_NEAR(std::chrono::milliseconds(500).count(), expire_time.count(), in TEST()
173 EXPECT_EQ(std::chrono::milliseconds::max(), expire_time); in TEST()
182 std::chrono::milliseconds expire_time = t.Update(true); in TEST()
185 EXPECT_NEAR(std::chrono::milliseconds(500).count(), expire_time.count(), in TEST()
191 EXPECT_NEAR(std::chrono::milliseconds(200).count(), expire_time.count(), in TEST()
197 EXPECT_NEAR(std::chrono::milliseconds(200).count(), expire_time.count(), in TEST()
203 EXPECT_NEAR(std::chrono::milliseconds(300).count(), expire_time.count(), in TEST()
209 EXPECT_NEAR(std::chrono::milliseconds(500).count(), expire_time.count(), in TEST()
215 EXPECT_EQ(std::chrono::milliseconds::max(), expire_time); in TEST()