/[escript]/trunk/escript/test/DataVectorTestCase.h
ViewVC logotype

Annotation of /trunk/escript/test/DataVectorTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 700 - (hide annotations)
Thu Apr 6 00:13:40 2006 UTC (13 years, 8 months ago) by gross
File MIME type: text/plain
File size: 1626 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 jgs 117 /*
2     *****************************************************************************
3     * *
4     * COPYRIGHT ACcESS - All Rights Reserved *
5     * *
6     * This software is the property of ACcESS. No part of this code *
7     * may be copied in any form or by any means without the expressed written *
8     * consent of ACcESS. Copying, use or modification of this software *
9     * by any unauthorised person is illegal unless that person has a software *
10     * license agreement with ACcESS. *
11     * *
12     *****************************************************************************
13     */
14     #if !defined DataVectorTestCase_20050324_H
15     #define DataVectorTestCase_20050324_H
16    
17 gross 700 #include "tools/CppUnitTest/TestCase.h"
18     #include "tools/CppUnitTest/TestSuite.h"
19     #include "tools/CppUnitTest/TestCaller.h"
20 jgs 117
21     class DataVectorTestCase : public CppUnitTest::TestCase
22     {
23     public:
24    
25     //
26     // setUp is called before each test method to set up test state
27     void setUp();
28     //
29     // tearDown is called after each test method is called.
30     void tearDown();
31    
32     //
33     // A test method must return void and have no arguments
34     // DataVector class
35     void testAll();
36    
37     DataVectorTestCase (std::string name) : TestCase (name) {}
38     ~DataVectorTestCase() {}
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