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

Function DescribeMessage

conformance/utils.h:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace cel_conformance {
34
35inline std::string DescribeMessage(const google::protobuf::Message& message) {
36 std::string string;
37 ABSL_CHECK(google::protobuf::TextFormat::PrintToString(message, &string));
38 if (string.empty()) {
39 string = "\"\"\n";
40 }
41 return string;
42}
43
44MATCHER_P(MatchesConformanceValue, expected, "") {
45 static auto* kFieldComparator = []() {

Callers 1

utils.hFile · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected