Add new header files to the simplified header and update tests. (#2070)

* Add new header files to the simplifie header and update tests.

* Add token credential options header to the simplified header

* Simplify the test.
This commit is contained in:
Ahson Khan 2021-04-07 14:28:22 -07:00 committed by GitHub
parent fb000d55b5
commit 4ef65aa00f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@
// azure/core/credentials
#include "azure/core/credentials/credentials.hpp"
#include "azure/core/credentials/token_credential_options.hpp"
// azure/core/cryptography
#include "azure/core/cryptography/hash.hpp"
@ -39,6 +40,8 @@
// azure/core/http
#include "azure/core/http/http.hpp"
#include "azure/core/http/http_status_code.hpp"
#include "azure/core/http/raw_response.hpp"
#include "azure/core/http/transport.hpp"
// azure/core/http/policies

View File

@ -44,6 +44,8 @@ TEST(SimplifiedHeader, core)
EXPECT_NO_THROW(Azure::Core::Uuid::CreateUuid());
EXPECT_NO_THROW(Azure::Core::RequestFailedException("foo"));
EXPECT_NO_THROW(Azure::Core::OperationStatus("foo"));
EXPECT_NO_THROW(Azure::Core::Http::RawResponse(0, 0, Azure::Core::Http::HttpStatusCode::Ok, ""));
EXPECT_NO_THROW(Azure::Core::Credentials::TokenCredentialOptions());
{
std::vector<uint8_t> buffer(10);