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