distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
SignalsQueuedOperationsTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_SIGNALS_SIGNALSQUEUEDOPERATIONSTESTCASE_HPP_
13 #define TEST_SIGNALS_SIGNALSQUEUEDOPERATIONSTESTCASE_HPP_
14 
16 
17 #include "abortSignalHandler.hpp"
18 
19 namespace distortos
20 {
21 
22 namespace test
23 {
24 
32 {
34  constexpr static uint8_t testCasePriority_ {UINT8_MAX / 2};
35 
36 public:
37 
45  {
46 
47  }
48 
49 private:
50 
57  bool run_() const override;
58 };
59 
60 } // namespace test
61 
62 } // namespace distortos
63 
64 #endif // TEST_SIGNALS_SIGNALSQUEUEDOPERATIONSTESTCASE_HPP_
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: SignalsQueuedOperationsTestCase.hpp:34
abortSignalHandler() declaration
SignalsTestCaseCommon class is a TestCase with initialization and finalization steps required for sig...
Definition: SignalsTestCaseCommon.hpp:39
SignalsTestCaseCommon class header.
Tests operations specific to queued signals.
Definition: SignalsQueuedOperationsTestCase.hpp:31
static constexpr Full full
tag object to construct full SignalSet
Definition: SignalSet.hpp:51
SignalSet class is used as a set of signals.
Definition: SignalSet.hpp:28
Top-level namespace of distortos project.
void abortSignalHandler(const SignalInformation &)
Signal handler that is never supposed to be executed - it calls abort().
Definition: abortSignalHandler.cpp:26
bool run_() const override
Runs the test case.
Definition: SignalsQueuedOperationsTestCase.cpp:135
constexpr SignalsQueuedOperationsTestCase()
SignalsQueuedOperationsTestCase's constructor.
Definition: SignalsQueuedOperationsTestCase.hpp:42