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

Method EvalWithRuntime

testing/testrunner/runner_lib.cc:361–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361absl::StatusOr<cel::Value> TestRunner::EvalWithRuntime(
362 const CheckedExpr& checked_expr, const TestCase& test_case,
363 google::protobuf::Arena* arena) {
364 CEL_ASSIGN_OR_RETURN(
365 cel::Activation activation,
366 CreateModernActivationFromBindings(test_case, *test_context_, arena));
367 return EvalWithModernBindings(checked_expr, *test_context_, activation,
368 arena);
369}
370
371absl::StatusOr<cel::Value> TestRunner::EvalWithCelExpressionBuilder(
372 const CheckedExpr& checked_expr, const TestCase& test_case,

Callers

nothing calls this directly

Calls 1

EvalWithModernBindingsFunction · 0.85

Tested by

no test coverage detected