Salome HOME
Update copyrights
[modules/shaper.git] / src / FeaturesPlugin / CMakeLists.txt
index 72fa774000c89cc3246d0406b438278f986b4bb7..2c7b1e2bb4c57c73f182bddafbd6ce51668a19ab 100644 (file)
@@ -1,22 +1,21 @@
-## Copyright (C) 2014-2017  CEA/DEN, EDF R&D
-##
-## This library is free software; you can redistribute it and/or
-## modify it under the terms of the GNU Lesser General Public
-## License as published by the Free Software Foundation; either
-## version 2.1 of the License, or (at your option) any later version.
-##
-## This library is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-## Lesser General Public License for more details.
-##
-## You should have received a copy of the GNU Lesser General Public
-## License along with this library; if not, write to the Free Software
-## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-##
-## See http:##www.salome-platform.org/ or
-## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
-##
+# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
 
 INCLUDE(Common)
 INCLUDE(UnitTest)
@@ -73,6 +72,7 @@ SET(PROJECT_SOURCES
     FeaturesPlugin_BooleanFuse.cpp
     FeaturesPlugin_BooleanCommon.cpp
     FeaturesPlugin_BooleanSmash.cpp
+    FeaturesPlugin_BooleanFill.cpp
     FeaturesPlugin_Intersection.cpp
     FeaturesPlugin_Partition.cpp
     FeaturesPlugin_Pipe.cpp
@@ -168,21 +168,50 @@ INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Featu
 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
 ADD_UNIT_TESTS(TestExtrusion.py
+               TestExtrusionOfCompound.py
                TestExtrusionCut.py
+               TestExtrusionCut_BySize.py
+               TestExtrusionCut_ByPlanesAndOffsets.py
                TestExtrusionFuse.py
+               TestExtrusionFuse_BySize.py
+               TestExtrusionFuse_ByPlanesAndOffsets.py
+               TestExtrusion_ErrorMsg.py
+               TestExtrusion_ZeroOffsetError.py
                TestRevolution.py
+               TestRevolution_ByAngle.py
+               TestRevolutionOfPoint.py
+               TestRevolutionOfEdge.py
+               TestRevolutionOfCompound.py
                TestRevolutionCut.py
+               TestRevolutionCut_ByAngle.py
+               TestRevolutionCut_ByPlanesAndOffsets.py
                TestRevolutionFuse.py
+               TestRevolutionFuse_ByAngle.py
+               TestRevolutionFuse_ByPlanesAndOffsets.py
                TestCompositeFeaturesOnCompSolids.py
                TestPartition.py
+               TestPartition_ErrorMsg.py
                TestPlacement_Vertex_Vertex.py
                TestPlacement_Edge_Vertex.py
                TestPlacement_Edge_Edge.py
                TestPlacement_Face_Vertex.py
                TestPlacement_Face_Edge.py
                TestPlacement_Face_Face.py
+               TestPlacement_Part_Part.py
+               TestPlacement_Complex.py
+               TestPlacement_ErrorMsg.py
+               TestPlacement_BodyShapesValidator.py
                TestTranslation.py
+               TestTranslation_Part.py
                TestRotation.py
+               TestRotation_ByAxis.py
+               TestRotation_ByPoints.py
+               TestRotation_ErrorMsg.py
+               TestMultiRotation_Part.py
+               TestMultiRotation_ErrorMsg.py
+               TestMultiTranslation_Part.py
+               TestMultiTranslation_ErrorMsg.py
+               TestSymmetry_Part.py
                TestBoolean1.py
                TestBoolean2.py
                TestBoolean3.py
@@ -190,11 +219,15 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestBooleanSmash.py
                TestBooleanFill.py
                TestBooleanFillWithPlane.py
+               TestBooleanFill_ErrorMsg.py
                TestMultiBoolean.py
                TestSerialBoolean.py
+               TestBoolean_ErrorMsg.py
                TestIntersection.py
+               TestIntersection_ErrorMsg.py
                TestUnion.py
                TestUnionFaces.py
+               TestUnion_ErrorMsg.py
                TestRemoveSubShapes.py
                TestRemoveSubShapes2.py
                TestRemoveSubShapes3.py
@@ -202,6 +235,10 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestRemoveSubShapes5.py
                TestRemoveSubShapes6.py
                TestPipe.py
+               TestPipe_Edge.py
+               TestPipe_Wire.py
+               TestPipe_Compound.py
+               TestPipe_ErrorMsg.py
                TestRecover.py
                TestRecover1798.py
                TestFillEdgeVertex.py
@@ -240,13 +277,14 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestFillSolidCompFace.py
                TestFillSolidShell.py
                TestFillSolidCompShell.py
+               TestFillCompsolidPlane.py
                TestPartition2Faces.py
                TestPartition2Solids.py
                TestPartition2Wires.py
                TestPartitionBox4Planes.py
                TestPartitionEdgeSolid.py
                TestPartitionFace2Solid.py
-#               TestPartitionFaceSolid.py
+               TestPartitionFaceSolid.py
                TestPartitionFaceWire.py
                TestPartitionInclinedFaceSolid.py
                TestPartitionWireFaceSolid.py
@@ -258,6 +296,8 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestMeasurementDistance.py
                TestMeasurementRadius.py
                TestMeasurementAngle.py
+               TestMeasurementAngle3Points.py
+               TestMeasurementPresentation.py
                TestFusionFaces.py
                Test1379.py
                Test1922.py
@@ -314,9 +354,15 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestBooleanCut_Wire_Face.py
                TestBooleanCut_Wire_Wire.py
                TestBooleanCut_WireCompound_WireCompound.py
+               TestBooleanCut_Compound_Solid.py
+               TestBooleanCut_ErrorMsg.py
                TestBooleanSmash_Face_Face.py
+               TestBooleanSmash_SubSolid_Solid.py
+               TestBooleanSmash_CompSolid_Solid.py
+               TestBooleanSmash_ErrorMsg.py
                TestBooleanFuse_SimpleMode.py
                TestBooleanFuse_RemoveEdges.py
+               TestBooleanFuse_ErrorMsg.py
                TestBooleanCommon_Vertex_Vertex.py
                TestBooleanCommon_VertexCompound_VertexCompound.py
                TestBooleanCommon_Edge_Edge.py
@@ -324,6 +370,7 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestBooleanCommon_Wire_Wire.py
                TestBooleanCommon_WireCompound_WireCompound.py
                TestBooleanCommon_Face_Face.py
+               TestBooleanCommon_Face_Plane.py
                TestBooleanCommon_FaceCompound_FaceCompound.py
                TestBooleanCommon_Shell_Shell.py
                TestBooleanCommon_ShellCompound_ShellCompound.py
@@ -333,19 +380,22 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestBooleanCommon_SolidCompound_Face.py
                TestBooleanCommon_SolidCompound_Shell.py
                TestBooleanCommon_SolidCompound_SolidCompound.py
+               TestBooleanCommon_SubCompound_Solid.py
+               TestBooleanCommon_SubSolid_Solid.py
                TestBooleanCommon_CompSolid_Face.py
                TestBooleanCommon_CompSolid_Shell.py
                TestBooleanCommon_CompSolid_CompSolid.py
                TestBooleanCommon_CompSolidCompound_Face.py
                TestBooleanCommon_CompSolidCompound_Shell.py
                TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
+               TestBooleanCommon_ErrorMsg.py
                Test2596.py
                Test2592.py
                Test2588.py
                Test1467.py
-               TestPartitionSubCompsolidWithCompsolid1.py
-               TestPartitionSubCompsolidWithCompsolid2.py
-               TestPartitionSubCompsolidWithCompsolid3.py
+               TestPartitionSubCompsolidWithCompSolid1.py
+               TestPartitionSubCompsolidWithCompSolid2.py
+               TestPartitionSubCompsolidWithCompSolid3.py
                TestPartitionSubCompsolidWithSolid1.py
                TestPartitionSubCompsolidWithSolid2.py
                TestPartitionSubCompsolidWithSolid3.py
@@ -361,6 +411,7 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestPartitionSubCompsolidWithPlane3.py
                TestPartitionSubCompsolidWithPlane4.py
                TestPartitionSubCompsolidWithPlane5.py
+               TestPartitionArgsUpdate.py
                TestBooleanFuse_Vertex_Vertex.py
                TestBooleanFuse_VertexCompound_VertexCompound.py
                TestBooleanFuse_Edge_Edge.py
@@ -373,11 +424,27 @@ ADD_UNIT_TESTS(TestExtrusion.py
                TestBooleanFuse_ShellCompound_ShellCompound.py
                TestBooleanFuse_Solid_Solid.py
                TestBooleanFuse_SolidCompound_SolidCompound.py
+               TestBooleanFuse_CompSolid_Face.py
                TestBooleanFuse_CompSolid_CompSolid.py
                TestBooleanFuse_CompSolidCompound_CompSolidCompound.py
+               TestFillet.py
+               TestFillet1.py
+               TestFillet_ErrorMsg.py
+               TestScale1.py
+               TestScale2.py
                Test1816.py
                Test2631.py
                Test2650.py
                Test2681.py
                Test2686.py
+               Test2689.py
+               Test2693.py
+               Test2698.py
+               Test2701.py
+               Test2724.py
+               Test2692.py
+               Test2617.py
+               Test2729.py
+               Test2751.py
+               Test2854.py
 )