Public Member Functions | Public Attributes | List of all members
LogBatchTest Class Reference
Inheritance diagram for LogBatchTest:
Inheritance graph
[legend]

Public Member Functions

void createLogs (const std::vector< long > &timestamps)
 
void readLogs ()
 
void resolveBatch ()
 
void SetUp () override
 
void TearDown () override
 
bool validateBatch ()
 

Public Attributes

FileObject< LogCollectionbatch
 
std::vector< std::vector< long > > expectedTimeStamps
 
std::unique_ptr< LogFileManagerfile_manager
 
Aws::CloudWatchLogs::Model::InputLogEvent input_event
 
LogCollection log_data
 
FileManagerStrategyOptions options {"test", "log_tests/", ".log", 1024*1024, 1024*1024, true}
 
std::shared_ptr< TestStrategytest_strategy
 
std::vector< long > timestamps
 

Detailed Description

Definition at line 76 of file log_batch_test.cpp.

Member Function Documentation

◆ createLogs()

void LogBatchTest::createLogs ( const std::vector< long > &  timestamps)
inline

Definition at line 88 of file log_batch_test.cpp.

◆ readLogs()

void LogBatchTest::readLogs ( )
inline

Definition at line 96 of file log_batch_test.cpp.

◆ resolveBatch()

void LogBatchTest::resolveBatch ( )
inline

Definition at line 106 of file log_batch_test.cpp.

◆ SetUp()

void LogBatchTest::SetUp ( )
inlineoverride

Definition at line 78 of file log_batch_test.cpp.

◆ TearDown()

void LogBatchTest::TearDown ( )
inlineoverride

Definition at line 83 of file log_batch_test.cpp.

◆ validateBatch()

bool LogBatchTest::validateBatch ( )
inline

Definition at line 113 of file log_batch_test.cpp.

Member Data Documentation

◆ batch

FileObject<LogCollection> LogBatchTest::batch

Definition at line 137 of file log_batch_test.cpp.

◆ expectedTimeStamps

std::vector<std::vector<long> > LogBatchTest::expectedTimeStamps

Definition at line 145 of file log_batch_test.cpp.

◆ file_manager

std::unique_ptr<LogFileManager> LogBatchTest::file_manager

Definition at line 133 of file log_batch_test.cpp.

◆ input_event

Aws::CloudWatchLogs::Model::InputLogEvent LogBatchTest::input_event

Definition at line 135 of file log_batch_test.cpp.

◆ log_data

LogCollection LogBatchTest::log_data

Definition at line 134 of file log_batch_test.cpp.

◆ options

FileManagerStrategyOptions LogBatchTest::options {"test", "log_tests/", ".log", 1024*1024, 1024*1024, true}

Definition at line 141 of file log_batch_test.cpp.

◆ test_strategy

std::shared_ptr<TestStrategy> LogBatchTest::test_strategy

Definition at line 132 of file log_batch_test.cpp.

◆ timestamps

std::vector<long> LogBatchTest::timestamps

Definition at line 136 of file log_batch_test.cpp.


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


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