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