| 10 | using ::testing::StrictMock; |
| 11 | |
| 12 | TEST(ParserTest, Empty) { |
| 13 | Parser parser; |
| 14 | |
| 15 | EXPECT_FALSE(parser); |
| 16 | |
| 17 | StrictMock<MockEventHandler> handler; |
| 18 | EXPECT_FALSE(parser.HandleNextDocument(handler)); |
| 19 | } |
| 20 | |
| 21 | TEST(ParserTest, CVE_2017_5950) { |
| 22 | std::string excessive_recursion; |
nothing calls this directly
no test coverage detected