| 852 | } |
| 853 | |
| 854 | void AssertCrcValidationError(std::function<void()> func) { |
| 855 | EXPECT_THROW_THAT( |
| 856 | func, ParquetException, |
| 857 | ::testing::Property(&ParquetException::what, |
| 858 | ::testing::HasSubstr("CRC checksum verification failed"))); |
| 859 | } |
| 860 | |
| 861 | protected: |
| 862 | static constexpr int kDataPageSize = 1024 * 10; |
nothing calls this directly
no outgoing calls
no test coverage detected