| 199 | } |
| 200 | |
| 201 | void run() { |
| 202 | container_.run(); |
| 203 | ASSERT_EQUAL(1, start_count); |
| 204 | ASSERT_EQUAL(3, open_count); |
| 205 | // Could be > 3, unpredictable number reconnects while listener comes up. |
| 206 | ASSERT(2 < transport_error_count); |
| 207 | // Last reconnect fails before opening links |
| 208 | ASSERT(1 < link_open_count); |
| 209 | // One final transport close, not an error |
| 210 | ASSERT_EQUAL(1, transport_close_count); |
| 211 | ASSERT_EQUAL(0, connection_error_count); |
| 212 | } |
| 213 | |
| 214 | private: |
| 215 | std::unique_ptr<server_connection_handler> s1; |
no outgoing calls
no test coverage detected