/[escript]/trunk-mpi-branch/bruce/test/BruceTestCase.h
ViewVC logotype

Contents of /trunk-mpi-branch/bruce/test/BruceTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1306 - (show annotations)
Tue Sep 18 05:51:09 2007 UTC (11 years, 11 months ago) by ksteube
File MIME type: text/plain
File size: 1505 byte(s)
New Copyright in each .c .h .cpp and .py file

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 BruceTestCase_20050829_H
17 #define BruceTestCase_20050829_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 BruceTestCase : 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 // tearDown is called after each test method is called.
34 void tearDown();
35
36 //
37 // A test method must return void and have no arguments
38 void testConstructorException();
39 void testNull();
40 void testZero();
41 void test1d();
42 void test2d();
43 void test3d();
44 void testBig();
45 void testSetToXcon();
46 void testSetToXfun();
47 void testSetToSizecon();
48 void testSetToSizefun();
49 void testSetToXException();
50 void testSetToSizeException();
51 void testGetReferenceNoFromSampleNo();
52
53 BruceTestCase (std::string name) : TestCase (name) {}
54 ~BruceTestCase() {}
55 //
56 //
57 // return the suite of tests to perform
58 //
59 static CppUnitTest::TestSuite* suite ();
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