|
ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
daq::ManagerImpl tests More...
#include <daq/manager.hpp>#include <fmt/ostream.h>#include <regex>#include "mock/daqController.hpp"#include "mock/mockWorkspace.hpp"#include "statusObserver.hpp"#include "utils.hpp"#include <gtest/gtest.h>#include <log4cplus/loggingmacros.h>#include <daq/error/report.hpp>Go to the source code of this file.
Classes | |
| struct | FixtureBase |
| class | TestManagerImplLifecycle |
| class | TestManagerImpl |
Functions | |
| TEST_F (TestManagerImplLifecycle, AddDaqNotifiesObserver) | |
| TEST_F (TestManagerImplLifecycle, AwaitStateCompletesWithAbandonedManager) | |
| TEST_F (TestManagerImpl, MakeId) | |
| TEST_F (TestManagerImpl, StartDaqWithSameIdThrowsInvalidArgument) | |
| TEST_F (TestManagerImpl, StartDaqAsyncStartsDaq) | |
| TEST_F (TestManagerImpl, StartDaqAbortsIfDaqControllerFails) | |
| Tests the behaviour that if DaqController::StartAsync() fails it should automatically force-abort the acquisition. More... | |
| TEST_F (TestManagerImpl, StopNonexistingDaqThrowsInvalidArgument) | |
| TEST_F (TestManagerImpl, StopDaqAsyncStopsDaq) | |
| TEST_F (TestManagerImpl, AbortNonexistingDaqThrowsInvalidArgumentEvenIfTolerant) | |
| TEST_F (TestManagerImpl, AbortDaqAsyncAbortsDaq) | |
| TEST_F (TestManagerImpl, UpdateKeywordsUpdatesKeywords) | |
| TEST_F (TestManagerImpl, UpdateKeywordsForNonexistingDaqThrowsInvalidArgument) | |
| TEST_F (TestManagerImpl, GetStatus) | |
| TEST_F (TestManagerImpl, GetStatusThrowsIfDaqDoesNotExist) | |
| TEST_F (TestManagerImpl, AwaitDaqStateReturnsReadyFutureIfConditionIsFulfilled) | |
| TEST_F (TestManagerImpl, AwaitDaqStateIsReadyWhenConditionIsFulfilled) | |
| TEST_F (TestManagerImpl, AwaitDaqStateIsReadyWhenItTimesout) | |
| TEST_F (TestManagerImpl, StoppedDaqTransitionsToNotScheduled) | |
| TEST_F (TestManagerImpl, RestoreFromWorkspaceAddsDaq) | |
| TEST_F (TestManagerImpl, RestoreFromWorkspaceArchivesStaleDaqs) | |
| TEST_F (TestManagerImpl, RestoreFromWorkspaceSkipsMissingDaq) | |
| TEST_F (TestManagerImpl, RestoreFromWorkspaceIgnoresArchiveFailure) | |
| TEST_F (TestManagerImpl, ContextSignalUpdatesWorkspace) | |
daq::ManagerImpl tests
Definition in file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| AbortDaqAsyncAbortsDaq | |||
| ) |
Definition at line 361 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| AbortNonexistingDaqThrowsInvalidArgumentEvenIfTolerant | |||
| ) |
Definition at line 355 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| AwaitDaqStateIsReadyWhenConditionIsFulfilled | |||
| ) |
Definition at line 425 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| AwaitDaqStateIsReadyWhenItTimesout | |||
| ) |
Definition at line 439 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| AwaitDaqStateReturnsReadyFutureIfConditionIsFulfilled | |||
| ) |
Definition at line 413 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| ContextSignalUpdatesWorkspace | |||
| ) |
Definition at line 601 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| GetStatus | |||
| ) |
Definition at line 397 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| GetStatusThrowsIfDaqDoesNotExist | |||
| ) |
Definition at line 408 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| MakeId | |||
| ) |
Definition at line 250 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| RestoreFromWorkspaceAddsDaq | |||
| ) |
Definition at line 481 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| RestoreFromWorkspaceArchivesStaleDaqs | |||
| ) |
Definition at line 510 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| RestoreFromWorkspaceIgnoresArchiveFailure | |||
| ) |
Definition at line 570 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| RestoreFromWorkspaceSkipsMissingDaq | |||
| ) |
Definition at line 539 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| StartDaqAbortsIfDaqControllerFails | |||
| ) |
Tests the behaviour that if DaqController::StartAsync() fails it should automatically force-abort the acquisition.
This is mainly done because putting that responsibility on the user is not productive.
note: This behaviour can be made configurable.
Definition at line 308 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| StartDaqAsyncStartsDaq | |||
| ) |
Definition at line 286 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| StartDaqWithSameIdThrowsInvalidArgument | |||
| ) |
Definition at line 269 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| StopDaqAsyncStopsDaq | |||
| ) |
Definition at line 339 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| StopNonexistingDaqThrowsInvalidArgument | |||
| ) |
Definition at line 333 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| StoppedDaqTransitionsToNotScheduled | |||
| ) |
Definition at line 452 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| UpdateKeywordsForNonexistingDaqThrowsInvalidArgument | |||
| ) |
Definition at line 390 of file testManager.cpp.
| TEST_F | ( | TestManagerImpl | , |
| UpdateKeywordsUpdatesKeywords | |||
| ) |
Definition at line 377 of file testManager.cpp.
| TEST_F | ( | TestManagerImplLifecycle | , |
| AddDaqNotifiesObserver | |||
| ) |
Definition at line 170 of file testManager.cpp.
| TEST_F | ( | TestManagerImplLifecycle | , |
| AwaitStateCompletesWithAbandonedManager | |||
| ) |
Definition at line 208 of file testManager.cpp.