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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1312 - (show annotations)
Mon Sep 24 06:18:44 2007 UTC (12 years ago) by ksteube
File MIME type: text/plain
File size: 1380 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

1
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 #if !defined DataTestCase_20040624_H
17 #define DataTestCase_20040624_H
18
19 #include "tools/CppUnitTest/TestCase.h"
20 #include "tools/CppUnitTest/TestSuite.h"
21 #include "tools/CppUnitTest/TestCaller.h"
22
23 #define REL_TOL ((double)1.e-10)
24
25 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 void testMemAlloc();
49
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