/[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 700 - (show annotations)
Thu Apr 6 00:13:40 2006 UTC (13 years, 6 months ago) by gross
File size: 1735 byte(s)
A few changes in the build mechanism and the file structure so scons can build release tar files:

  * paso/src/Solver has been moved to paso/src 
  * all test_.py are now run_.py files and are assumed to be passing python tests. they can run by 
    scons py_tests and are part of the release test set
  * escript/py_src/test_ are moved to escript/test/python and are installed in to the build directory 
    (rather then the PYTHONPATH).
  * all py files in test/python which don't start with run_ or test_ are now 'local_py_tests'. they are installed i
    by not run automatically.
  * CppUnitTest is now treated as a escript module (against previous decisions).
  * scons realse builds nor tar/zip files with relvant source code (src and tests in seperate files)

the python tests don't pass yet due to path problems.


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

  ViewVC Help
Powered by ViewVC 1.1.26