| 240 | : public ::testing::TestWithParam<RegexCheckerTestCase> { |
| 241 | public: |
| 242 | void SetUp() override { |
| 243 | // Arrange: Configure the compiler. |
| 244 | // Add the regex checker library to the compiler builder. |
| 245 | ASSERT_OK_AND_ASSIGN(std::unique_ptr<CompilerBuilder> compiler_builder, |
| 246 | NewCompilerBuilder(descriptor_pool_)); |
| 247 | ASSERT_THAT(compiler_builder->AddLibrary(StandardCheckerLibrary()), IsOk()); |
| 248 | ASSERT_THAT(compiler_builder->AddLibrary(RegexCheckerLibrary()), IsOk()); |
| 249 | ASSERT_OK_AND_ASSIGN(compiler_, std::move(*compiler_builder).Build()); |
| 250 | } |
| 251 | |
| 252 | const google::protobuf::DescriptorPool* descriptor_pool_ = |
| 253 | internal::GetTestingDescriptorPool(); |
nothing calls this directly
no test coverage detected