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

Function GetDescriptorPool

testing/testrunner/runner_lib.cc:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109const google::protobuf::DescriptorPool* GetDescriptorPool(const CelTestContext& context) {
110 return context.cel_expression_builder() != nullptr
111 ? google::protobuf::DescriptorPool::generated_pool()
112 : context.runtime()->GetDescriptorPool();
113}
114
115google::protobuf::MessageFactory* GetMessageFactory(const CelTestContext& context) {
116 return context.cel_expression_builder() != nullptr

Callers 4

EvalWithLegacyBindingsFunction · 0.85
ResolveValueFunction · 0.85
AssertValueMethod · 0.85

Calls 3

runtimeMethod · 0.80
GetDescriptorPoolMethod · 0.45

Tested by

no test coverage detected