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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2009 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  #include "finley/CppAdapter/MeshAdapter.h"  #include "finley/CppAdapter/MeshAdapter.h"
16  #include "finley/CppAdapter/MeshAdapterFactory.h"  #include "finley/CppAdapter/MeshAdapterFactory.h"
# Line 41  void MeshAdapterTestCase::tearDown() { Line 40  void MeshAdapterTestCase::tearDown() {
40  void MeshAdapterTestCase::testAll() {  void MeshAdapterTestCase::testAll() {
41    //    //
42    // test construction of a mesh using the brick factory method    // test construction of a mesh using the brick factory method
43    boost::scoped_ptr<AbstractContinuousDomain> myMesh(brick());  //   boost::scoped_ptr<AbstractContinuousDomain> myMesh(brick());
44        brick();        // brick now returns a Domain_ptr which will auto delete
45  }  }
46    
47  TestSuite* MeshAdapterTestCase::suite ()  TestSuite* MeshAdapterTestCase::suite ()

Legend:
Removed from v.1312  
changed lines
  Added in v.2548

  ViewVC Help
Powered by ViewVC 1.1.26