| 29 | }; |
| 30 | |
| 31 | TEST_F(HttpStatusTest, sanity) { |
| 32 | ASSERT_STREQ("OK", brpc::HttpReasonPhrase( |
| 33 | brpc::HTTP_STATUS_OK)); |
| 34 | ASSERT_STREQ("Continue", brpc::HttpReasonPhrase( |
| 35 | brpc::HTTP_STATUS_CONTINUE)); |
| 36 | ASSERT_STREQ("HTTP Version Not Supported", brpc::HttpReasonPhrase( |
| 37 | brpc::HTTP_STATUS_VERSION_NOT_SUPPORTED)); |
| 38 | ASSERT_STREQ("Unknown status code (-2)", brpc::HttpReasonPhrase(-2)); |
| 39 | } |
nothing calls this directly
no test coverage detected