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

Method SetUp

cpp/src/arrow/util/list_util_test.cc:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 using BuilderType = typename TypeTraits<TypeClass>::BuilderType;
40
41 void SetUp() override {
42 value_type_ = int16();
43 type_ = std::make_shared<T>(value_type_);
44
45 std::unique_ptr<ArrayBuilder> tmp;
46 ASSERT_OK(MakeBuilder(pool_, type_, &tmp));
47 builder_.reset(checked_cast<BuilderType*>(tmp.release()));
48 }
49
50 void TestRangeOfValuesUsed() {
51 std::shared_ptr<ArrayData> result;

Callers

nothing calls this directly

Calls 3

MakeBuilderFunction · 0.50
resetMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected