* Add project skeleton and check-in snapshot of generated SDK for Azure App Configuration. * Add new line at eof * Add exclusion to the cspell issue. * Explicitly use size_t instead of auto for iterating through a vector * Add another cspell exclusion, since it is case-sensitive * Address PR feedback, update CL, package version. * Update readme to remove template project content. * Exclude appconfig from recordings, since none exist atm. * Temporarily exclude appconfiguration from docs generation. * Add line/branch coverage thresholds and skip publishing docs if they don't exist.
17 lines
468 B
C++
17 lines
468 B
C++
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
#include <azure/data/appconfiguration.hpp>
|
|
#include <azure/identity.hpp>
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
using namespace Azure::Data::AppConfiguration;
|
|
|
|
TEST(ConfigurationClient, Basic)
|
|
{
|
|
auto credential = std::make_shared<Azure::Identity::DefaultAzureCredential>();
|
|
ConfigurationClient configurationClient("serviceUrl", credential);
|
|
EXPECT_EQ(configurationClient.GetUrl(), "serviceUrl");
|
|
}
|