MCPcopy Create free account
hub / github.com/apache/brpc / TEST_F

Function TEST_F

test/brpc_http_status_code_unittest.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29};
30
31TEST_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}

Callers

nothing calls this directly

Calls 1

HttpReasonPhraseFunction · 0.85

Tested by

no test coverage detected