Skip to content

Commit 4ef65aa

Browse files
authored
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.
1 parent fb000d5 commit 4ef65aa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sdk/core/azure-core/inc/azure/core.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
// azure/core/credentials
3232
#include "azure/core/credentials/credentials.hpp"
33+
#include "azure/core/credentials/token_credential_options.hpp"
3334

3435
// azure/core/cryptography
3536
#include "azure/core/cryptography/hash.hpp"
@@ -39,6 +40,8 @@
3940

4041
// azure/core/http
4142
#include "azure/core/http/http.hpp"
43+
#include "azure/core/http/http_status_code.hpp"
44+
#include "azure/core/http/raw_response.hpp"
4245
#include "azure/core/http/transport.hpp"
4346

4447
// azure/core/http/policies

sdk/core/azure-core/test/ut/simplified_header.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ TEST(SimplifiedHeader, core)
4444
EXPECT_NO_THROW(Azure::Core::Uuid::CreateUuid());
4545
EXPECT_NO_THROW(Azure::Core::RequestFailedException("foo"));
4646
EXPECT_NO_THROW(Azure::Core::OperationStatus("foo"));
47+
EXPECT_NO_THROW(Azure::Core::Http::RawResponse(0, 0, Azure::Core::Http::HttpStatusCode::Ok, ""));
48+
EXPECT_NO_THROW(Azure::Core::Credentials::TokenCredentialOptions());
4749

4850
{
4951
std::vector<uint8_t> buffer(10);

0 commit comments

Comments
 (0)