MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / ProtoMatcher

Method ProtoMatcher

internal/proto_matchers.h:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87class ProtoMatcher {
88 public:
89 explicit inline ProtoMatcher(const google::protobuf::Message& expected)
90 : expected_(expected.New()) {
91 expected_->CopyFrom(expected);
92 }
93
94 bool MatchAndExplain(const google::protobuf::MessageLite& p,
95 ::testing::MatchResultListener* listener) const {

Callers

nothing calls this directly

Calls 2

CopyFromMethod · 0.80
NewMethod · 0.45

Tested by

no test coverage detected