* Check that there are no more events in the log */
| 286 | * Check that there are no more events in the log |
| 287 | */ |
| 288 | void checkNoEvents(const std::shared_ptr<EventLog>& log) { |
| 289 | // Wait for an event with a very short timeout period. We don't expect |
| 290 | // anything to be present, so we will normally wait for the full timeout. |
| 291 | // On the other hand, a non-zero timeout is nice since it does give a short |
| 292 | // window for events to arrive in case there is a problem. |
| 293 | Event event = log->waitForEvent(10); |
| 294 | BOOST_CHECK_EQUAL(EventLog::ET_LOG_END, event.type); |
| 295 | } |
| 296 | |
| 297 | /** |
| 298 | * Check for the events that should be logged when a new connection is created. |
no test coverage detected