| 166 | } |
| 167 | |
| 168 | absl::StatusOr<cel::Value> ResolveInputValue(const InputValue& input_value, |
| 169 | const CelTestContext& context, |
| 170 | google::protobuf::Arena* arena) { |
| 171 | switch (input_value.kind_case()) { |
| 172 | case InputValue::kValue: { |
| 173 | return ResolveValue(input_value, context, arena); |
| 174 | } |
| 175 | case InputValue::kExpr: { |
| 176 | return ResolveExpr(input_value.expr(), context, arena); |
| 177 | } |
| 178 | default: |
| 179 | return absl::InvalidArgumentError("Unknown InputValue kind."); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | absl::Status AddCustomBindingsToModernActivation(const CelTestContext& context, |
| 184 | cel::Activation& activation, |
nothing calls this directly
no test coverage detected