distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
ARMv7-M-FpuThreadTestCase.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_ARCHITECTURE_ARM_ARMV7_M_ARMV7_M_FPUTHREADTESTCASE_HPP_
13 #define TEST_ARCHITECTURE_ARM_ARMV7_M_ARMV7_M_FPUTHREADTESTCASE_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 
42  constexpr FpuThreadTestCase() :
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_ARCHITECTURE_ARM_ARMV7_M_ARMV7_M_FPUTHREADTESTCASE_HPP_
static constexpr uint8_t testCasePriority_
priority at which this test case should be executed
Definition: ARMv7-M-FpuThreadTestCase.hpp:34
PrioritizedTestCase class header.
constexpr FpuThreadTestCase()
FpuThreadTestCase's constructor.
Definition: ARMv7-M-FpuThreadTestCase.hpp:42
Top-level namespace of distortos project.
Tests saving of FPU context between threads.
Definition: ARMv7-M-FpuThreadTestCase.hpp:31
bool run_() const override
Runs the test case.
Definition: ARMv7-M-FpuThreadTestCase.cpp:104
PrioritizedTestCase class is a TestCase which runs at specific priority, restoring original priority ...
Definition: PrioritizedTestCase.hpp:30