distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
MutexErrorCheckingOperationsTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_MUTEX_MUTEXERRORCHECKINGOPERATIONSTESTCASE_HPP_
13 #define TEST_MUTEX_MUTEXERRORCHECKINGOPERATIONSTESTCASE_HPP_
14 
15 #include "PrioritizedTestCase.hpp"
16 
17 namespace distortos
18 {
19 
20 namespace test
21 {
22 
30 {
32  constexpr static uint8_t testCasePriority_ {UINT8_MAX - 1};
33 
34 public:
35 
42  {
43 
44  }
45 
46 private:
47 
54  bool run_() const override;
55 };
56 
57 } // namespace test
58 
59 } // namespace distortos
60 
61 #endif // TEST_MUTEX_MUTEXERRORCHECKINGOPERATIONSTESTCASE_HPP_
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: MutexErrorCheckingOperationsTestCase.hpp:32
PrioritizedTestCase class header.
constexpr MutexErrorCheckingOperationsTestCase()
MutexErrorCheckingOperationsTestCase's constructor.
Definition: MutexErrorCheckingOperationsTestCase.hpp:40
Top-level namespace of distortos project.
bool run_() const override
Runs the test case.
Definition: MutexErrorCheckingOperationsTestCase.cpp:43
PrioritizedTestCase class is a TestCase which runs at specific priority, restoring original priority ...
Definition: PrioritizedTestCase.hpp:30
Tests operations in scenarios specific for ErrorChecking type of mutex.
Definition: MutexErrorCheckingOperationsTestCase.hpp:29