distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
TestCaseGroup.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_TESTCASEGROUP_HPP_
13 #define TEST_TESTCASEGROUP_HPP_
14 
15 #include "TestCaseCommon.hpp"
16 
17 #include "estd/ContiguousRange.hpp"
18 #include "estd/ReferenceHolder.hpp"
19 
20 namespace distortos
21 {
22 
23 namespace test
24 {
25 
28 {
29 public:
30 
33 
40  constexpr explicit TestCaseGroup(const Range range) :
41  range_{range}
42  {
43 
44  }
45 
46 private:
47 
56  bool run_() const override;
57 
60 };
61 
62 } // namespace test
63 
64 } // namespace distortos
65 
66 #endif // TEST_TESTCASEGROUP_HPP_
TestCaseCommon class header.
TestCaseGroup class is a group of TestCase objects.
Definition: TestCaseGroup.hpp:27
bool run_() const override
Runs the test case.
Definition: TestCaseGroup.cpp:24
Range range_
range of references to TestCase objects
Definition: TestCaseGroup.hpp:59
ContiguousRange template class header.
constexpr TestCaseGroup(const Range range)
TestCaseGroup's constructor.
Definition: TestCaseGroup.hpp:40
TestCaseCommon class implements common parts of TestCase.
Definition: TestCaseCommon.hpp:24
Top-level namespace of distortos project.
ReferenceHolder template class header.