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

Annotation of /trunk/esys2/escript/test/Data/DataTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (hide annotations)
Tue Oct 26 06:53:54 2004 UTC (14 years, 11 months ago) by jgs
File MIME type: text/plain
File size: 1937 byte(s)
Initial revision

1 jgs 82 // $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     // Data class
38     void testAll();
39    
40     void testMore();
41    
42     //
43     // Test the constructors
44     void testConstructors();
45    
46     //
47     // Tests for DataConstant
48     void testDataConstant();
49    
50     //
51     // Tests for DataTagged
52     void testDataTagged();
53    
54     //
55     // Tests for DataTagged exceptions
56     void testDataTaggedExceptions();
57    
58     //
59     // Tests for slicing
60     void testSlicing();
61     void testOperations();
62    
63     DataTestCase (std::string name) : TestCase (name) {}
64     ~DataTestCase() {}
65    
66     //
67     //
68     // return the suite of tests to perform
69     //
70    
71     static CppUnitTest::TestSuite* suite ();
72    
73     };
74    
75     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26