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

Function TestBindLegacyValue

extensions/select_optimization_test.cc:304–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304absl::Status TestBindLegacyValue(absl::string_view variable,
305 CelValue legacy_value, google::protobuf::Arena* arena,
306 Activation& act) {
307 CEL_ASSIGN_OR_RETURN(Value value,
308 interop_internal::FromLegacyValue(arena, legacy_value));
309
310 act.InsertOrAssignValue(variable, std::move(value));
311 return absl::OkStatus();
312}
313
314absl::Status TestBindLegacyMessage(absl::string_view variable,
315 const google::protobuf::Message& message,

Callers 2

TestBindLegacyMessageFunction · 0.85

Calls 1

InsertOrAssignValueMethod · 0.80

Tested by

no test coverage detected