MCPcopy Create free account
hub / github.com/catboost/catboost / Y_UNIT_TEST

Function Y_UNIT_TEST

library/cpp/neh/http_common_ut.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7Y_UNIT_TEST_SUITE(THttpCommon) {
8 Y_UNIT_TEST(TCheckRequestFlags) {
9 NNeh::TMessage msg = NNeh::TMessage::FromString("http://localhost:3380/ntables");
10 UNIT_ASSERT(NNeh::NHttp::MakeFullRequest(msg, "", "", "", NNeh::NHttp::DefaultRequestType, NNeh::NHttp::ERequestFlag::AbsoluteUri));
11 UNIT_ASSERT(msg.Data.StartsWith("GET http://localhost:3380/ntables HTTP/1.1"));
12 }
13
14 Y_UNIT_TEST(TMakeFullRequest) {
15 {

Callers

nothing calls this directly

Calls 11

MakeFullRequestFunction · 0.85
IsHttpSchemeFunction · 0.85
MakeFullProxyRequestFunction · 0.85
FromStringFunction · 0.50
ToStringFunction · 0.50
StartsWithMethod · 0.45
ContainsMethod · 0.45
findMethod · 0.45
StrMethod · 0.45
NextMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected