You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
basics
testsuite
testTest.hh
Go to the documentation of this file.
1
6
#ifndef testTest_hh
7
#define testTest_hh
8
9
#include "
basics/testcase.hh
"
10
11
namespace
test
{
12
16
class
ToTest
:
public
TestCase
{
17
public
:
18
virtual
~ToTest
() {}
19
20
virtual
void
run
() {
21
testit();
22
}
23
25
26
void
testit() {
27
_test
(
true
);
28
_succeed
();
29
}
31
};
32
33
}
// namespace test
34
35
#endif
// testTest_hh
test::TestCase
Definition
testcase.hh:92
test::TestCase::_succeed
void _succeed()
Explicitly succeds a test.
Definition
testcase.hh:112
test::ToTest
Definition
testTest.hh:16
test::ToTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Definition
testTest.hh:20
test
Definition
testcase.hh:66
testcase.hh
_test
#define _test(cond)
Tests if cond is true (test passed) or not (test failed)
Definition
testcase.hh:76
Generated on Wed Sep 13 2023 21:06:17 for Concepts by
1.9.8