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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 636 - (show annotations)
Thu Mar 23 09:46:31 2006 UTC (13 years, 8 months ago) by robwdcock
Original Path: branches/ROBW_XPLATFORM/escript/test/DataTestCase.h
File MIME type: text/plain
File size: 1795 byte(s)
Clean up test into single test suite and only one SConscript file so it is easier to maintain.
Note:
+ Use the command line options on tests in order to run only one of them if you need to
+ THIS DOESN'T WORK YET: I've not merged the tests, that will follow shortly
+ I do hope this merges with the changes on the trunk!

1 // $Id$
2 /*
3 *****************************************************************************
4 * *
5 * COPYRIGHT ACcESS - All Rights Reserved *
6 * *
7 * This software is the property of ACcESS. No part of this code *
8 * may be copied in any form or by any means without the expressed written *
9 * consent of ACcESS. Copying, use or modification of this software *
10 * by any unauthorised person is illegal unless that person has a software *
11 * license agreement with ACcESS. *
12 * *
13 *****************************************************************************
14 */
15 #if !defined DataTestCase_20040624_H
16 #define DataTestCase_20040624_H
17
18 #include "CppUnitTest/TestCase.h"
19 #include "CppUnitTest/TestSuite.h"
20 #include "CppUnitTest/TestCaller.h"
21
22 class DataTestCase : 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 //
31 // tearDown is called after each test method is called.
32 void tearDown();
33
34 //
35 // A test method must return void and have no arguments
36
37 void testAll();
38 void testMore();
39 void testConstructors();
40 void testDataConstant();
41 void testDataTagged();
42 void testDataTaggedExceptions();
43 void testSlicing();
44 void testOperations();
45 void testRefValue();
46 void testMemAlloc();
47
48 DataTestCase (std::string name) : TestCase (name) {}
49 ~DataTestCase() {}
50
51 //
52 //
53 // return the suite of tests to perform
54 //
55
56 static CppUnitTest::TestSuite* suite ();
57
58 };
59
60 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26