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