/[escript]/branches/RW_WIN32/bruce/test/BruceTestCase.h
ViewVC logotype

Annotation of /branches/RW_WIN32/bruce/test/BruceTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 218 - (hide annotations)
Thu Nov 24 07:42:12 2005 UTC (13 years, 10 months ago) by robwdcock
File MIME type: text/plain
File size: 1890 byte(s)
All C++/C Unit tests now build (using scons) and pass on win32
1 jgs 149 /*
2     *****************************************************************************
3     * *
4     * COPYRIGHT ACcESS - All Rights Reserved *
5     * *
6     * This software is the property of ACcESS. No part of this code *
7     * may be copied in any form or by any means without the expressed written *
8     * consent of ACcESS. Copying, use or modification of this software *
9     * by any unauthorised person is illegal unless that person has a software *
10     * license agreement with ACcESS. *
11     * *
12     *****************************************************************************
13     */
14    
15     #if !defined BruceTestCase_20050829_H
16     #define BruceTestCase_20050829_H
17    
18     #include "CppUnitTest/TestCase.h"
19     #include "CppUnitTest/TestSuite.h"
20     #include "CppUnitTest/TestCaller.h"
21    
22     class BruceTestCase : 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 jgs 150 void testConstructorException();
36     void testNull();
37     void testZero();
38     void test1d();
39     void test2d();
40     void test3d();
41     void testBig();
42 jgs 151 void testSetToXcon();
43     void testSetToXfun();
44     void testSetToSizecon();
45     void testSetToSizefun();
46 jgs 153 void testSetToXException();
47     void testSetToSizeException();
48 jgs 154 void testGetReferenceNoFromSampleNo();
49 jgs 149
50     BruceTestCase (std::string name) : TestCase (name) {}
51     ~BruceTestCase() {}
52     //
53     //
54     // return the suite of tests to perform
55     //
56     static CppUnitTest::TestSuite* suite ();
57     };
58    
59     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26