1 |
ksteube |
1312 |
|
2 |
|
|
/******************************************************* |
3 |
ksteube |
1811 |
* |
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 |
ksteube |
1312 |
|
14 |
ksteube |
1811 |
|
15 |
jgs |
82 |
#if !defined DataFactoryTestCase_20040721_H |
16 |
|
|
#define DataFactoryTestCase_20040721_H |
17 |
|
|
|
18 |
gross |
700 |
#include "tools/CppUnitTest/TestCase.h" |
19 |
|
|
#include "tools/CppUnitTest/TestSuite.h" |
20 |
|
|
#include "tools/CppUnitTest/TestCaller.h" |
21 |
jgs |
82 |
|
22 |
|
|
class DataFactoryTestCase : public CppUnitTest::TestCase |
23 |
|
|
{ |
24 |
|
|
public: |
25 |
|
|
|
26 |
|
|
// |
27 |
|
|
// setUp is called before each test method to set up test state |
28 |
|
|
void setUp(); |
29 |
|
|
// |
30 |
|
|
// tearDown is called after each test method is called. |
31 |
|
|
void tearDown(); |
32 |
|
|
|
33 |
|
|
// |
34 |
|
|
// A test method must return void and have no arguments |
35 |
|
|
// DataFactory class |
36 |
|
|
void testAll(); |
37 |
|
|
|
38 |
|
|
DataFactoryTestCase (std::string name) : TestCase (name) {} |
39 |
|
|
~DataFactoryTestCase() {} |
40 |
|
|
// |
41 |
|
|
// |
42 |
|
|
// return the suite of tests to perform |
43 |
|
|
// |
44 |
|
|
static CppUnitTest::TestSuite* suite (); |
45 |
|
|
}; |
46 |
|
|
|
47 |
|
|
#endif |