Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2023-11-27 13:55:27 -08:00 committed by GitHub
parent 8b766e3728
commit 6da4d9649d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 13 additions and 13 deletions

View File

@ -41,7 +41,7 @@ The proxy will create a file locally containing the data in the .assets folder i
When AZURE_TEST_MODE=PLAYBACK we invoke the playback/start endpoint on test-proxy which causes it to download the appropriate release indicated in assets.json if it is not there already, and replay the responses for the specific request based on the recorded data. When the test is done we call playback/stop
## LIve Testing
## Live Testing
When AZURE_TEST_MODE=LIVE all requests are sent directly to their destination bypassing the proxy.

View File

@ -5,7 +5,7 @@
#include <string>
#include <vector>
/**
* @brief THe Cryptography class provides a set of basic cryptographic primatives required
* @brief The Cryptography class provides a set of basic cryptographic primatives required
* by the attestation samples.
*/
class Cryptography {

View File

@ -9,7 +9,7 @@
namespace Azure { namespace Security { namespace Attestation { namespace _detail {
/**
* @brief THe Cryptography class provides a set of basic cryptographic functions required
* @brief The Cryptography class provides a set of basic cryptographic functions required
* by the attestation service client implementation and test collateral.
*
* It contains two subclasses: {@link Cryptography::AsymmetricKey}, which represents an Asymmetric

View File

@ -276,7 +276,7 @@ namespace Azure { namespace Security { namespace Attestation { namespace _detail
auto exportedPublicKey = newCertificateKey->ExportPublicKey();
auto publicKey = Cryptography::ImportPublicKey(exportedPublicKey);
// We know that Crypto::ImportPublicKey always returns an OpenSSLAsymmetricKey.
// THis is a bit of a hack but it's an acceptable assumption to make.
// This is a bit of a hack but it's an acceptable assumption to make.
OpenSSLAsymmetricKey* key = static_cast<OpenSSLAsymmetricKey*>(publicKey.get());
if (X509_set_pubkey(certificate.get(), key->GetKey().get()) != 1)
{

View File

@ -304,7 +304,7 @@ namespace Azure { namespace Security { namespace Attestation { namespace Test {
}
// Verify that we get an exception if we try to set a policy management certificate on an AAD
// instance. THe primary purpose of this test is to increase code coverage numbers.
// instance. The primary purpose of this test is to increase code coverage numbers.
TEST_F(CertificateTests, VerifyFailedAddCertificate)
{
auto adminClient(CreateClient(ServiceInstanceType::AAD));
@ -331,7 +331,7 @@ namespace Azure { namespace Security { namespace Attestation { namespace Test {
}
}
// Verify that we get an exception if we try to remove a policy management certificate on an AAD
// instance. THe primary purpose of this test is to increase code coverage numbers.
// instance. The primary purpose of this test is to increase code coverage numbers.
TEST_F(CertificateTests, VerifyFailedRemoveCertificate)
{
auto adminClient(CreateClient(ServiceInstanceType::AAD));

View File

@ -1259,7 +1259,7 @@ TEST_F(TestValueSerialization, SerializeList)
EXPECT_EQ(val.size(), 1);
EXPECT_EQ(0x45, val[0]);
}
// THird form, serialized as first form.
// Third form, serialized as first form.
{
std::vector<uint8_t> testVector{0xd0, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00};
AmqpValue value{AmqpValue::Deserialize(testVector.data(), testVector.size())};

View File

@ -36,7 +36,7 @@ namespace Azure { namespace Core {
/**
* @brief Unique handle for WinHTTP HINTERNET handles.
*
* @note HINTERNET is declared as a "void *". THis means that this definition subsumes all other
* @note HINTERNET is declared as a "void *". This means that this definition subsumes all other
* `void *` types when used with Azure::Core::_internal::UniqueHandle.
*
*/

View File

@ -1492,7 +1492,7 @@ namespace Azure { namespace Core {
namespace {
// int g_ssl_crl_max_size_in_kb = 20;
/**
* @brief THe Cryptography class provides a set of basic cryptographic primatives required
* @brief The Cryptography class provides a set of basic cryptographic primatives required
* by the attestation samples.
*/

View File

@ -35,7 +35,7 @@ namespace Azure { namespace Core {
/**
* @brief Unique handle for WinHTTP HINTERNET handles.
*
* @note HINTERNET is declared as a "void *". THis means that this definition subsumes all other
* @note HINTERNET is declared as a "void *". This means that this definition subsumes all other
* `void *` types when used with Azure::Core::_internal::UniqueHandle.
*
*/

View File

@ -551,7 +551,7 @@ namespace Azure { namespace Core { namespace Test {
{
Azure::Core::Http::Policies::TransportOptions transportOptions;
// FIrst verify connectivity to the test servers.
// First verify connectivity to the test servers.
transportOptions.EnableCertificateRevocationListCheck = false;
HttpPipeline pipeline(CreateHttpPipeline(transportOptions));

View File

@ -32,7 +32,7 @@ namespace Azure { namespace Messaging { namespace EventHubs { namespace Models {
* that contains it.*/
std::string Name;
/** THe identifier of the partition, unique to the Event Hub which contains it. */
/** The identifier of the partition, unique to the Event Hub which contains it. */
std::string PartitionId;
/** The first sequence number available for events in the partition.

View File

@ -241,7 +241,7 @@ namespace Azure { namespace Messaging { namespace EventHubs { namespace PerfTest
false},
{"PaddingBytes",
{"--paddingBytes"},
"THe number of bytes to send in each message body.",
"The number of bytes to send in each message body.",
1,
false},
{"partitionId",