distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
SignalCatchingOperationsTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_SIGNALS_SIGNALCATCHINGOPERATIONSTESTCASE_HPP_
13 #define TEST_SIGNALS_SIGNALCATCHINGOPERATIONSTESTCASE_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 static uint8_t getTestCasePriority()
42  {
43  return testCasePriority_;
44  }
45 
52  {
53 
54  }
55 
56 private:
57 
64  bool run_() const override;
65 };
66 
67 } // namespace test
68 
69 } // namespace distortos
70 
71 #endif // TEST_SIGNALS_SIGNALCATCHINGOPERATIONSTESTCASE_HPP_
SignalsTestCaseCommon class is a TestCase with initialization and finalization steps required for sig...
Definition: SignalsTestCaseCommon.hpp:39
SignalsTestCaseCommon class header.
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.
bool run_() const override
Runs the test case.
Definition: SignalCatchingOperationsTestCase.cpp:275
constexpr SignalCatchingOperationsTestCase()
SignalCatchingOperationsTestCase's constructor.
Definition: SignalCatchingOperationsTestCase.hpp:50
Tests operations specific to catching signals.
Definition: SignalCatchingOperationsTestCase.hpp:30
static constexpr uint8_t getTestCasePriority()
Definition: SignalCatchingOperationsTestCase.hpp:41
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: SignalCatchingOperationsTestCase.hpp:33