X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test.squish%2Fsuite_STANDALONE%2Ftst_crash_1%2Ftest.py;h=216caf681e7a11d05e582941194a9c77dbcb8197;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=3754249af4b793aa2f6d052998303a609decc378;hpb=1b93f1881c5fec599aa79707f93c84dd9c287bc0;p=modules%2Fshaper.git diff --git a/test.squish/suite_STANDALONE/tst_crash_1/test.py b/test.squish/suite_STANDALONE/tst_crash_1/test.py index 3754249af..216caf681 100644 --- a/test.squish/suite_STANDALONE/tst_crash_1/test.py +++ b/test.squish/suite_STANDALONE/tst_crash_1/test.py @@ -1,15 +1,34 @@ +# Copyright (C) 2014-2023 CEA, EDF +# +# 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 main(): source(findFile("scripts", "common.py")) - + startApplication("linux_run.sh") set_defaults() - + part_create() - + clickTab(waitForObject(":General.qt_tabwidget_tabbar_QTabBar"), "Features") - + clickButton(waitForObject(":Extrusion.ExtrusionFuse_AppElements_Button")) clickButton(waitForObject(":Extrusion.OK_QPushButton")) - + sendEvent("QCloseEvent", waitForObject(":OpenParts*_AppElements_MainWindow"))