From: admin Date: Mon, 18 Sep 2006 05:44:27 +0000 (+0000) Subject: This commit was generated by cvs2git to create branch 'BR_Dev_For_4_0'. X-Git-Tag: V3_2_2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09018d9ab8c482f3f1abf034af5bb452024a1921;p=modules%2Fvisu.git This commit was generated by cvs2git to create branch 'BR_Dev_For_4_0'. Sprout from V3_2_0_maintainance 2006-09-18 05:44:26 UTC enk 'Fix for Bug IPAL12882' Cherrypick from V3_2_0_maintainance 2006-06-08 09:43:23 UTC admin 'This commit was generated by cvs2git to create branch 'V3_2_0_maintainance'.': doc/salome/tui/VISU/sources/bg_salome.gif src/VISU_SWIG/batch_test_events.py src/VISU_SWIG/test_events.py --- diff --git a/doc/salome/tui/VISU/sources/bg_salome.gif b/doc/salome/tui/VISU/sources/bg_salome.gif new file mode 100644 index 00000000..c7e03068 Binary files /dev/null and b/doc/salome/tui/VISU/sources/bg_salome.gif differ diff --git a/src/VISU_SWIG/batch_test_events.py b/src/VISU_SWIG/batch_test_events.py new file mode 100644 index 00000000..804aaee1 --- /dev/null +++ b/src/VISU_SWIG/batch_test_events.py @@ -0,0 +1,33 @@ +# Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +# +# 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. +# +# 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 +# +############################################################### +# +# File : batch_test_events.py +# Description : Test postEvent() functionality for VISU module +# +############################################################### + +import batchmode_visu + +for i in range ( 10 ): + batchmode_visu.myVisu.CreateTestView() + for j in range ( 10 ): + batchmode_visu.myVisu.ShowTestObject(); + diff --git a/src/VISU_SWIG/test_events.py b/src/VISU_SWIG/test_events.py new file mode 100755 index 00000000..385466fd --- /dev/null +++ b/src/VISU_SWIG/test_events.py @@ -0,0 +1,33 @@ +# Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +# +# 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. +# +# 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 +# +############################################################### +# +# File : test_events.py +# Description : Test postEvent() functionality for VISU module +# This script can be run from GUI Python console only! +############################################################### + +from visu_gui import * + +for i in range ( 10 ): + myVisu.CreateTestView() + for j in range ( 10 ): + myVisu.ShowTestObject(); +