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

Function PrintTo

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

Define a custom print since the default Googletest print trips Valgrind

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ToStringMethod · 0.45
schemaMethod · 0.45

Tested by

no test coverage detected