#include <gtest/gtest.h>#include <gmock/gmock.h>#include <dataflow_lite/utils/publisher.h>#include <thread>#include <string>
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) | |
| 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.