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

Method ExpectAnyOutput

lib/yamlcpp/test/node/node_test.cpp:737–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735 }
736
737 void ExpectAnyOutput(const Node& node, const std::string& output1,
738 const std::string& output2) {
739 Emitter emitter;
740 emitter << node;
741 ASSERT_TRUE(emitter.good());
742 EXPECT_THAT(emitter.c_str(), AnyOf(Eq(output1), Eq(output2)));
743 }
744};
745
746TEST_F(NodeEmitterTest, SimpleFlowSeqNode) {

Callers

nothing calls this directly

Calls 2

goodMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected