From: admin Date: Mon, 19 Feb 2007 13:18:13 +0000 (+0000) Subject: This commit was generated by cvs2git to create branch X-Git-Tag: mergeto_BR_Dev_For_4_0_21May07~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aabe89ae4c6d5a293fa05e129fe7c38fc328f4bd;p=modules%2Fvisu.git This commit was generated by cvs2git to create branch 'BR_mergefrom_BR_Dev_For_4_0'. Sprout from BR_WP1_2_3 2007-02-19 13:18:10 UTC apo 'To fix an external bug with "c3d10.med" file' Cherrypick from master 2006-06-01 11:36:05 UTC jfa 'Join modifications from branch BR_DEBUG_3_2_0b1': 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(); +