/[escript]/trunk/esysUtils/test/EsysExceptionTestCase.h
ViewVC logotype

Contents of /trunk/esysUtils/test/EsysExceptionTestCase.h

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 MIME type: text/plain
File size: 1223 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 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined HANDLETESTCASE_H
14 #define HANDLETESTCASE_H
15
16 #include <string>
17
18 #include "tools/CppUnitTest/TestCase.h"
19 #include "tools/CppUnitTest/TestSuite.h"
20 #include "tools/CppUnitTest/TestCaller.h"
21
22 class EsysExceptionTestCase : public CppUnitTest::TestCase
23 {
24 private:
25 //
26 protected:
27 //
28 // The following methods are for tests
29 //
30 // test methods
31 //
32 void testCase0();
33 void testCase1();
34 void testCase2();
35
36 public:
37 EsysExceptionTestCase (std::string name) : CppUnitTest::TestCase (name) {}
38 ~EsysExceptionTestCase() {}
39 //
40 //
41 // return the suite of tests to perform
42 //
43 static CppUnitTest::TestSuite* suite ();
44 };
45
46 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26