/[escript]/trunk/finley/test/MeshAdapterTestCase.cpp
ViewVC logotype

Annotation of /trunk/finley/test/MeshAdapterTestCase.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (hide annotations)
Mon Mar 27 02:43:09 2006 UTC (16 years, 11 months ago) by robwdcock
File size: 1806 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 jgs 82 /*
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 robwdcock 670 #include "finley/CppAdapter/MeshAdapter.h"
16     #include "finley/CppAdapter/MeshAdapterFactory.h"
17 jgs 473
18 robwdcock 670 #include "escript/AbstractContinuousDomain.h"
19 jgs 82
20     #include "MeshAdapterTestCase.h"
21    
22     #include <boost/scoped_ptr.hpp>
23    
24     using namespace escript;
25     using namespace finley;
26     using namespace CppUnitTest;
27    
28     void MeshAdapterTestCase::setUp() {
29     //
30     // This is called before each test is run
31    
32     }
33    
34     void MeshAdapterTestCase::tearDown() {
35     //
36     // This is called after each test has been run
37    
38     }
39    
40     void MeshAdapterTestCase::testAll() {
41     //
42     // test construction of a mesh using the brick factory method
43     boost::scoped_ptr<AbstractContinuousDomain> myMesh(brick());
44     }
45    
46     TestSuite* MeshAdapterTestCase::suite ()
47     {
48     //
49     // create the suite of tests to perform.
50     TestSuite *testSuite = new TestSuite ("MeshAdapterTestCase");
51    
52     testSuite->addTest (new TestCaller< MeshAdapterTestCase>("testAll",&MeshAdapterTestCase::testAll));
53     return testSuite;
54     }
55    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26