| 455 | class RegexExtCheckerLibraryTest : public TestWithParam<RegexCheckerTestCase> { |
| 456 | public: |
| 457 | void SetUp() override { |
| 458 | // Arrange: Configure the compiler. |
| 459 | // Add the regex checker library to the compiler builder. |
| 460 | ASSERT_OK_AND_ASSIGN(std::unique_ptr<CompilerBuilder> compiler_builder, |
| 461 | NewCompilerBuilder(descriptor_pool_)); |
| 462 | ASSERT_THAT(compiler_builder->AddLibrary(StandardCheckerLibrary()), IsOk()); |
| 463 | ASSERT_THAT(compiler_builder->AddLibrary(RegexExtCompilerLibrary()), |
| 464 | IsOk()); |
| 465 | ASSERT_OK_AND_ASSIGN(compiler_, std::move(*compiler_builder).Build()); |
| 466 | } |
| 467 | |
| 468 | const google::protobuf::DescriptorPool* descriptor_pool_ = |
| 469 | internal::GetTestingDescriptorPool(); |
nothing calls this directly
no test coverage detected