MCPcopy Create free account
hub / github.com/3rdparty/libprocess / TEST_P

Function TEST_P

src/tests/http_tests.cpp:246–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244// TODO(vinod): Use AWAIT_EXPECT_RESPONSE_STATUS_EQ in the tests.
245
246TEST_P(HTTPTest, Statuses)
247{
248 EXPECT_TRUE(process::http::isValidStatus(200));
249 EXPECT_TRUE(process::http::isValidStatus(404));
250 EXPECT_FALSE(process::http::isValidStatus(1337));
251}
252
253TEST_P(HTTPTest, Endpoints)
254{

Callers

nothing calls this directly

Calls 15

isValidStatusFunction · 0.85
create_tls_client_configFunction · 0.85
OKClass · 0.85
getFunction · 0.85
InternalServerErrorClass · 0.85
FutureSatisfyFunction · 0.85
URLClass · 0.85
AcceptedClass · 0.85
requestDeleteFunction · 0.85
requestFunction · 0.85
createRequestFunction · 0.85
selfMethod · 0.80

Tested by

no test coverage detected