1 // Copyright (C) 2009-2016 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, or (at your option) any later version.
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 "HexTest.hxx"
25 #include <cppunit/TestFixture.h>
26 #include <cppunit/extensions/HelperMacros.h>
28 #include "hexa_base.hxx"
30 #include "HexDocument.hxx"
31 #include "HexEltBase.hxx"
33 class HEXABLOCKTEST_EXPORT ModelTest : public CppUnit::TestFixture
35 CPPUNIT_TEST_SUITE( ModelTest );
36 CPPUNIT_TEST( myTest_croix);
37 CPPUNIT_TEST( Test_croix);
38 CPPUNIT_TEST( Test_disconnect);
39 CPPUNIT_TEST( Test_joint);
40 CPPUNIT_TEST( Test_prism);
41 CPPUNIT_TEST( Test_cylinder);
42 CPPUNIT_TEST( Test_find);
43 CPPUNIT_TEST( Test_lorraine);
44 CPPUNIT_TEST( Test_propagation);
45 CPPUNIT_TEST( Test_cartesi1);
46 CPPUNIT_TEST( Test_decoupage);
47 CPPUNIT_TEST( Test_grille_cyl);
48 CPPUNIT_TEST( Test_pipes);
49 CPPUNIT_TEST( Test_separ);
50 CPPUNIT_TEST( Test_clone);
51 CPPUNIT_TEST( Test_deux_cyl);
52 CPPUNIT_TEST( Test_hexa1);
53 CPPUNIT_TEST( Test_prism2);
54 CPPUNIT_TEST( Test_transfo);
55 CPPUNIT_TEST( Test_hexa1);
56 CPPUNIT_TEST( Test_move);
57 CPPUNIT_TEST( Test_gen_xml);
58 CPPUNIT_TEST( Test_relecture);
59 CPPUNIT_TEST_SUITE_END();
67 void tearDown(void) {}
69 // void Test_bielle();
72 void Test_disconnect();
79 void Test_propagation();
81 // void Test_debride();
84 void Test_relecture();
86 void Test_decoupage();
87 void Test_grille_cyl();
97 int _afficher (cpchar nom, Hex::EltBase* elt);
98 void _print_propagations (Hex::Document* doc);
99 // HEXA_NS::Hex *_myHexEngine;
100 // HEXA_NS::Document *_myDoc;