| 705 | } |
| 706 | |
| 707 | TEST_F(GcsIntegrationTest, GetFileInfoObjectNoExplicitObject) { |
| 708 | ASSERT_OK_AND_ASSIGN(auto fs, GcsFileSystem::Make(TestGcsOptions())); |
| 709 | auto object = |
| 710 | GcsClient().GetObjectMetadata(PreexistingBucketName(), PreexistingObjectName()); |
| 711 | ASSERT_TRUE(object.ok()) << "status=" << object.status(); |
| 712 | arrow::fs::AssertFileInfo(fs.get(), PreexistingObjectPath(), FileType::File, |
| 713 | object->time_created(), static_cast<int64_t>(object->size())); |
| 714 | |
| 715 | // URI |
| 716 | ASSERT_RAISES(Invalid, fs->GetFileInfo("gs://" + PreexistingObjectName())); |
| 717 | } |
| 718 | |
| 719 | TEST_F(GcsIntegrationTest, GetFileInfoSelectorRecursive) { |
| 720 | ASSERT_OK_AND_ASSIGN(auto fs, GcsFileSystem::Make(TestGcsOptions())); |
no test coverage detected