/[escript]/trunk/escript/test/escript_UnitTest.cpp
ViewVC logotype

Contents of /trunk/escript/test/escript_UnitTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1137 - (show annotations)
Thu May 10 08:11:31 2007 UTC (12 years, 4 months ago) by gross
File size: 1648 byte(s)
This version passes the tests on windows except for 

   * vtk
   * netCDF

The version needs to be tested on altix and linux
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 "DataTestCase.h"
17
18 #include "tools/CppUnitTest/TestRunner.h"
19
20 using namespace CppUnitTest;
21
22 int main(int argc, char* argv[])
23 {
24 //
25 // object which runs all of the tests
26 TestRunner runner;
27 //
28 // add the RangeTestCase suite of tests to the runner
29 runner.addTest ("DataEmpty", DataEmptyTestCase::suite());
30 runner.addTest ("DataConstant", DataConstantTestCase::suite());
31 runner.addTest ("DataTagged", DataTaggedTestCase::suite());
32 runner.addTest ("DataExpanded", DataExpandedTestCase::suite());
33 runner.addTest ("DataFactory", DataFactoryTestCase::suite());
34 runner.addTest ("DataArray", DataArrayTestCase::suite());
35 runner.addTest ("DataArrayView", DataArrayViewTestCase::suite());
36 runner.addTest ("DataBlocks2D", DataBlocks2DTestCase::suite());
37 runner.addTest ("DataVector", DataVectorTestCase::suite());
38 runner.addTest ("Taipan", TaipanTestCase::suite());
39 runner.addTest ("DataC", DataCTestCase::suite());
40 runner.addTest ("DataAlgorithmAdapter", DataAlgorithmAdapterTestCase::suite());
41 runner.addTest ("FunctionSpace", FunctionSpaceTestCase::suite());
42 runner.addTest ("Data", DataTestCase::suite());
43
44 // actually run the unit tests.
45 runner.run (argc, argv);
46 return 0;
47 }
48
49

  ViewVC Help
Powered by ViewVC 1.1.26