| 33 | using ::testing::HasSubstr; |
| 34 | |
| 35 | absl::StatusOr<std::unique_ptr<Compiler>> StdLibCompiler() { |
| 36 | CEL_ASSIGN_OR_RETURN( |
| 37 | auto builder, |
| 38 | NewCompilerBuilder(internal::GetSharedTestingDescriptorPool())); |
| 39 | CEL_RETURN_IF_ERROR(builder->AddLibrary(StandardCompilerLibrary())); |
| 40 | CEL_RETURN_IF_ERROR( |
| 41 | builder->AddLibrary(cel::extensions::BindingsCompilerLibrary())); |
| 42 | return builder->Build(); |
| 43 | } |
| 44 | |
| 45 | struct TestCase { |
| 46 | std::string expression; |
nothing calls this directly
no test coverage detected