MCPcopy Create free account
hub / github.com/apache/arrow / AssertReadNext

Method AssertReadNext

cpp/src/arrow/json/reader_test.cc:472–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470 }
471
472 static void AssertReadNext(const std::shared_ptr<StreamingReader>& reader,
473 std::shared_ptr<RecordBatch>* out) {
474 ASSERT_OK(reader->ReadNext(out));
475 ASSERT_FALSE(IsIterationEnd(*out));
476 ASSERT_OK((**out).ValidateFull());
477 }
478 static void AssertReadEnd(const std::shared_ptr<StreamingReader>& reader) {
479 std::shared_ptr<RecordBatch> out;
480 ASSERT_OK(reader->ReadNext(&out));

Callers

nothing calls this directly

Calls 3

IsIterationEndFunction · 0.85
ReadNextMethod · 0.45
ValidateFullMethod · 0.45

Tested by

no test coverage detected