| 158 | class BlockParserTypeError : public ::testing::TestWithParam<UnexpectedFieldBehavior> { |
| 159 | public: |
| 160 | ParseOptions Options(std::shared_ptr<Schema> explicit_schema) { |
| 161 | auto options = ParseOptions::Defaults(); |
| 162 | options.explicit_schema = std::move(explicit_schema); |
| 163 | options.unexpected_field_behavior = GetParam(); |
| 164 | return options; |
| 165 | } |
| 166 | }; |
| 167 | |
| 168 | TEST_P(BlockParserTypeError, FailOnInconvertible) { |
nothing calls this directly
no test coverage detected