| 143 | } |
| 144 | |
| 145 | void CollectFileInfoGenerator(FileInfoGenerator gen, FileInfoVector* out_infos) { |
| 146 | auto fut = CollectAsyncGenerator(gen); |
| 147 | ASSERT_FINISHES_OK_AND_ASSIGN(auto nested_infos, fut); |
| 148 | *out_infos = ::arrow::internal::FlattenVectors(nested_infos); |
| 149 | } |
| 150 | |
| 151 | void AssertFileInfo(const FileInfo& info, const std::string& path, FileType type) { |
| 152 | ASSERT_EQ(info.path(), path); |
no test coverage detected