MCPcopy Create free account
hub / github.com/apache/arrow / SetUp

Method SetUp

cpp/src/arrow/filesystem/gcsfs_test.cc:274–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272class TestGCSFSGeneric : public GcsIntegrationTest, public GenericFileSystemTest {
273 public:
274 void SetUp() override {
275 ASSERT_NO_FATAL_FAILURE(GcsIntegrationTest::SetUp());
276 auto bucket_name = RandomBucketName();
277 ASSERT_OK_AND_ASSIGN(gcs_fs_, GcsFileSystem::Make(TestGcsOptions()));
278 ASSERT_OK(gcs_fs_->CreateDir(bucket_name, true));
279 fs_ = std::make_shared<SubTreeFileSystem>(bucket_name, gcs_fs_);
280 }
281
282 protected:
283 std::shared_ptr<FileSystem> GetEmptyFileSystem() override { return fs_; }

Callers

nothing calls this directly

Calls 3

ASSERT_OK_AND_ASSIGNFunction · 0.70
MakeFunction · 0.50
CreateDirMethod · 0.45

Tested by

no test coverage detected