Version: 6.3.1

src/MEDSPLITTER/Test/MEDSPLITTERTest.hxx

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef _MEDSPLITTERTEST_HXX_
00021 #define _MEDSPLITTERTEST_HXX_
00022 
00023 #include <cppunit/extensions/HelperMacros.h>
00024 
00025 #include <set>
00026 #include <string>
00027 #include <iostream>
00028 
00029 namespace MEDSPLITTER {
00030   class MESH;
00031 };
00032 
00033 class MEDSPLITTERTest : public CppUnit::TestFixture
00034 {
00035   CPPUNIT_TEST_SUITE( MEDSPLITTERTest );
00036   CPPUNIT_TEST( testMESHCollection_constructor );
00037   CPPUNIT_TEST( testMESHCollection_read_seq);
00038   CPPUNIT_TEST( testMESHCollection_read_para);
00039   CPPUNIT_TEST( testMESHCollection_square);
00040   CPPUNIT_TEST( testMESHCollection_square_with_faces);
00041   CPPUNIT_TEST( testMESHCollection_indivisible);
00042   CPPUNIT_TEST( testMESHCollection_user_partition);
00043   CPPUNIT_TEST( testParallelTopology_graph_constructor);
00044   CPPUNIT_TEST( testMESHCollection_complete_sequence);
00045   CPPUNIT_TEST( testMESHCollection_complete_sequence_with_polygon);
00046         CPPUNIT_TEST( testMESHCollection_families);
00047 //  CPPUNIT_TEST( testMESHCollection_complete_sequence_with_polyhedra);
00048   CPPUNIT_TEST_SUITE_END();
00049 
00050 public:
00051 
00052   void setUp();
00053   void tearDown();
00054 
00055   void testMESHCollection_constructor();
00056   void testMESHCollection_read_seq();
00057   void testMESHCollection_read_para();
00058   void testMESHCollection_square();
00059   void testMESHCollection_square_with_faces();
00060   void testMESHCollection_indivisible();
00061   void testMESHCollection_user_partition();
00062   void testMESHCollection_complete_sequence();
00063   void testMESHCollection_complete_sequence_with_polygon();
00064   void testMESHCollection_complete_sequence_with_polyhedra();
00065         void testMESHCollection_families();
00066   void testParallelTopology_graph_constructor();
00067     
00068   };
00069 
00070 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS