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

Function TEST_P

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

Source from the content-addressed store, hash-verified

83INSTANTIATE_TEST_SUITE_P(ReaderTest, ReaderTest, ::testing::Values(false, true));
84
85TEST_P(ReaderTest, Empty) {
86 SetUpReader("{}\n{}\n");
87 ASSERT_OK_AND_ASSIGN(table_, reader_->Read());
88
89 auto expected_table = Table::Make(schema({}), ArrayVector(), 2);
90 AssertTablesEqual(*expected_table, *table_);
91}
92
93TEST_P(ReaderTest, EmptyNoNewlineAtEnd) {
94 SetUpReader("{}\n{}");

Callers

nothing calls this directly

Calls 15

AssertTablesEqualFunction · 0.85
scalars_only_srcFunction · 0.85
ArrayFromJSONFunction · 0.85
nested_srcFunction · 0.85
listFunction · 0.85
struct_Function · 0.85
unquoted_decimal_srcFunction · 0.85
TableFromJSONFunction · 0.85
mixed_decimal_srcFunction · 0.85
JoinFunction · 0.85
RecordBatchFromJSONFunction · 0.85
bytes_processedMethod · 0.80

Tested by

no test coverage detected