Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/hexablock.git] / src / TEST_CPP / HexEdgeTest.hxx
1 // Copyright (C) 2009-2012  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 __EdgeTest__
21 #define __EdgeTest__
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
30 class EdgeTest : public CppUnit::TestFixture
31 {
32   CPPUNIT_TEST_SUITE( EdgeTest );
33   CPPUNIT_TEST( TestGetVertex );
34   CPPUNIT_TEST_SUITE_END();
35   
36   public:
37     EdgeTest(void);
38     ~EdgeTest(void);
39
40     //~ Call before tests
41     void setUp(void) {}
42     //~ Call after tests
43     void tearDown(void) {}
44     void TestGetVertex(void);
45
46   private:
47     HEXA_NS::Hex *_myHexEngine;
48     HEXA_NS::Document *_myDoc;
49
50 };
51
52 #endif