]> SALOME platform Git repositories - modules/hexablock.git/blob - src/TEST_CPP/ModelTest.hxx
Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / TEST_CPP / ModelTest.hxx
1 #ifndef __ModelTest__
2 #define __ModelTest__
3
4 #include <cppunit/TestFixture.h>
5 #include <cppunit/extensions/HelperMacros.h>
6
7 #include "hexa_base.hxx"
8 // #include "Hex.hxx"
9 #include "HexDocument.hxx"
10 #include "HexEltBase.hxx"
11
12 class ModelTest : public CppUnit::TestFixture
13 {
14     CPPUNIT_TEST_SUITE( ModelTest );
15     CPPUNIT_TEST( myTest_croix);
16     CPPUNIT_TEST( Test_croix);
17     CPPUNIT_TEST( Test_disconnect);
18     CPPUNIT_TEST( Test_joint);
19     CPPUNIT_TEST( Test_prism);
20     CPPUNIT_TEST( Test_cylinder);
21     CPPUNIT_TEST( Test_find);
22     CPPUNIT_TEST( Test_lorraine);
23     CPPUNIT_TEST( Test_propagation);
24     CPPUNIT_TEST( Test_cartesi1);
25     CPPUNIT_TEST( Test_decoupage);
26     CPPUNIT_TEST( Test_grille_cyl);
27     CPPUNIT_TEST( Test_pipes);
28     CPPUNIT_TEST( Test_separ);
29     CPPUNIT_TEST( Test_clone);
30     CPPUNIT_TEST( Test_deux_cyl);
31     CPPUNIT_TEST( Test_hexa1);
32     CPPUNIT_TEST( Test_prism2);
33     CPPUNIT_TEST( Test_transfo);
34     CPPUNIT_TEST( Test_hexa1);
35     CPPUNIT_TEST( Test_move);
36     CPPUNIT_TEST( Test_gen_xml);
37     CPPUNIT_TEST( Test_relecture);
38     CPPUNIT_TEST_SUITE_END();
39   
40   public:
41     ModelTest(void);
42     ~ModelTest(void);
43     //~ Call before tests
44     void setUp(void) {}
45     //~ Call after tests
46     void tearDown(void) {}
47
48 //     void Test_bielle();
49     void myTest_croix();
50     void Test_croix();
51     void Test_disconnect();
52     void Test_joint();
53     void Test_prism();
54 //     void Test_bride();
55     void Test_cylinder();
56     void Test_find();
57     void Test_lorraine();
58     void Test_propagation();
59 //     void Test_bug1();
60 //     void Test_debride();
61     void Test_gen_xml();
62     void Test_move();
63     void Test_relecture();
64     void Test_cartesi1();
65     void Test_decoupage();
66     void Test_grille_cyl();
67     void Test_pipes();
68     void Test_separ();
69     void Test_clone();
70     void Test_deux_cyl();
71     void Test_hexa1();
72     void Test_prism2();
73     void Test_transfo();
74
75   private:
76     int _afficher (cpchar nom, Hex::EltBase* elt);
77     void _print_propagations (Hex::Document* doc);
78 //     HEXA_NS::Hex *_myHexEngine;
79 //     HEXA_NS::Document *_myDoc;
80
81 };
82
83 #endif