|
RTC Toolkit 5.1.0
|
Helper stuff for unit tests. More...
#include <chrono>#include <condition_variable>#include <functional>#include <gmock/gmock.h>#include <gtest/gtest.h>#include <rtctk/componentFramework/componentMetricsIf.hpp>#include <rtctk/componentFramework/dataPointRecordingUnit.hpp>#include <rtctk/componentFramework/eventServiceIf.hpp>#include <rtctk/componentFramework/recordingUnit.hpp>#include <rtctk/componentFramework/test/fakeComponentMetrics.hpp>#include <rtctk/componentFramework/test/fakeOldbIf.hpp>#include <rtctk/componentFramework/test/fakeRuntimeRepoIf.hpp>#include <rtctk/componentFramework/test/mockRepository.hpp>#include <iostream>#include <memory>#include <mutex>#include <stdexcept>Go to the source code of this file.
Classes | |
| class | FakeRecorder< T > |
| class | MockEventPublisher |
| class | MockEventSubscriber |
| class | MockEventService |
| struct | FakeServices |
Functions | |
| void | AwaitState (RecordingUnit &unit, RecordingUnit::State state, std::chrono::milliseconds timeout=std::chrono::milliseconds{5000}) |
| ACTION (Throw) | |
Variables | |
| void * | rec_ptr |
Helper stuff for unit tests.
| ACTION | ( | Throw | ) |
|
inline |
|
extern |