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

Function TEST_F

cpp/src/parquet/file_deserialize_test.cc:343–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343TEST_F(TestPageSerde, DataPageV1) {
344 int stats_size = 512;
345 const int32_t num_rows = 4444;
346 AddDummyStats(stats_size, data_page_header_, /* fill_all_stats = */ true);
347 data_page_header_.num_values = num_rows;
348
349 ASSERT_NO_FATAL_FAILURE(WriteDataPageHeader());
350 InitSerializedPageReader(num_rows);
351 std::shared_ptr<Page> current_page = page_reader_->NextPage();
352 ASSERT_NO_FATAL_FAILURE(CheckDataPageHeader(data_page_header_, current_page.get()));
353}
354
355// Templated test class to test page filtering for both format::DataPageHeader
356// 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
ASSERT_OK_AND_ASSIGNFunction · 0.70
NextPageMethod · 0.45

Tested by

no test coverage detected