From: Anthony Geay Date: Thu, 27 Jun 2019 11:02:43 +0000 (+0200) Subject: Porting tests to new PV version X-Git-Tag: V9_4_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=72c0b9526414549a8705c98beefb8ba5ddf3ff8b;p=modules%2Fparavis.git Porting tests to new PV version --- diff --git a/src/Plugins/MEDReader/Test/testMEDReader15.py b/src/Plugins/MEDReader/Test/testMEDReader15.py index 8d6bdef2..f9680a24 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader15.py +++ b/src/Plugins/MEDReader/Test/testMEDReader15.py @@ -52,7 +52,7 @@ ExpectedEntries=['TS0/zeName/ComSup0/zeName@@][@@P1','TS0/zeName/ComSup0/MESH@ze assert(reader.GetProperty("FieldsTreeInfo")[::2]==ExpectedEntries) # -glyph1=Glyph(Input=reader,GlyphType='Arrow',ScaleArray='FamilyIdNode',OrientationArray='zeName',GlyphMode='All Points',MaximumGlyphSize=0.1,GlyphTransform='Transform2') +glyph1=Glyph(Input=reader,GlyphType='Arrow',ScaleArray='FamilyIdNode',OrientationArray='zeName',GlyphMode='All Points',ScaleFactor=0.1,GlyphTransform='Transform2') if '-D' not in sys.argv: renderView1=GetActiveViewOrCreate('RenderView') diff --git a/src/Plugins/MEDReader/Test/testMEDReader4.py b/src/Plugins/MEDReader/Test/testMEDReader4.py index f98f107e..3f88aa9b 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader4.py +++ b/src/Plugins/MEDReader/Test/testMEDReader4.py @@ -73,7 +73,7 @@ testMEDReader4_med.AllArrays=['TS0/mesh/ComSup0/f0NoPfl@@][@@P1','TS0/mesh/ComSu Glyph1=Glyph(Input=testMEDReader4_med,GlyphType='Sphere') Glyph1.ScaleArray=['POINTS','f0NoPfl'] -Glyph1.MaximumGlyphSize=0.3 +Glyph1.ScaleFactor=0.3 Glyph1.OrientationArray = ['POINTS', 'No orientation array'] Glyph1.GlyphTransform="Transform2" diff --git a/src/Plugins/MEDReader/Test/testMEDReader6.py b/src/Plugins/MEDReader/Test/testMEDReader6.py index 1b0d2c9d..35325601 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader6.py +++ b/src/Plugins/MEDReader/Test/testMEDReader6.py @@ -74,7 +74,7 @@ ELGAfieldToPointGaussian1.SelectSourceArray = ['CELLS','ELGA@0'] Glyph1 = Glyph( Input=ELGAfieldToPointGaussian1, GlyphType="Sphere", GlyphTransform="Transform2" ) Glyph1.GlyphType = "Sphere" Glyph1.OrientationArray = ['POINTS', 'No orientation array'] -Glyph1.MaximumGlyphSize = 0.29 +Glyph1.ScaleFactor = 0.29 if '-D' not in sys.argv: RenderView1 = GetRenderView()