| 247 | class TestUnionArrayFactories : public ::testing::Test { |
| 248 | public: |
| 249 | void SetUp() { |
| 250 | pool_ = default_memory_pool(); |
| 251 | type_codes_ = {1, 2, 4, 127}; |
| 252 | ArrayFromVector<Int8Type>({0, 1, 2, 0, 1, 3, 2, 0, 2, 1}, &type_ids_); |
| 253 | ArrayFromVector<Int8Type>({1, 2, 4, 1, 2, 127, 4, 1, 4, 2}, &logical_type_ids_); |
| 254 | ArrayFromVector<Int8Type>({1, 2, 4, 1, -2, 127, 4, 1, 4, 2}, &invalid_type_ids1_); |
| 255 | ArrayFromVector<Int8Type>({1, 2, 4, 1, 3, 127, 4, 1, 4, 2}, &invalid_type_ids2_); |
| 256 | } |
| 257 | |
| 258 | void CheckUnionArray(const UnionArray& array, UnionMode::type mode, |
| 259 | const std::vector<std::string>& field_names, |
nothing calls this directly
no test coverage detected