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

Function TEST

cpp/src/arrow/filesystem/azurefs_test.cc:483–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481GENERIC_FS_TEST_FUNCTIONS(TestAzureHierarchicalNSGeneric);
482
483TEST(AzureFileSystem, InitializingFilesystemWithoutAccountNameFails) {
484 AzureOptions options;
485 ASSERT_RAISES(Invalid, options.ConfigureAccountKeyCredential("account_key"));
486
487 ARROW_EXPECT_OK(
488 options.ConfigureClientSecretCredential("tenant_id", "client_id", "client_secret"));
489 ASSERT_RAISES(Invalid, AzureFileSystem::Make(options));
490}
491
492TEST(AzureFileSystem, InitializeWithDefaultCredential) {
493 AzureOptions options;

Callers

nothing calls this directly

Tested by

no test coverage detected