Skip to content

Commit

Permalink
rename test class
Browse files Browse the repository at this point in the history
  • Loading branch information
sbera87 committed Sep 5, 2024
1 parent f4b39fa commit 68e8952
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/aws-cpp-sdk-core-tests/endpoint/endpointParamTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ static constexpr RulesBlobT RulesBlob = {{

}

class DynamoDBEndpointProviderTest : public Aws::Endpoint::DefaultEndpointProvider<>
class TestServiceEndpointProviderTest : public Aws::Endpoint::DefaultEndpointProvider<>
{
public:
using DynamoDBResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;
using TestServiceResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;

DynamoDBEndpointProviderTest()
TestServiceEndpointProviderTest()
: Aws::Endpoint::DefaultEndpointProvider<>(EndpointParamTest::RulesBlob.data(), EndpointParamTest::RulesBlobSize)
{}

~DynamoDBEndpointProviderTest()
~TestServiceEndpointProviderTest()
{
}
};
Expand All @@ -59,7 +59,7 @@ const char EndpointTest::ALLOCATION_TAG[] = "EndpointTest";

TEST_F(EndpointTest, testStringArrayParam) {

std::shared_ptr<DynamoDBEndpointProviderTest> endpointProvider_sp = Aws::MakeShared<DynamoDBEndpointProviderTest>(ALLOCATION_TAG);
std::shared_ptr<TestServiceEndpointProviderTest> endpointProvider_sp = Aws::MakeShared<TestServiceEndpointProviderTest>(ALLOCATION_TAG);

Aws::Endpoint::EndpointParameters parameters;
// Static context parameters
Expand All @@ -72,7 +72,7 @@ TEST_F(EndpointTest, testStringArrayParam) {

TEST_F(EndpointTest, testStringArrayParamError) {

std::shared_ptr<DynamoDBEndpointProviderTest> endpointProvider_sp = Aws::MakeShared<DynamoDBEndpointProviderTest>(ALLOCATION_TAG);
std::shared_ptr<TestServiceEndpointProviderTest> endpointProvider_sp = Aws::MakeShared<TestServiceEndpointProviderTest>(ALLOCATION_TAG);

Aws::Endpoint::EndpointParameters parameters;
// Static context parameters
Expand Down

0 comments on commit 68e8952

Please sign in to comment.