/[escript]/release/esys13-0_1/escript/test/DataAlgorithmAdapterTestCase.h
ViewVC logotype

Annotation of /release/esys13-0_1/escript/test/DataAlgorithmAdapterTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26