1 // Copyright (C) 2009-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
23 #include <cppunit/TestFixture.h>
24 #include <cppunit/extensions/HelperMacros.h>
26 #include "hexa_base.hxx"
28 #include "HexDocument.hxx"
29 #include "HexEltBase.hxx"
31 class ModelTest : public CppUnit::TestFixture
33 CPPUNIT_TEST_SUITE( ModelTest );
34 CPPUNIT_TEST( myTest_croix);
35 CPPUNIT_TEST( Test_croix);
36 CPPUNIT_TEST( Test_disconnect);
37 CPPUNIT_TEST( Test_joint);
38 CPPUNIT_TEST( Test_prism);
39 CPPUNIT_TEST( Test_cylinder);
40 CPPUNIT_TEST( Test_find);
41 CPPUNIT_TEST( Test_lorraine);
42 CPPUNIT_TEST( Test_propagation);
43 CPPUNIT_TEST( Test_cartesi1);
44 CPPUNIT_TEST( Test_decoupage);
45 CPPUNIT_TEST( Test_grille_cyl);
46 CPPUNIT_TEST( Test_pipes);
47 CPPUNIT_TEST( Test_separ);
48 CPPUNIT_TEST( Test_clone);
49 CPPUNIT_TEST( Test_deux_cyl);
50 CPPUNIT_TEST( Test_hexa1);
51 CPPUNIT_TEST( Test_prism2);
52 CPPUNIT_TEST( Test_transfo);
53 CPPUNIT_TEST( Test_hexa1);
54 CPPUNIT_TEST( Test_move);
55 CPPUNIT_TEST( Test_gen_xml);
56 CPPUNIT_TEST( Test_relecture);
57 CPPUNIT_TEST_SUITE_END();
65 void tearDown(void) {}
67 // void Test_bielle();
70 void Test_disconnect();
77 void Test_propagation();
79 // void Test_debride();
82 void Test_relecture();
84 void Test_decoupage();
85 void Test_grille_cyl();
95 int _afficher (cpchar nom, Hex::EltBase* elt);
96 void _print_propagations (Hex::Document* doc);
97 // HEXA_NS::Hex *_myHexEngine;
98 // HEXA_NS::Document *_myDoc;