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

Function TEST_F

cpp/src/parquet/file_deserialize_test.cc:354–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354TEST_F(TestPageSerde, DataPageV1) {
355 int stats_size = 512;
356 const int32_t num_rows = 4444;
357 AddDummyStats(stats_size, data_page_header_, /* fill_all_stats = */ true);
358 data_page_header_.num_values = num_rows;
359
360 ASSERT_NO_FATAL_FAILURE(WriteDataPageHeader());
361 InitSerializedPageReader(num_rows);
362 std::shared_ptr<Page> current_page = page_reader_->NextPage();
363 ASSERT_NO_FATAL_FAILURE(CheckDataPageHeader(data_page_header_, current_page.get()));
364}
365
366// Templated test class to test page filtering for both format::DataPageHeader
367// and format::DataPageHeaderV2.

Callers

nothing calls this directly

Calls 15

AddDummyStatsFunction · 0.85
CheckDataPageHeaderFunction · 0.85
GetSupportedCodecTypesFunction · 0.85
GetCodecFunction · 0.85
WrapFunction · 0.85
CreateOutputStreamFunction · 0.85
push_backMethod · 0.80
TestPageSerdeCrcMethod · 0.80
resizeMethod · 0.80
ReaderPropertiesClass · 0.70
ASSERT_OK_AND_ASSIGNFunction · 0.70

Tested by

no test coverage detected