A lambda-based C++ unit-testing framework.
Revision | fe214034347165c756203e869fab47828298ab86 (tree) |
---|---|
Zeit | 2020-01-23 12:51:08 |
Autor | Kaz Nishimura <kazssym@linu...> |
Commiter | Kaz Nishimura |
Add new class 'TestContext'
@@ -25,6 +25,16 @@ | ||
25 | 25 | |
26 | 26 | namespace cppunitx |
27 | 27 | { |
28 | + /// Test context. | |
29 | + class _CPPUNITX_PUBLIC TestContext | |
30 | + { | |
31 | + public: | |
32 | + TestContext(); | |
33 | + | |
34 | + public: | |
35 | + virtual ~TestContext(); | |
36 | + }; | |
37 | + | |
28 | 38 | /// Test driver. |
29 | 39 | class _CPPUNITX_PUBLIC TestDriver |
30 | 40 | { |
@@ -39,6 +39,16 @@ | ||
39 | 39 | const int SKIP = 77; |
40 | 40 | const int ERROR = 99; |
41 | 41 | |
42 | +// Class 'TestContext' implementation. | |
43 | + | |
44 | +TestContext::TestContext() | |
45 | +{ | |
46 | +} | |
47 | + | |
48 | +TestContext::~TestContext() | |
49 | +{ | |
50 | +} | |
51 | + | |
42 | 52 | // Class 'TestDriver' implementation. |
43 | 53 | |
44 | 54 | shared_ptr<TestDriver> TestDriver::getInstance() |