Creates a CelTestContext using a `cel::Runtime`. The `cel::Runtime` is used to evaluate the CEL expression by managing the state needed to generate Program.
| 78 | // The `cel::Runtime` is used to evaluate the CEL expression by managing |
| 79 | // the state needed to generate Program. |
| 80 | static std::unique_ptr<CelTestContext> CreateFromRuntime( |
| 81 | std::unique_ptr<const cel::Runtime> runtime) { |
| 82 | return absl::WrapUnique(new CelTestContext(std::move(runtime))); |
| 83 | } |
| 84 | |
| 85 | const cel::Runtime* absl_nullable runtime() const { return runtime_.get(); } |
| 86 |
nothing calls this directly
no test coverage detected