MCPcopy Create free account
hub / github.com/Kitware/ParaView / RegressionTest

Function RegressionTest

Remoting/Application/Testing/Python/SaveAnimation.py:12–19  ·  view source on GitHub ↗
(imageName, baselineName)

Source from the content-addressed store, hash-verified

10print("Generating output files in `%s`" % tempdir)
11
12def RegressionTest(imageName, baselineName):
13 from paraview.vtk.vtkTestingRendering import vtkTesting
14 testing = vtkTesting()
15 testing.AddArgument("-T")
16 testing.AddArgument(tempdir)
17 testing.AddArgument("-V")
18 testing.AddArgument(smtesting.DataDir + "/Remoting/Application/Testing/Data/Baseline/" + baselineName)
19 return testing.RegressionTest(tempdir + "/" + imageName, 0.05) == vtkTesting.PASSED
20
21
22# Create a new 'Render View'

Callers 1

SaveAnimation.pyFile · 0.70

Calls 3

vtkTestingClass · 0.85
AddArgumentMethod · 0.80
RegressionTestMethod · 0.80

Tested by

no test coverage detected