Salome HOME
Merge from V6_main 01/04/2013
[modules/med.git] / src / MEDSPLITTER / Test / MEDSPLITTERTest.hxx
1 // Copyright (C) 2007-2013  CEA/DEN, EDF R&D
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef _MEDSPLITTERTEST_HXX_
21 #define _MEDSPLITTERTEST_HXX_
22
23 #include "MEDSPLITTERTest_defs.hxx"
24
25 #include <cppunit/extensions/HelperMacros.h>
26
27 #include <set>
28 #include <string>
29 #include <iostream>
30
31 namespace MEDSPLITTER {
32   class MESH;
33 };
34
35 class MEDSPLITTERTEST_EXPORT MEDSPLITTERTest : public CppUnit::TestFixture
36 {
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);
45 #endif
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);
51 #endif
52         CPPUNIT_TEST( testMESHCollection_families);
53 //  CPPUNIT_TEST( testMESHCollection_complete_sequence_with_polyhedra);
54   CPPUNIT_TEST_SUITE_END();
55
56 public:
57
58   void setUp();
59   void tearDown();
60
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();
73     
74   };
75
76 #endif