/[escript]/trunk/escript/test/DataExpanded/DataExpandedTestCase.h
ViewVC logotype

Contents of /trunk/escript/test/DataExpanded/DataExpandedTestCase.h

Parent Directory Parent Directory | Revision Log Revision Log


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

1 // $Id$
2 /*
3 ************************************************************
4 * Copyright 2006 by ACcESS MNRF *
5 * *
6 * http://www.access.edu.au *
7 * Primary Business: Queensland, Australia *
8 * Licensed under the Open Software License version 3.0 *
9 * http://www.opensource.org/licenses/osl-3.0.php *
10 * *
11 ************************************************************
12 */
13 #if !defined DataExpandedTestCase_20040413_H
14 #define DataExpandedTestCase_20040413_H
15
16 #include "CppUnitTest/TestCase.h"
17 #include "CppUnitTest/TestSuite.h"
18 #include "CppUnitTest/TestCaller.h"
19
20 class DataExpandedTestCase : 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 // DataExpanded class
34
35 //
36 // General test case
37 void testAll();
38
39 //
40 // Test case that tests reshaping of rank 0 object
41 void testReshape();
42
43 //
44 // Test cases to test slicing of DataExpanded objects
45 void testSlicing();
46 void testSlicing2();
47 void testSlicing3();
48 void testSliceSetting();
49 void testSliceSetting2();
50
51 // Test cases for setRefValue and GetRefValue methods
52 void testRefValue();
53
54 DataExpandedTestCase (std::string name) : TestCase (name) {}
55 ~DataExpandedTestCase() {}
56
57 //
58 // return the suite of tests to perform
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