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

Function TEST

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

Source from the content-addressed store, hash-verified

298GENERIC_FS_TEST_FUNCTIONS(TestGCSFSGeneric);
299
300TEST(GcsFileSystem, OptionsCompare) {
301 auto a = GcsOptions::Anonymous();
302 auto b = a;
303 b.endpoint_override = "localhost:1234";
304 EXPECT_TRUE(a.Equals(a));
305 EXPECT_TRUE(b.Equals(b));
306 auto c = b;
307 c.scheme = "https";
308 EXPECT_FALSE(b.Equals(c));
309}
310
311TEST(GcsFileSystem, OptionsAnonymous) {
312 GcsOptions a = GcsOptions::Anonymous();

Callers

nothing calls this directly

Calls 15

AsGoogleCloudOptionsFunction · 0.85
ToEncryptionKeyFunction · 0.85
KeyValueMetadataForTestFunction · 0.85
ToKmsKeyNameFunction · 0.85
ToPredefinedAclFunction · 0.85
ToObjectMetadataFunction · 0.85
key_value_metadataFunction · 0.85
FromObjectMetadataFunction · 0.85
AssertFileInfoFunction · 0.85
strMethod · 0.80
content_typeMethod · 0.80
ToArrowStatusFunction · 0.70

Tested by

no test coverage detected