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

Function TEST

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

Source from the content-addressed store, hash-verified

501GENERIC_FS_TEST_FUNCTIONS(TestAzureHierarchicalNSGeneric);
502
503TEST(AzureFileSystem, InitializingFilesystemWithoutAccountNameFails) {
504 AzureOptions options;
505 ASSERT_RAISES(Invalid, options.ConfigureAccountKeyCredential("account_key"));
506
507 ARROW_EXPECT_OK(
508 options.ConfigureClientSecretCredential("tenant_id", "client_id", "client_secret"));
509 ASSERT_RAISES(Invalid, AzureFileSystem::Make(options));
510}
511
512TEST(AzureFileSystem, InitializeWithDefaultCredential) {
513 AzureOptions options;

Callers

nothing calls this directly

Tested by

no test coverage detected