MCPcopy Create free account
hub / github.com/apache/trafficserver / TEST

Function TEST

lib/yamlcpp/test/parser_test.cpp:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

HandleNextDocumentMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected