distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
SignalsWaitTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_SIGNALS_SIGNALSWAITTESTCASE_HPP_
13 #define TEST_SIGNALS_SIGNALSWAITTESTCASE_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 namespace test
21 {
22 
31 {
33  constexpr static uint8_t testCasePriority_ {UINT8_MAX / 2};
34 
35 public:
36 
41  constexpr SignalsWaitTestCase() :
43  {
44 
45  }
46 
47 private:
48 
55  bool run_() const override;
56 };
57 
58 } // namespace test
59 
60 } // namespace distortos
61 
62 #endif // TEST_SIGNALS_SIGNALSWAITTESTCASE_HPP_
constexpr SignalsWaitTestCase()
SignalsWaitTestCase's constructor.
Definition: SignalsWaitTestCase.hpp:41
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: SignalsWaitTestCase.hpp:33
Tests waiting for signals.
Definition: SignalsWaitTestCase.hpp:30
SignalsTestCaseCommon class is a TestCase with initialization and finalization steps required for sig...
Definition: SignalsTestCaseCommon.hpp:39
SignalsTestCaseCommon class header.
SignalSet class is used as a set of signals.
Definition: SignalSet.hpp:28
Top-level namespace of distortos project.
bool run_() const override
Runs the test case.
Definition: SignalsWaitTestCase.cpp:222
static constexpr Empty empty
tag object to construct empty SignalSet
Definition: SignalSet.hpp:48