blob: 421e4035232bae24fc3ed7f5ce4b7d095e5aaad3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef CPPUNIT_TEST_H
#define CPPUNIT_TEST_H
#include <string>
namespace CppUnit {
class TestResult;
/**
* A Test can be run and collect its results.
* \see TestResult.
*
*/
class Test
{
public:
virtual ~Test () {};
virtual void run (TestResult *result) = 0;
virtual int countTestCases () const = 0;
virtual std::string toString () const = 0;
virtual std::string getName () const = 0;
};
} // namespace CppUnit
#endif // CPPUNIT_TEST_H
|