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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (show annotations)
Mon Mar 27 02:43:09 2006 UTC (13 years, 6 months ago) by robwdcock
File MIME type: text/plain
File size: 1994 byte(s)
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3


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 DataExpandedTestCase_20040413_H
16 #define DataExpandedTestCase_20040413_H
17
18 #include "CppUnitTest/TestCase.h"
19 #include "CppUnitTest/TestSuite.h"
20 #include "CppUnitTest/TestCaller.h"
21
22 class DataExpandedTestCase : 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 // DataExpanded class
36
37 //
38 // General test case
39 void testAll();
40
41 //
42 // Test case that tests reshaping of rank 0 object
43 void testReshape();
44
45 //
46 // Test cases to test slicing of DataExpanded objects
47 void testSlicing();
48 void testSlicing2();
49 void testSlicing3();
50 void testSliceSetting();
51 void testSliceSetting2();
52
53 // Test cases for setRefValue and GetRefValue methods
54 void testRefValue();
55
56 DataExpandedTestCase (std::string name) : TestCase (name) {}
57 ~DataExpandedTestCase() {}
58
59 //
60 // return the suite of tests to perform
61 static CppUnitTest::TestSuite* suite ();
62 };
63
64 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26