| 352 | } |
| 353 | |
| 354 | void CheckConcreteFile(const std::string& path, int64_t expected_size) { |
| 355 | ASSERT_OK_AND_ASSIGN(auto fn, PlatformFilename::FromString(path)); |
| 356 | ASSERT_OK_AND_ASSIGN(FileDescriptor fd, ::arrow::internal::FileOpenReadable(fn)); |
| 357 | auto result = ::arrow::internal::FileGetSize(fd.fd()); |
| 358 | ASSERT_OK_AND_ASSIGN(int64_t size, result); |
| 359 | ASSERT_EQ(size, expected_size); |
| 360 | } |
| 361 | |
| 362 | static void CheckNormalizePath(const std::shared_ptr<FileSystem>& fs) {} |
| 363 |
nothing calls this directly
no test coverage detected