]> SALOME platform Git repositories - modules/shaper.git/blobdiff - test.squish/suite_STANDALONE/tst_532/test.py
Salome HOME
Update copyrights
[modules/shaper.git] / test.squish / suite_STANDALONE / tst_532 / test.py
index 4531dae10a5885fab4ac07e4c4ad3956eecb7dd1..2f45359a1fa3c4958a2e71736ebac436fd19ff12 100644 (file)
@@ -1,3 +1,22 @@
+# 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
+#
+
 def sketch():
     clickButton(waitForObject(":Basic.Line_AppElements_Button"))
     mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 230, 140, 0, Qt.LeftButton)
@@ -8,12 +27,12 @@ def sketch():
 
 def main():
     source(findFile("scripts", "common.py"))
-    
+
     startApplication("linux_run.sh")
     set_defaults()
-    
+
     sketch_create(help_points("XY_plane"), lambda: sketch())
-    
+
     part_create()
 
     extrusion_feature([(266, 251)], 10) # on the sketch
@@ -26,7 +45,7 @@ def main():
     clickButton(waitForObject(":Plane.property_panel_ok_QToolButton"))
 
     test.vp("VP_EXTRUSION")
-    
+
     clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Features")
     clickButton(waitForObject(":Boolean.Partition_AppElements_Button"))
     mouseClick(waitForObject(":Partition.Main objects_QListWidget"), 10, 10, 0, Qt.LeftButton)
@@ -34,5 +53,5 @@ def main():
     mouseClick(waitForObject(":Partition.Tool object_QListWidget"), 10, 10, 0, Qt.LeftButton)
     mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 212, 344, 0, Qt.LeftButton) # construction plane
     clickButton(waitForObject(":Partition.property_panel_ok_QToolButton"))
-    
+
     test.vp("VP_PARTITION")