| 4793 | } |
| 4794 | |
| 4795 | void AssertReaderNext(const std::shared_ptr<RecordBatchReader>& reader, |
| 4796 | const RecordBatch& expected) { |
| 4797 | ASSERT_OK_AND_ASSIGN(auto batch, reader->Next()); |
| 4798 | ASSERT_NE(batch, nullptr); |
| 4799 | AssertBatchesEqual(expected, *batch); |
| 4800 | } |
| 4801 | |
| 4802 | void AssertReaderEnd(const std::shared_ptr<RecordBatchReader>& reader) { |
| 4803 | ASSERT_OK_AND_ASSIGN(auto batch, reader->Next()); |
nothing calls this directly
no test coverage detected