Classes | Functions | Variables
cloudwatch_facade_test.cpp File Reference
#include <aws/core/Aws.h>
#include <aws/core/client/AWSClient.h>
#include <aws/core/NoResult.h>
#include <cloudwatch_logs_common/cloudwatch_logs_client_mock.h>
#include <cloudwatch_logs_common/definitions/ros_cloudwatch_logs_errors.h>
#include <cloudwatch_logs_common/utils/cloudwatch_logs_facade.h>
#include <gtest/gtest.h>
Include dependency graph for cloudwatch_facade_test.cpp:

Go to the source code of this file.

Classes

class  TestCloudWatchFacade
 

Functions

 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_SendLogsToCloudWatch_EmptyLogs)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_SendLogsToCloudWatch_FailedResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_SendLogsToCloudWatch_SuccessResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_SendLogsToCloudWatch_LongSuccessResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_SendLogsToCloudWatch_RateLimitsPutLogEvents)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CreateLogGroup_SuccessResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CreateLogGroup_FailedResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CreateLogGroup_AlreadyExists)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CheckLogGroupExists_FailedResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CheckLogGroupExists_LogGroupExists)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CheckLogGroupExists_LogGroupDoesntExist)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CreateLogStream_SuccessResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CreateLogStream_FailedResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CreateLogStream_AlreadyExists)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CheckLogStreamExists_FailedResponse)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CheckLogStreamExists_LogStreamExists)
 
 TEST_F (TestCloudWatchFacade, TestCWLogsFacade_CheckLogStreamExists_LogStreamDoesntExist)
 

Variables

constexpr char LOG_GROUP_NAME1 [] = "TestGroup1"
 
constexpr char LOG_GROUP_NAME2 [] = "TestGroup2"
 
constexpr char LOG_STREAM_NAME1 [] = "TestStream1"
 
constexpr char LOG_STREAM_NAME2 [] = "TestStream2"
 

Function Documentation

◆ TEST_F() [1/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_SendLogsToCloudWatch_EmptyLogs   
)

Definition at line 66 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [2/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_SendLogsToCloudWatch_FailedResponse   
)

Definition at line 74 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [3/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_SendLogsToCloudWatch_SuccessResponse   
)

Definition at line 85 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [4/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_SendLogsToCloudWatch_LongSuccessResponse   
)

Definition at line 97 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [5/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_SendLogsToCloudWatch_RateLimitsPutLogEvents   
)

Definition at line 115 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [6/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CreateLogGroup_SuccessResponse   
)

Definition at line 145 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [7/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CreateLogGroup_FailedResponse   
)

Definition at line 157 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [8/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CreateLogGroup_AlreadyExists   
)

Definition at line 169 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [9/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CheckLogGroupExists_FailedResponse   
)

Definition at line 188 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [10/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CheckLogGroupExists_LogGroupExists   
)

Definition at line 198 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [11/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CheckLogGroupExists_LogGroupDoesntExist   
)

Definition at line 213 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [12/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CreateLogStream_SuccessResponse   
)

Definition at line 231 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [13/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CreateLogStream_FailedResponse   
)

Definition at line 243 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [14/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CreateLogStream_AlreadyExists   
)

Definition at line 259 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [15/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CheckLogStreamExists_FailedResponse   
)

Definition at line 278 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [16/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CheckLogStreamExists_LogStreamExists   
)

Definition at line 289 of file cloudwatch_facade_test.cpp.

◆ TEST_F() [17/17]

TEST_F ( TestCloudWatchFacade  ,
TestCWLogsFacade_CheckLogStreamExists_LogStreamDoesntExist   
)

Definition at line 306 of file cloudwatch_facade_test.cpp.

Variable Documentation

◆ LOG_GROUP_NAME1

constexpr char LOG_GROUP_NAME1[] = "TestGroup1"

Definition at line 26 of file cloudwatch_facade_test.cpp.

◆ LOG_GROUP_NAME2

constexpr char LOG_GROUP_NAME2[] = "TestGroup2"

Definition at line 27 of file cloudwatch_facade_test.cpp.

◆ LOG_STREAM_NAME1

constexpr char LOG_STREAM_NAME1[] = "TestStream1"

Definition at line 28 of file cloudwatch_facade_test.cpp.

◆ LOG_STREAM_NAME2

constexpr char LOG_STREAM_NAME2[] = "TestStream2"

Definition at line 29 of file cloudwatch_facade_test.cpp.



cloudwatch_logs_common
Author(s): AWS RoboMaker
autogenerated on Mon Feb 28 2022 22:02:00