distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
FifoQueuePriorityTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_QUEUE_FIFOQUEUEPRIORITYTESTCASE_HPP_
13 #define TEST_QUEUE_FIFOQUEUEPRIORITYTESTCASE_HPP_
14 
15 #include "PrioritizedTestCase.hpp"
16 
17 namespace distortos
18 {
19 
20 namespace test
21 {
22 
33 {
35  constexpr static uint8_t testCasePriority_ {1};
36 
37 public:
38 
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_QUEUE_FIFOQUEUEPRIORITYTESTCASE_HPP_
PrioritizedTestCase class header.
Top-level namespace of distortos project.
Tests priority scheduling of FIFO queue (raw and non-raw).
Definition: FifoQueuePriorityTestCase.hpp:32
bool run_() const override
Runs the test case.
Definition: FifoQueuePriorityTestCase.cpp:216
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: FifoQueuePriorityTestCase.hpp:35
PrioritizedTestCase class is a TestCase which runs at specific priority, restoring original priority ...
Definition: PrioritizedTestCase.hpp:30
constexpr FifoQueuePriorityTestCase()
FifoQueuePriorityTestCase's constructor.
Definition: FifoQueuePriorityTestCase.hpp:43