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

Function TEST_F

lib/yamlcpp/test/integration/gen_emitter_test.cpp:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11typedef HandlerTest GenEmitterTest;
12
13TEST_F(GenEmitterTest, testf2a8b6e6359fb2c30830) {
14 Emitter out;
15 out << Comment("comment");
16 out << BeginDoc;
17 out << "foo";
18 out << EndDoc;
19
20 EXPECT_CALL(handler, OnDocumentStart(_));
21 EXPECT_CALL(handler, OnScalar(_, "?", 0, "foo"));
22 EXPECT_CALL(handler, OnDocumentEnd());
23 Parse(out.c_str());
24}
25
26TEST_F(GenEmitterTest, testa2c9c04eab06a05bf1a3) {
27 Emitter out;

Callers

nothing calls this directly

Calls 4

VerbatimTagFunction · 0.85
AnchorFunction · 0.85
CommentFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected