| 113 | class UnknownsTest : public testing::Test { |
| 114 | public: |
| 115 | void PrepareBuilder(UnknownProcessingOptions opts) { |
| 116 | InterpreterOptions options; |
| 117 | options.unknown_processing = opts; |
| 118 | builder_ = CreateCelExpressionBuilder(options); |
| 119 | ASSERT_THAT(RegisterBuiltinFunctions(builder_->GetRegistry()), IsOk()); |
| 120 | ASSERT_THAT( |
| 121 | builder_->GetRegistry()->RegisterLazyFunction(CreateDescriptor("F1")), |
| 122 | IsOk()); |
| 123 | ASSERT_THAT( |
| 124 | builder_->GetRegistry()->RegisterLazyFunction(CreateDescriptor("F2")), |
| 125 | IsOk()); |
| 126 | } |
| 127 | |
| 128 | protected: |
| 129 | Arena arena_; |
nothing calls this directly
no test coverage detected