1 |
#include <iostream> |
2 |
|
3 |
#include "DataEmptyTestCase.h" |
4 |
#include "DataConstantTestCase.h" |
5 |
#include "DataTaggedTestCase.h" |
6 |
#include "DataExpandedTestCase.h" |
7 |
#include "DataFactoryTestCase.h" |
8 |
#include "DataArrayTestCase.h" |
9 |
#include "DataArrayViewTestCase.h" |
10 |
#include "DataBlocks2DTestCase.h" |
11 |
#include "DataVectorTestCase.h" |
12 |
#include "TaipanTestCase.h" |
13 |
#include "DataCTestCase.h" |
14 |
#include "DataAlgorithmAdapterTestCase.h" |
15 |
#include "FunctionSpaceTestCase.h" |
16 |
#include "DataProfTestCase.h" |
17 |
#include "DataTestCase.h" |
18 |
|
19 |
#include "tools/CppUnitTest/TestRunner.h" |
20 |
|
21 |
using namespace CppUnitTest; |
22 |
|
23 |
int main(int argc, char* argv[]) |
24 |
{ |
25 |
// |
26 |
// object which runs all of the tests |
27 |
TestRunner runner; |
28 |
// |
29 |
// add the RangeTestCase suite of tests to the runner |
30 |
runner.addTest ("DataEmpty", DataEmptyTestCase::suite()); |
31 |
runner.addTest ("DataConstant", DataConstantTestCase::suite()); |
32 |
runner.addTest ("DataTagged", DataTaggedTestCase::suite()); |
33 |
runner.addTest ("DataExpanded", DataExpandedTestCase::suite()); |
34 |
runner.addTest ("DataFactory", DataFactoryTestCase::suite()); |
35 |
runner.addTest ("DataArray", DataArrayTestCase::suite()); |
36 |
runner.addTest ("DataArrayView", DataArrayViewTestCase::suite()); |
37 |
runner.addTest ("DataBlocks2D", DataBlocks2DTestCase::suite()); |
38 |
runner.addTest ("DataVector", DataVectorTestCase::suite()); |
39 |
runner.addTest ("Taipan", TaipanTestCase::suite()); |
40 |
runner.addTest ("DataC", DataCTestCase::suite()); |
41 |
runner.addTest ("DataAlgorithmAdapter", DataAlgorithmAdapterTestCase::suite()); |
42 |
runner.addTest ("FunctionSpace", FunctionSpaceTestCase::suite()); |
43 |
runner.addTest ("DataProf", DataProfTestCase::suite()); |
44 |
runner.addTest ("Data", DataTestCase::suite()); |
45 |
|
46 |
// actually run the unit tests. |
47 |
runner.run (argc, argv); |
48 |
return 0; |
49 |
} |
50 |
|
51 |
|