]> SALOME platform Git repositories - modules/hexablock.git/blob - src/TEST_CPP/ModelTest.hxx
Salome HOME
Merge from V6_main 01/04/2013
[modules/hexablock.git] / src / TEST_CPP / ModelTest.hxx
1 // Copyright (C) 2009-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 __ModelTest__
21 #define __ModelTest__
22
23 #include <cppunit/TestFixture.h>
24 #include <cppunit/extensions/HelperMacros.h>
25
26 #include "hexa_base.hxx"
27 // #include "Hex.hxx"
28 #include "HexDocument.hxx"
29 #include "HexEltBase.hxx"
30
31 class ModelTest : public CppUnit::TestFixture
32 {
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();
58   
59   public:
60     ModelTest(void);
61     ~ModelTest(void);
62     //~ Call before tests
63     void setUp(void) {}
64     //~ Call after tests
65     void tearDown(void) {}
66
67 //     void Test_bielle();
68     void myTest_croix();
69     void Test_croix();
70     void Test_disconnect();
71     void Test_joint();
72     void Test_prism();
73 //     void Test_bride();
74     void Test_cylinder();
75     void Test_find();
76     void Test_lorraine();
77     void Test_propagation();
78 //     void Test_bug1();
79 //     void Test_debride();
80     void Test_gen_xml();
81     void Test_move();
82     void Test_relecture();
83     void Test_cartesi1();
84     void Test_decoupage();
85     void Test_grille_cyl();
86     void Test_pipes();
87     void Test_separ();
88     void Test_clone();
89     void Test_deux_cyl();
90     void Test_hexa1();
91     void Test_prism2();
92     void Test_transfo();
93
94   private:
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;
99
100 };
101
102 #endif