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