| 302 | } |
| 303 | |
| 304 | absl::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 | |
| 314 | absl::Status TestBindLegacyMessage(absl::string_view variable, |
| 315 | const google::protobuf::Message& message, |
no test coverage detected