1 // Copyright (C) 2007-2013 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef _MEDSPLITTERTEST_HXX_
21 #define _MEDSPLITTERTEST_HXX_
23 #include "MEDSPLITTERTest_defs.hxx"
25 #include <cppunit/extensions/HelperMacros.h>
31 namespace MEDSPLITTER {
35 class MEDSPLITTERTEST_EXPORT MEDSPLITTERTest : public CppUnit::TestFixture
37 CPPUNIT_TEST_SUITE( MEDSPLITTERTest );
38 CPPUNIT_TEST( testMESHCollection_constructor );
39 CPPUNIT_TEST( testMESHCollection_read_seq);
40 CPPUNIT_TEST( testMESHCollection_read_para);
41 CPPUNIT_TEST( testMESHCollection_square);
42 CPPUNIT_TEST( testMESHCollection_square_with_faces);
43 #ifdef MED_ENABLE_SCOTCH
44 CPPUNIT_TEST( testMESHCollection_indivisible);
46 CPPUNIT_TEST( testMESHCollection_user_partition);
47 CPPUNIT_TEST( testParallelTopology_graph_constructor);
48 #ifdef MED_ENABLE_SCOTCH
49 CPPUNIT_TEST( testMESHCollection_complete_sequence);
50 CPPUNIT_TEST( testMESHCollection_complete_sequence_with_polygon);
52 CPPUNIT_TEST( testMESHCollection_families);
53 // CPPUNIT_TEST( testMESHCollection_complete_sequence_with_polyhedra);
54 CPPUNIT_TEST_SUITE_END();
61 void testMESHCollection_constructor();
62 void testMESHCollection_read_seq();
63 void testMESHCollection_read_para();
64 void testMESHCollection_square();
65 void testMESHCollection_square_with_faces();
66 void testMESHCollection_indivisible();
67 void testMESHCollection_user_partition();
68 void testMESHCollection_complete_sequence();
69 void testMESHCollection_complete_sequence_with_polygon();
70 void testMESHCollection_complete_sequence_with_polyhedra();
71 void testMESHCollection_families();
72 void testParallelTopology_graph_constructor();