1 |
jgs |
82 |
#if !defined HANDLETESTCASE_H |
2 |
|
|
#define HANDLETESTCASE_H |
3 |
|
|
|
4 |
|
|
#include <string> |
5 |
|
|
|
6 |
|
|
#include "CppUnitTest/TestCase.h" |
7 |
|
|
#include "CppUnitTest/TestSuite.h" |
8 |
|
|
#include "CppUnitTest/TestCaller.h" |
9 |
|
|
|
10 |
|
|
class EsysExceptionTestCase : public CppUnitTest::TestCase |
11 |
|
|
{ |
12 |
|
|
private: |
13 |
|
|
// |
14 |
|
|
protected: |
15 |
|
|
// |
16 |
|
|
// The following methods are for tests |
17 |
|
|
// |
18 |
|
|
// test methods |
19 |
|
|
// |
20 |
|
|
void testCase0(); |
21 |
|
|
void testCase1(); |
22 |
|
|
void testCase2(); |
23 |
|
|
|
24 |
|
|
public: |
25 |
|
|
EsysExceptionTestCase (std::string name) : CppUnitTest::TestCase (name) {} |
26 |
|
|
~EsysExceptionTestCase() {} |
27 |
|
|
// |
28 |
|
|
// |
29 |
|
|
// return the suite of tests to perform |
30 |
|
|
// |
31 |
|
|
static CppUnitTest::TestSuite* suite (); |
32 |
|
|
}; |
33 |
|
|
|
34 |
|
|
#endif |