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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1387 - (hide annotations)
Fri Jan 11 07:45:26 2008 UTC (11 years, 9 months ago) by trankine
Original Path: temp/finley/test/MeshAdapterTestCase.cpp
File size: 1369 byte(s)
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.
1 jgs 82
2 ksteube 1312 /* $Id$ */
3    
4     /*******************************************************
5     *
6     * Copyright 2003-2007 by ACceSS MNRF
7     * Copyright 2007 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16 robwdcock 670 #include "finley/CppAdapter/MeshAdapter.h"
17     #include "finley/CppAdapter/MeshAdapterFactory.h"
18 jgs 473
19 robwdcock 670 #include "escript/AbstractContinuousDomain.h"
20 jgs 82
21     #include "MeshAdapterTestCase.h"
22    
23     #include <boost/scoped_ptr.hpp>
24    
25     using namespace escript;
26     using namespace finley;
27     using namespace CppUnitTest;
28    
29     void MeshAdapterTestCase::setUp() {
30     //
31     // This is called before each test is run
32    
33     }
34    
35     void MeshAdapterTestCase::tearDown() {
36     //
37     // This is called after each test has been run
38    
39     }
40    
41     void MeshAdapterTestCase::testAll() {
42     //
43     // test construction of a mesh using the brick factory method
44     boost::scoped_ptr<AbstractContinuousDomain> myMesh(brick());
45     }
46    
47     TestSuite* MeshAdapterTestCase::suite ()
48     {
49     //
50     // create the suite of tests to perform.
51     TestSuite *testSuite = new TestSuite ("MeshAdapterTestCase");
52    
53     testSuite->addTest (new TestCaller< MeshAdapterTestCase>("testAll",&MeshAdapterTestCase::testAll));
54     return testSuite;
55     }
56    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26