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

Function TEST_F

engine/dlib/src/test/test_httpserver.cpp:235–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233};
234
235TEST_F(dmHttpServerParserTest, TestMoreData)
236{
237 const char* headers = "GET / HTTP/1.0\r\n";
238
239 dmHttpServerPrivate::ParseResult r;
240 r = Parse(headers);
241 ASSERT_EQ(dmHttpServerPrivate::PARSE_RESULT_NEED_MORE_DATA, r);
242 ASSERT_EQ(-1, m_Major);
243 ASSERT_EQ(-1, m_Minor);
244}
245
246TEST_F(dmHttpServerParserTest, TestSyntaxError)
247{

Callers

nothing calls this directly

Calls 10

dmAtomicGet32Function · 0.85
dmSnPrintfFunction · 0.85
ParseFunction · 0.50
NewFunction · 0.50
UpdateFunction · 0.50
SleepFunction · 0.50
JoinFunction · 0.50
GetFunction · 0.50
DeleteFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected