| 293 | : public ::testing::TestWithParam<ListCheckerTestCase> { |
| 294 | public: |
| 295 | void SetUp() override { |
| 296 | // Arrange: Configure the compiler. |
| 297 | // Add the lists checker library to the compiler builder. |
| 298 | ASSERT_OK_AND_ASSIGN( |
| 299 | std::unique_ptr<CompilerBuilder> compiler_builder, |
| 300 | NewCompilerBuilder(internal::GetTestingDescriptorPool())); |
| 301 | ASSERT_THAT(compiler_builder->AddLibrary(StandardCompilerLibrary()), |
| 302 | IsOk()); |
| 303 | ASSERT_THAT(compiler_builder->AddLibrary(ListsCompilerLibrary()), IsOk()); |
| 304 | compiler_builder->GetCheckerBuilder().set_container( |
| 305 | "cel.expr.conformance.proto3"); |
| 306 | ASSERT_OK_AND_ASSIGN(compiler_, std::move(*compiler_builder).Build()); |
| 307 | } |
| 308 | |
| 309 | std::unique_ptr<Compiler> compiler_; |
| 310 | }; |
nothing calls this directly
no test coverage detected