1 |
/* |
2 |
************************************************************ |
3 |
* Copyright 2006 by ACcESS MNRF * |
4 |
* * |
5 |
* http://www.access.edu.au * |
6 |
* Primary Business: Queensland, Australia * |
7 |
* Licensed under the Open Software License version 3.0 * |
8 |
* http://www.opensource.org/licenses/osl-3.0.php * |
9 |
* * |
10 |
************************************************************ |
11 |
*/ |
12 |
|
13 |
#if !defined HANDLETESTCASE_H |
14 |
#define HANDLETESTCASE_H |
15 |
|
16 |
#include <string> |
17 |
|
18 |
#include "tools/CppUnitTest/TestCase.h" |
19 |
#include "tools/CppUnitTest/TestSuite.h" |
20 |
#include "tools/CppUnitTest/TestCaller.h" |
21 |
|
22 |
class EsysExceptionTestCase : public CppUnitTest::TestCase |
23 |
{ |
24 |
private: |
25 |
// |
26 |
protected: |
27 |
// |
28 |
// The following methods are for tests |
29 |
// |
30 |
// test methods |
31 |
// |
32 |
void testCase0(); |
33 |
void testCase1(); |
34 |
void testCase2(); |
35 |
|
36 |
public: |
37 |
EsysExceptionTestCase (std::string name) : CppUnitTest::TestCase (name) {} |
38 |
~EsysExceptionTestCase() {} |
39 |
// |
40 |
// |
41 |
// return the suite of tests to perform |
42 |
// |
43 |
static CppUnitTest::TestSuite* suite (); |
44 |
}; |
45 |
|
46 |
#endif |