Classes | Functions | Variables
metric_publisher_test.cpp File Reference
#include <aws/core/Aws.h>
#include <aws/monitoring/model/MetricDatum.h>
#include <gtest/gtest.h>
#include <cloudwatch_metrics_common/metric_publisher.hpp>
#include <cloudwatch_metrics_common/utils/cloudwatch_metrics_facade.hpp>
#include <cloudwatch_metrics_common/definitions/definitions.h>
Include dependency graph for metric_publisher_test.cpp:

Go to the source code of this file.

Classes

class  MockCloudWatchFacade
 
class  TestMetricPublisherFixture
 

Functions

 TEST_F (TestMetricPublisherFixture, Sanity)
 
 TEST_F (TestMetricPublisherFixture, TestLogPublisher_PublishLogs_ReturnsFalseWhenEmpty)
 
 TEST_F (TestMetricPublisherFixture, TestMetricPublisher_PublishMetrics_ReturnsSuccessWhenListIngested)
 
 TEST_F (TestMetricPublisherFixture, TestMetricPublisher_MultiplePublishes)
 

Variables

constexpr int WAIT_TIME
 

Function Documentation

TEST_F ( TestMetricPublisherFixture  ,
Sanity   
)

Definition at line 89 of file metric_publisher_test.cpp.

TEST_F ( TestMetricPublisherFixture  ,
TestLogPublisher_PublishLogs_ReturnsFalseWhenEmpty   
)

Definition at line 93 of file metric_publisher_test.cpp.

TEST_F ( TestMetricPublisherFixture  ,
TestMetricPublisher_PublishMetrics_ReturnsSuccessWhenListIngested   
)

Definition at line 102 of file metric_publisher_test.cpp.

TEST_F ( TestMetricPublisherFixture  ,
TestMetricPublisher_MultiplePublishes   
)

Definition at line 109 of file metric_publisher_test.cpp.

Variable Documentation

constexpr int WAIT_TIME
Initial value:
=
2000

Definition at line 28 of file metric_publisher_test.cpp.



cloudwatch_metrics_common
Author(s): AWS RoboMaker
autogenerated on Fri May 7 2021 02:18:26