#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>
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" |
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_SendLogsToCloudWatch_EmptyLogs | |||
) |
Definition at line 66 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_SendLogsToCloudWatch_FailedResponse | |||
) |
Definition at line 74 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_SendLogsToCloudWatch_SuccessResponse | |||
) |
Definition at line 85 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_SendLogsToCloudWatch_LongSuccessResponse | |||
) |
Definition at line 97 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_SendLogsToCloudWatch_RateLimitsPutLogEvents | |||
) |
Definition at line 115 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CreateLogGroup_SuccessResponse | |||
) |
Definition at line 145 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CreateLogGroup_FailedResponse | |||
) |
Definition at line 157 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CreateLogGroup_AlreadyExists | |||
) |
Definition at line 169 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CheckLogGroupExists_FailedResponse | |||
) |
Definition at line 188 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CheckLogGroupExists_LogGroupExists | |||
) |
Definition at line 198 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CheckLogGroupExists_LogGroupDoesntExist | |||
) |
Definition at line 213 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CreateLogStream_SuccessResponse | |||
) |
Definition at line 231 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CreateLogStream_FailedResponse | |||
) |
Definition at line 243 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CreateLogStream_AlreadyExists | |||
) |
Definition at line 259 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CheckLogStreamExists_FailedResponse | |||
) |
Definition at line 278 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CheckLogStreamExists_LogStreamExists | |||
) |
Definition at line 289 of file cloudwatch_facade_test.cpp.
TEST_F | ( | TestCloudWatchFacade | , |
TestCWLogsFacade_CheckLogStreamExists_LogStreamDoesntExist | |||
) |
Definition at line 306 of file cloudwatch_facade_test.cpp.
constexpr char LOG_GROUP_NAME1[] = "TestGroup1" |
Definition at line 26 of file cloudwatch_facade_test.cpp.
constexpr char LOG_GROUP_NAME2[] = "TestGroup2" |
Definition at line 27 of file cloudwatch_facade_test.cpp.
constexpr char LOG_STREAM_NAME1[] = "TestStream1" |
Definition at line 28 of file cloudwatch_facade_test.cpp.
constexpr char LOG_STREAM_NAME2[] = "TestStream2" |
Definition at line 29 of file cloudwatch_facade_test.cpp.