| 166 | virtual void TearDown() { StopAndJoin(); } |
| 167 | |
| 168 | void StopAndJoin() { |
| 169 | _server.Stop(0); |
| 170 | _server.Join(); |
| 171 | _server.ClearServices(); |
| 172 | } |
| 173 | |
| 174 | void SetUpController(brpc::Controller* cntl, bool use_html) const { |
| 175 | cntl->_server = &_server; |
nothing calls this directly
no test coverage detected