Classes | Functions
pipeline_test.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <chrono>
#include <condition_variable>
#include <mutex>
#include <random>
#include <string>
#include <thread>
#include <aws/core/Aws.h>
#include <aws/core/utils/logging/ConsoleLogSystem.h>
#include <cloudwatch_logs_common/log_service.h>
#include <cloudwatch_logs_common/log_batcher.h>
#include <cloudwatch_logs_common/log_publisher.h>
#include <file_management/file_upload/file_manager.h>
#include <dataflow_lite/dataflow/dataflow.h>
#include <dataflow_lite/utils/waiter.h>
Include dependency graph for pipeline_test.cpp:

Go to the source code of this file.

Classes

class  PipelineTest
 
class  TestLogFileManager
 
class  TestPublisher
 

Functions

int main (int argc, char **argv)
 
 TEST_F (PipelineTest, Sanity)
 
 TEST_F (PipelineTest, TestBatcherManualPublish)
 
 TEST_F (PipelineTest, TestBatcherManualPublishMultipleItems)
 
 TEST_F (PipelineTest, TestBatcherSize)
 
 TEST_F (PipelineTest, TestSinglePublisherFailureToFileManager)
 
 TEST_F (PipelineTest, TestInvalidDataNotPassedToFileManager)
 
 TEST_F (PipelineTest, TestPublisherIntermittant)
 
 TEST_F (PipelineTest, TestBatchDataTooFast)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 450 of file pipeline_test.cpp.

◆ TEST_F() [1/8]

TEST_F ( PipelineTest  ,
Sanity   
)

Definition at line 179 of file pipeline_test.cpp.

◆ TEST_F() [2/8]

TEST_F ( PipelineTest  ,
TestBatcherManualPublish   
)

Simple Pipeline test to check that everything was hooked up correctly.

Definition at line 186 of file pipeline_test.cpp.

◆ TEST_F() [3/8]

TEST_F ( PipelineTest  ,
TestBatcherManualPublishMultipleItems   
)

Simple Pipeline test to check that everything was hooked up correctly.

Definition at line 218 of file pipeline_test.cpp.

◆ TEST_F() [4/8]

TEST_F ( PipelineTest  ,
TestBatcherSize   
)

Simple Pipeline test to check that everything was hooked up correctly.

Definition at line 250 of file pipeline_test.cpp.

◆ TEST_F() [5/8]

TEST_F ( PipelineTest  ,
TestSinglePublisherFailureToFileManager   
)

Definition at line 287 of file pipeline_test.cpp.

◆ TEST_F() [6/8]

TEST_F ( PipelineTest  ,
TestInvalidDataNotPassedToFileManager   
)

Definition at line 321 of file pipeline_test.cpp.

◆ TEST_F() [7/8]

TEST_F ( PipelineTest  ,
TestPublisherIntermittant   
)

Definition at line 354 of file pipeline_test.cpp.

◆ TEST_F() [8/8]

TEST_F ( PipelineTest  ,
TestBatchDataTooFast   
)

Definition at line 412 of file pipeline_test.cpp.



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