/[escript]/branches/ROBW_XPLATFORM/escript/test/escript_UnitTest.cpp
ViewVC logotype

Annotation of /branches/ROBW_XPLATFORM/escript/test/escript_UnitTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 642 - (hide annotations)
Thu Mar 23 14:03:49 2006 UTC (17 years ago) by robwdcock
File size: 1921 byte(s)
+ Bruce unit tests consolidated and added to build system

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

  ViewVC Help
Powered by ViewVC 1.1.26