distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
SignalsGenerationOperationsTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_SIGNALS_SIGNALSGENERATIONOPERATIONSTESTCASE_HPP_
13 #define TEST_SIGNALS_SIGNALSGENERATIONOPERATIONSTESTCASE_HPP_
14 
16 
17 #include "abortSignalHandler.hpp"
18 
19 namespace distortos
20 {
21 
22 namespace test
23 {
24 
33 {
35  constexpr static uint8_t testCasePriority_ {UINT8_MAX / 2};
36 
37 public:
38 
46  {
47 
48  }
49 
50 private:
51 
58  bool run_() const override;
59 };
60 
61 } // namespace test
62 
63 } // namespace distortos
64 
65 #endif // TEST_SIGNALS_SIGNALSGENERATIONOPERATIONSTESTCASE_HPP_
bool run_() const override
Runs the test case.
Definition: SignalsGenerationOperationsTestCase.cpp:38
constexpr SignalsGenerationOperationsTestCase()
SignalsGenerationOperationsTestCase's constructor.
Definition: SignalsGenerationOperationsTestCase.hpp:43
abortSignalHandler() declaration
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: SignalsGenerationOperationsTestCase.hpp:35
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.
void abortSignalHandler(const SignalInformation &)
Signal handler that is never supposed to be executed - it calls abort().
Definition: abortSignalHandler.cpp:26
Tests operations specific to generated signals.
Definition: SignalsGenerationOperationsTestCase.hpp:32