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

Function TEST

cpp/src/arrow/json/chunked_builder_test.cc:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86TEST(ChunkedArrayBuilder, Empty) {
87 auto tg = TaskGroup::MakeSerial();
88 std::shared_ptr<ChunkedArrayBuilder> builder;
89 ASSERT_OK(MakeChunkedArrayBuilder(tg, default_memory_pool(), nullptr,
90 struct_({field("a", int32())}), &builder));
91
92 std::shared_ptr<ChunkedArray> actual;
93 AssertBuilding(builder, {}, &actual);
94
95 ChunkedArray expected({}, int32());
96 AssertFieldEqual({"a"}, actual, expected);
97}
98
99TEST(ChunkedArrayBuilder, Basics) {
100 auto tg = TaskGroup::MakeSerial();

Callers

nothing calls this directly

Calls 15

MakeChunkedArrayBuilderFunction · 0.85
default_memory_poolFunction · 0.85
struct_Function · 0.85
AssertBuildingFunction · 0.85
AssertFieldEqualFunction · 0.85
RowsOfOneColumnFunction · 0.85
GetCpuThreadPoolFunction · 0.85
GetPromotionGraphFunction · 0.85
ChunkedArrayFromJSONFunction · 0.85
listFunction · 0.85
push_backMethod · 0.80
ParseFromStringFunction · 0.70

Tested by

no test coverage detected