| 232 | }; |
| 233 | |
| 234 | TEST(ConcatenateEmptyArraysTest, TestValueBuffersNullPtr) { |
| 235 | ArrayVector inputs; |
| 236 | |
| 237 | std::shared_ptr<Array> binary_array; |
| 238 | BinaryBuilder builder; |
| 239 | ASSERT_OK(builder.Finish(&binary_array)); |
| 240 | inputs.push_back(std::move(binary_array)); |
| 241 | |
| 242 | builder.Reset(); |
| 243 | ASSERT_OK(builder.AppendNull()); |
| 244 | ASSERT_OK(builder.Finish(&binary_array)); |
| 245 | inputs.push_back(std::move(binary_array)); |
| 246 | |
| 247 | ASSERT_OK_AND_ASSIGN(auto actual, Concatenate(inputs)); |
| 248 | AssertArraysEqual(*actual, *inputs[1]); |
| 249 | } |
| 250 | |
| 251 | template <typename PrimitiveType> |
| 252 | class PrimitiveConcatenateTest : public ConcatenateTest { |
nothing calls this directly
no test coverage detected