Remove Timer::FireNow.

PiperOrigin-RevId: 811123106
This commit is contained in:
Francis Tsui
2025-09-24 18:44:41 -07:00
committed by Copybara-Service
parent eb3ae063f5
commit 72088b7fe2
15 changed files with 0 additions and 142 deletions
-10
View File
@@ -49,16 +49,6 @@ TEST(TimerImpl, TestStartRunningTimer) {
timer.Stop();
}
TEST(TimerImpl, TestFireNow) {
TimerImpl timer;
int count = 0;
EXPECT_TRUE(timer.Start(100, 100, [&count]() { ++count; }));
EXPECT_TRUE(timer.FireNow());
timer.Stop();
EXPECT_EQ(count, 1);
}
TEST(TimerImpl, TestStopAfterFire) {
TimerImpl timer;
absl::Notification notification;