distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
CallOnceOperationsTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_CALLONCE_CALLONCEOPERATIONSTESTCASE_HPP_
13 #define TEST_CALLONCE_CALLONCEOPERATIONSTESTCASE_HPP_
14 
15 #include "PrioritizedTestCase.hpp"
16 
17 namespace distortos
18 {
19 
20 namespace test
21 {
22 
32 {
34  constexpr static uint8_t testCasePriority_ {UINT8_MAX};
35 
36 public:
37 
44  {
45 
46  }
47 
48 private:
49 
56  bool run_() const override;
57 };
58 
59 } // namespace test
60 
61 } // namespace distortos
62 
63 #endif // TEST_CALLONCE_CALLONCEOPERATIONSTESTCASE_HPP_
constexpr CallOnceOperationsTestCase()
CallOnceOperationsTestCase's constructor.
Definition: CallOnceOperationsTestCase.hpp:42
PrioritizedTestCase class header.
Top-level namespace of distortos project.
bool run_() const override
Runs the test case.
Definition: CallOnceOperationsTestCase.cpp:120
Tests callOnce() functionality.
Definition: CallOnceOperationsTestCase.hpp:31
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: CallOnceOperationsTestCase.hpp:34
PrioritizedTestCase class is a TestCase which runs at specific priority, restoring original priority ...
Definition: PrioritizedTestCase.hpp:30