1 |
|
2 |
/******************************************************* |
3 |
* |
4 |
* Copyright (c) 2003-2009 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 DataTaggedTestCase_20040616_H |
16 |
#define DataTaggedTestCase_20040616_H |
17 |
|
18 |
#include "tools/CppUnitTest/TestCase.h" |
19 |
#include "tools/CppUnitTest/TestSuite.h" |
20 |
#include "tools/CppUnitTest/TestCaller.h" |
21 |
|
22 |
|
23 |
class DataTaggedTestCase : public CppUnitTest::TestCase |
24 |
{ |
25 |
public: |
26 |
|
27 |
// |
28 |
// setUp is called before each test method to set up test state |
29 |
void setUp(); |
30 |
// |
31 |
// tearDown is called after each test method is called. |
32 |
void tearDown(); |
33 |
|
34 |
// |
35 |
// A test method must return void and have no arguments |
36 |
// DataTagged class |
37 |
void testAll(); |
38 |
void testAddTaggedValues(); |
39 |
void testSetTaggedValue(); |
40 |
void testCopyConstructors(); |
41 |
void testOperations(); |
42 |
void testGetSlice(); |
43 |
void testSetSlice(); |
44 |
// void testFunctionSpaces(); |
45 |
|
46 |
|
47 |
DataTaggedTestCase (std::string name) : TestCase (name) {} |
48 |
~DataTaggedTestCase() {} |
49 |
// |
50 |
// |
51 |
// return the suite of tests to perform |
52 |
// |
53 |
static CppUnitTest::TestSuite* suite (); |
54 |
}; |
55 |
|
56 |
#endif |