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

Function GetMessageFactory

testing/testrunner/runner_lib.cc:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115google::protobuf::MessageFactory* GetMessageFactory(const CelTestContext& context) {
116 return context.cel_expression_builder() != nullptr
117 ? google::protobuf::MessageFactory::generated_factory()
118 : context.runtime()->GetMessageFactory();
119}
120
121absl::StatusOr<cel::Value> EvalWithModernBindings(
122 const CheckedExpr& checked_expr, const CelTestContext& context,

Callers 4

EvalWithLegacyBindingsFunction · 0.85
ResolveValueFunction · 0.85
AssertValueMethod · 0.85

Calls 3

runtimeMethod · 0.80
GetMessageFactoryMethod · 0.45

Tested by

no test coverage detected