MCPcopy Create free account
hub / github.com/defold/defold / TEST_F

Function TEST_F

engine/dlib/src/test/test_httpclient.cpp:364–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362};
363
364TEST_F(dmHttpClientParserTest, TestMoreData)
365{
366 const char* headers = "HTTP/1.1 200 OK\r\n";
367
368 dmHttpClient::ParseResult r;
369 r = Parse(headers, false);
370 ASSERT_EQ(dmHttpClient::PARSE_RESULT_NEED_MORE_DATA, r);
371 ASSERT_EQ(-1, m_Status);
372}
373
374TEST_F(dmHttpClientParserTest, TestSyntaxError)
375{

Callers

nothing calls this directly

Calls 2

ParseFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected