From aabe89ae4c6d5a293fa05e129fe7c38fc328f4bd Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 19 Feb 2007 13:18:13 +0000 Subject: [PATCH] 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 --- doc/salome/tui/VISU/sources/bg_salome.gif | Bin 0 -> 7598 bytes src/VISU_SWIG/batch_test_events.py | 33 ++++++++++++++++++++++ src/VISU_SWIG/test_events.py | 33 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 doc/salome/tui/VISU/sources/bg_salome.gif create mode 100644 src/VISU_SWIG/batch_test_events.py create mode 100755 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 0000000000000000000000000000000000000000..c7e030685526b7f63c1ea506474d5a2fd0b9082c GIT binary patch literal 7598 zcmcJQhg;H%H-{05Q*VEI}-Q5lRf0o|=`Tt)Q0DOqgw~OBiP#?R> zF&J{iAe_R?mne5V^Y1jSN#MqvzYzYT*KJ?TUcenIx@}x6cS9ZL`nf0btcgaXYotoL zy)DezEsW$P?+%laQz83A%FzSj3u7ti7p=VlVG{D8^gufYB?hM^S}NL&L}qdbt}$)p z1b4?P=`qEmYu<>^D}`QZcPZp9M#;_Us(hasrD-STzb?j)#jF0 zJ%icZ5*gUzQggj((<|3I`DLV8#=&C+Gfa70LC}(Jo+8$TIhE-ZJ)=ypZ_Xteec)8v zxA2HN@F$|E9G54=+OJQ8ZWlteXXU->#qMe@b+UB5&ij)NNd;cAQCc$W6I#ql(@swj zF}7Lot_SrC2(IGkT~%ckbdDt#BRSxs*QM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|of=t+PygN48rJdqXvaWJe|T*02M;L@zoSYrekvAO@$&g<{|zv; z!BJ@~-#^^ieCidyoF`$?Kj8q`mUl{jqW|zoO(LIE2?pf#Ky^Ho#k(!g9OLlOjXjP+ zNjyd#we;CvWYN3Yu60K%AIJ%IOdVAC@7rmJs0$w5t}^IgW#Y*g!L6xlcCrW22C=zL z7eaHvg9G_gjkV&j=FRLsI8FVn4T7w4sDswEak7dw<9LZ(3#KyABjOp$%7~eDoLvKV zvz{<3mL~cvZKS0w@N0nT;ds5m;^0TK%8dgz4g+S{iB;gWM2=i^VU6z7bQNqTMy&AS zcKOVYtaf;orl%TAS6K}LucVK^SlYDy`1>mCTn3@GPEwche!0o0Tk^Q7AnK7km>8!;Vy7uVVpPawF)oMMP*>zNNWR|VMKHFL{^a+s^!Q~9hHZ8Ic2gfQ zSou$)j_lqvuC%nLU+7Ibxa%ch?2T%V}6aA b)Exq;=*5~7iA{cZH&U`+{}F-#0LT9y;{njm literal 0 HcmV?d00001 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(); + -- 2.39.2