From: Mathieu Westphal Date: Thu, 29 Sep 2016 12:54:52 +0000 (+0200) Subject: Correcting python tests X-Git-Tag: V8_2_0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2a861f072ae46b2252d5e0574ac3618060d7e4d;p=modules%2Fparavis.git Correcting python tests --- diff --git a/src/Plugins/MEDReader/Test/testMEDReader19.py b/src/Plugins/MEDReader/Test/testMEDReader19.py index 66eff866..df2925cd 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader19.py +++ b/src/Plugins/MEDReader/Test/testMEDReader19.py @@ -77,14 +77,6 @@ extractCellType1Display = Show(extractCellType1, renderView1) # trace defaults for the display properties. extractCellType1Display.ColorArrayName = [None, ''] extractCellType1Display.ScalarOpacityUnitDistance = 0.5 -extractCellType1Display.OpacityArray = [None, ''] -extractCellType1Display.RadiusArray = [None, ''] -extractCellType1Display.RadiusRange = [0.2, 0.7] -extractCellType1Display.ConstantRadius = 0.7 -extractCellType1Display.PointSpriteDefaultsInitialized = 1 -extractCellType1Display.SelectInputVectors = [None, ''] -extractCellType1Display.WriteLog = '' - renderView1.InteractionMode = '2D' renderView1.CameraPosition = [0.2, 0.2, 10000.0] diff --git a/src/Plugins/MEDReader/Test/testMEDReader20.py b/src/Plugins/MEDReader/Test/testMEDReader20.py index 4123d944..192b8b56 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader20.py +++ b/src/Plugins/MEDReader/Test/testMEDReader20.py @@ -85,15 +85,6 @@ testMEDReader20medDisplay = Show(testMEDReader20med, renderView1) testMEDReader20medDisplay.ColorArrayName = [None, ''] testMEDReader20medDisplay.GlyphType = 'Arrow' testMEDReader20medDisplay.ScalarOpacityUnitDistance = 4.664739046219201 -testMEDReader20medDisplay.SelectUncertaintyArray = [None, ''] -testMEDReader20medDisplay.UncertaintyTransferFunction = 'PiecewiseFunction' -testMEDReader20medDisplay.OpacityArray = [None, ''] -testMEDReader20medDisplay.RadiusArray = [None, ''] -testMEDReader20medDisplay.RadiusRange = [0.0, 10.0] -testMEDReader20medDisplay.ConstantRadius = 10.0 -testMEDReader20medDisplay.PointSpriteDefaultsInitialized = 1 -testMEDReader20medDisplay.SelectInputVectors = [None, ''] -testMEDReader20medDisplay.WriteLog = '' # reset view to fit data renderView1.ResetCamera() diff --git a/src/Plugins/MEDReader/Test/testMEDReader21.py b/src/Plugins/MEDReader/Test/testMEDReader21.py index 1159dd54..1d9aa0b7 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader21.py +++ b/src/Plugins/MEDReader/Test/testMEDReader21.py @@ -54,15 +54,6 @@ testTotomedDisplay = Show(testTotomed, renderView1) testTotomedDisplay.ColorArrayName = [None, ''] testTotomedDisplay.GlyphType = 'Arrow' testTotomedDisplay.ScalarOpacityUnitDistance = 1.5874010519681994 -testTotomedDisplay.SelectUncertaintyArray = [None, ''] -testTotomedDisplay.UncertaintyTransferFunction = 'PiecewiseFunction' -testTotomedDisplay.OpacityArray = [None, ''] -testTotomedDisplay.RadiusArray = [None, ''] -testTotomedDisplay.RadiusRange = [0.0, 2.0] -testTotomedDisplay.ConstantRadius = 2.0 -testTotomedDisplay.PointSpriteDefaultsInitialized = 1 -testTotomedDisplay.SelectInputVectors = [None, ''] -testTotomedDisplay.WriteLog = '' # reset view to fit data renderView1.ResetCamera() @@ -97,15 +88,6 @@ eLNOMesh1Display = Show(eLNOMesh1, renderView1) eLNOMesh1Display.ColorArrayName = [None, ''] eLNOMesh1Display.GlyphType = 'Arrow' eLNOMesh1Display.ScalarOpacityUnitDistance = 1.1905507889761495 -eLNOMesh1Display.SelectUncertaintyArray = ['POINTS', 'MyField'] -eLNOMesh1Display.UncertaintyTransferFunction = 'PiecewiseFunction' -eLNOMesh1Display.OpacityArray = [None, ''] -eLNOMesh1Display.RadiusArray = [None, ''] -eLNOMesh1Display.RadiusRange = [0.25, 1.75] -eLNOMesh1Display.ConstantRadius = 1.75 -eLNOMesh1Display.PointSpriteDefaultsInitialized = 1 -eLNOMesh1Display.SelectInputVectors = [None, ''] -eLNOMesh1Display.WriteLog = '' # hide data in view Hide(testTotomed, renderView1) @@ -152,15 +134,6 @@ glyph1Display = Show(glyph1, renderView1) glyph1Display.ColorArrayName = ['POINTS', 'MyField'] glyph1Display.LookupTable = myFieldLUT glyph1Display.GlyphType = 'Arrow' -glyph1Display.SelectUncertaintyArray = ['POINTS', 'MyField'] -glyph1Display.UncertaintyTransferFunction = 'PiecewiseFunction' -glyph1Display.OpacityArray = [None, ''] -glyph1Display.RadiusArray = [None, ''] -glyph1Display.RadiusRange = [0.17688040435314178, 1.8231196403503418] -glyph1Display.ConstantRadius = 1.8231196403503418 -glyph1Display.PointSpriteDefaultsInitialized = 1 -glyph1Display.SelectInputVectors = ['POINTS', 'Normals'] -glyph1Display.WriteLog = '' # show color bar/color legend glyph1Display.SetScalarBarVisibility(renderView1, True)