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

Function PrintTo

cpp/src/parquet/arrow/arrow_statistics_test.cc:56–63  ·  view source on GitHub ↗

Define a custom print since the default Googletest print trips Valgrind

Source from the content-addressed store, hash-verified

54
55// Define a custom print since the default Googletest print trips Valgrind
56void PrintTo(const StatisticsTestParam& param, std::ostream* os) {
57 (*os) << "StatisticsTestParam{"
58 << "table.schema=" << param.table->schema()->ToString()
59 << ", expected_null_count=" << param.expected_null_count
60 << ", expected_value_count=" << param.expected_value_count
61 << ", expected_min=" << param.expected_min
62 << ", expected_max=" << param.expected_max << "}";
63}
64
65class ParameterizedStatisticsTest : public ::testing::TestWithParam<StatisticsTestParam> {
66};

Callers

nothing calls this directly

Calls 2

ToStringMethod · 0.45
schemaMethod · 0.45

Tested by

no test coverage detected