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

Function TEST

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

Source from the content-addressed store, hash-verified

295GENERIC_FS_TEST_FUNCTIONS(TestGCSFSGeneric);
296
297TEST(GcsFileSystem, OptionsCompare) {
298 auto a = GcsOptions::Anonymous();
299 auto b = a;
300 b.endpoint_override = "localhost:1234";
301 EXPECT_TRUE(a.Equals(a));
302 EXPECT_TRUE(b.Equals(b));
303 auto c = b;
304 c.scheme = "https";
305 EXPECT_FALSE(b.Equals(c));
306}
307
308TEST(GcsFileSystem, OptionsAnonymous) {
309 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