distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
SignalsCatchingTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_SIGNALS_SIGNALSCATCHINGTESTCASE_HPP_
13 #define TEST_SIGNALS_SIGNALSCATCHINGTESTCASE_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 namespace test
21 {
22 
36 {
38  constexpr static uint8_t testCasePriority_ {UINT8_MAX / 2};
39 
40 public:
41 
46  constexpr static uint8_t getTestCasePriority()
47  {
48  return testCasePriority_;
49  }
50 
57  {
58 
59  }
60 
61 private:
62 
69  bool run_() const override;
70 };
71 
72 } // namespace test
73 
74 } // namespace distortos
75 
76 #endif // TEST_SIGNALS_SIGNALSCATCHINGTESTCASE_HPP_
bool run_() const override
Runs the test case.
Definition: SignalsCatchingTestCase.cpp:1607
constexpr SignalsCatchingTestCase()
SignalsCatchingTestCase's constructor.
Definition: SignalsCatchingTestCase.hpp:55
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.
static constexpr uint8_t getTestCasePriority()
Definition: SignalsCatchingTestCase.hpp:46
Tests operations specific to catching of signals.
Definition: SignalsCatchingTestCase.hpp:35
static constexpr Empty empty
tag object to construct empty SignalSet
Definition: SignalSet.hpp:48
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: SignalsCatchingTestCase.hpp:38