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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1387 - (hide annotations)
Fri Jan 11 07:45:26 2008 UTC (12 years ago) by trankine
Original Path: temp/escript/test/DataTestCase.h
File MIME type: text/plain
File size: 1380 byte(s)
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.
1 ksteube 1312
2     /* $Id$ */
3    
4     /*******************************************************
5     *
6     * Copyright 2003-2007 by ACceSS MNRF
7     * Copyright 2007 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16 jgs 82 #if !defined DataTestCase_20040624_H
17     #define DataTestCase_20040624_H
18    
19 gross 700 #include "tools/CppUnitTest/TestCase.h"
20     #include "tools/CppUnitTest/TestSuite.h"
21     #include "tools/CppUnitTest/TestCaller.h"
22 jgs 82
23 gross 713 #define REL_TOL ((double)1.e-10)
24    
25 jgs 82 class DataTestCase : public CppUnitTest::TestCase
26     {
27     public:
28    
29     //
30     // setUp is called before each test method to set up test state
31     void setUp();
32    
33     //
34     // tearDown is called after each test method is called.
35     void tearDown();
36    
37     //
38     // A test method must return void and have no arguments
39    
40     void testAll();
41     void testMore();
42     void testConstructors();
43     void testDataConstant();
44     void testDataTagged();
45     void testDataTaggedExceptions();
46     void testSlicing();
47     void testOperations();
48 jgs 151 void testMemAlloc();
49 jgs 82
50     DataTestCase (std::string name) : TestCase (name) {}
51     ~DataTestCase() {}
52    
53     //
54     //
55     // return the suite of tests to perform
56     //
57    
58     static CppUnitTest::TestSuite* suite ();
59    
60     };
61    
62     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26