| 190 | #endif |
| 191 | |
| 192 | void AssertStopNotRequested() { |
| 193 | SleepFor(0.01); |
| 194 | ASSERT_FALSE(stop_token_->IsStopRequested()); |
| 195 | ASSERT_OK(stop_token_->Poll()); |
| 196 | } |
| 197 | |
| 198 | void AssertStopRequested() { |
| 199 | BusyWait(1.0, [&]() { return stop_token_->IsStopRequested(); }); |
nothing calls this directly
no test coverage detected