| 233 | }; |
| 234 | |
| 235 | TEST_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 | |
| 246 | TEST_F(dmHttpServerParserTest, TestSyntaxError) |
| 247 | { |
nothing calls this directly
no test coverage detected