Classes | Functions
publisher_test.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <dataflow_lite/utils/publisher.h>
#include <thread>
#include <string>
Include dependency graph for publisher_test.cpp:

Go to the source code of this file.

Classes

class  PublisherTest
 
class  SimpleTestPublisher
 

Functions

 TEST_F (PublisherTest, Sanity)
 
 TEST_F (PublisherTest, TestPublishFailNotStarted)
 
 TEST_F (PublisherTest, TestPublishSuccessWhenStarted)
 
 TEST_F (PublisherTest, TestPublishFailure)
 
 TEST_F (PublisherTest, TestPublisherShutdown)
 

Function Documentation

TEST_F ( PublisherTest  ,
Sanity   
)

Test that there are no issues with the fixture

Definition at line 75 of file publisher_test.cpp.

TEST_F ( PublisherTest  ,
TestPublishFailNotStarted   
)

Test publish failure if the publisher has not been started

Definition at line 82 of file publisher_test.cpp.

TEST_F ( PublisherTest  ,
TestPublishSuccessWhenStarted   
)

Test that the publisher succeeds after starting

Definition at line 97 of file publisher_test.cpp.

TEST_F ( PublisherTest  ,
TestPublishFailure   
)

Test a publish failure

Definition at line 117 of file publisher_test.cpp.

TEST_F ( PublisherTest  ,
TestPublisherShutdown   
)

Test that the publisher shutdown correctly and does not publish data after shutting down

Definition at line 149 of file publisher_test.cpp.



dataflow_lite
Author(s): AWS RoboMaker
autogenerated on Fri May 7 2021 02:18:22