/[escript]/trunk/bruce/test/Bruce/BruceTestCase.h
ViewVC logotype

Contents of /trunk/bruce/test/Bruce/BruceTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 627 - (show annotations)
Thu Mar 23 02:22:46 2006 UTC (13 years, 3 months ago) by elspeth
File MIME type: text/plain
File size: 1579 byte(s)
Copyright information added.

1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined BruceTestCase_20050829_H
14 #define BruceTestCase_20050829_H
15
16 #include "CppUnitTest/TestCase.h"
17 #include "CppUnitTest/TestSuite.h"
18 #include "CppUnitTest/TestCaller.h"
19
20 class BruceTestCase : public CppUnitTest::TestCase
21 {
22 public:
23
24 //
25 // setUp is called before each test method to set up test state
26 void setUp();
27 //
28 // tearDown is called after each test method is called.
29 void tearDown();
30
31 //
32 // A test method must return void and have no arguments
33 void testConstructorException();
34 void testNull();
35 void testZero();
36 void test1d();
37 void test2d();
38 void test3d();
39 void testBig();
40 void testSetToXcon();
41 void testSetToXfun();
42 void testSetToSizecon();
43 void testSetToSizefun();
44 void testSetToXException();
45 void testSetToSizeException();
46 void testGetReferenceNoFromSampleNo();
47
48 BruceTestCase (std::string name) : TestCase (name) {}
49 ~BruceTestCase() {}
50 //
51 //
52 // return the suite of tests to perform
53 //
54 static CppUnitTest::TestSuite* suite ();
55 };
56
57 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26