Salome HOME
Update incorrect units tests and add missing tests (issues #2838, #2839, #2840, ...
[modules/shaper.git] / src / PythonAPI / CMakeLists.txt
1 ## Copyright (C) 2014-2017  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, or (at your option) any later version.
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
18 ## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
19 ##
20
21 INSTALL(DIRECTORY geom model examples DESTINATION ${SHAPER_INSTALL_PYTHON_API})
22 INSTALL(FILES __init__.py DESTINATION ${SHAPER_INSTALL_PYTHON_API})
23 INSTALL(FILES __init__.py DESTINATION ${_pydir}/salome)
24 INSTALL(FILES initConfig.py DESTINATION ${SHAPER_INSTALL_PYTHON_API})
25
26 # --------- Unit tests -----------
27 INCLUDE(UnitTest)
28
29 ADD_UNIT_TESTS(
30   TestPythonAPI.py
31   TestModel.py
32
33   TestSketcherAddPoint.py
34   TestSketcherAddLine.py
35   TestSketcherAddArc.py
36   TestSketcherAddCircle.py
37   TestSketcherAddMirror.py
38   TestSketcherSetCoincident.py
39   TestSketcherSetTangent.py
40   TestSketcherSetParallel.py
41   TestSketcherSetPerpendicular.py
42   TestSketcherSetHorizontal.py
43   TestSketcherSetVertical.py
44   TestSketcherSetFixed.py
45   TestSketcherSetLength.py
46   TestSketcherSetRadius.py
47   TestSketcherSetAngle.py
48   TestSketcherSetEqual.py
49   TestSketcherSetFillet.py
50
51   TestFeatures.py
52   TestFeaturesExtrusion.py
53   TestFeaturesRevolution.py
54
55   TestPrimitivesBox.py
56
57   TestMakeBrick1.py
58   TestMakeBrick2.py
59   TestPlatine.py
60
61   Test2044.py
62   )