Protected Member Functions | Protected Attributes | List of all members
TestLogPublisherFixture Class Reference

This test requires a fixture to init and shutdown the SDK or else it causes seg faults when trying to construct a CloudWatch client. All tests must use the TEST_F function with this fixture name. More...

Inheritance diagram for TestLogPublisherFixture:
Inheritance graph
[legend]

Protected Member Functions

void SetUp () override
 
void StartPublisher ()
 
void TearDown () override
 

Protected Attributes

std::list< Aws::CloudWatchLogs::Model::InputLogEvent > logs_list_
 
std::shared_ptr< MockCloudWatchFacademock_cw_
 
Aws::SDKOptions options_
 
std::shared_ptr< LogPublisherpublisher_
 

Detailed Description

This test requires a fixture to init and shutdown the SDK or else it causes seg faults when trying to construct a CloudWatch client. All tests must use the TEST_F function with this fixture name.

Definition at line 129 of file log_publisher_test.cpp.

Member Function Documentation

void TestLogPublisherFixture::SetUp ( )
inlineoverrideprotected

Definition at line 145 of file log_publisher_test.cpp.

void TestLogPublisherFixture::StartPublisher ( )
inlineprotected

Definition at line 138 of file log_publisher_test.cpp.

void TestLogPublisherFixture::TearDown ( )
inlineoverrideprotected

Definition at line 158 of file log_publisher_test.cpp.

Member Data Documentation

std::list<Aws::CloudWatchLogs::Model::InputLogEvent> TestLogPublisherFixture::logs_list_
protected

Definition at line 133 of file log_publisher_test.cpp.

std::shared_ptr<MockCloudWatchFacade> TestLogPublisherFixture::mock_cw_
protected

Definition at line 135 of file log_publisher_test.cpp.

Aws::SDKOptions TestLogPublisherFixture::options_
protected

Definition at line 134 of file log_publisher_test.cpp.

std::shared_ptr<LogPublisher> TestLogPublisherFixture::publisher_
protected

Definition at line 136 of file log_publisher_test.cpp.


The documentation for this class was generated from the following file:


cloudwatch_logs_common
Author(s): AWS RoboMaker
autogenerated on Fri May 7 2021 02:18:24