|
static QString | fixPath (const QString &path) |
| Cleans up patch to replace $PARAVIEW_TEST_ROOT and $PARAVIEW_DATA_ROOT with appropriate paths specified on the command line. More...
|
|
static QString | DataRoot () |
| Returns the absolute path to the PARAVIEW_DATA_ROOT in canonical form (slashes forward), or empty string. More...
|
|
static QString | TestDirectory () |
| Returns the temporary test directory in which tests can write temporary outputs, difference images etc. More...
|
|
static QString | BaselineDirectory () |
| Returns the baseline directory in which test recorder will write baseline images. More...
|
|
static bool | SaveScreenshot (vtkRenderWindow *RenderWindow, const QString &File) |
| Saves the contents of a render window to a file for later use as a reference image. More...
|
|
static bool | CompareImage (vtkRenderWindow *renderWindow, const QString &referenceImage, double threshold, ostream &output, const QString &tempDirectory, const QSize &size=QSize(300, 300)) |
| Compares the contents of a render window to a reference image, returning true iff the two match within a given threshold. More...
|
|
static bool | CompareImage (vtkImageData *testImage, const QString &ReferenceImage, double Threshold, ostream &Output, const QString &TempDirectory) |
| Compares the test image to a reference image, returning true iff the two match within a given threshold. More...
|
|
static bool | CompareImage (const QString &testPNGImage, const QString &ReferenceImage, double Threshold, ostream &Output, const QString &TempDirectory) |
|
static bool | CompareImage (QWidget *widget, const QString &referenceImage, double threshold, ostream &output, const QString &tempDirectory, const QSize &size=QSize(300, 300)) |
| Compares the contents of any arbitrary QWidget to a reference image, returning true iff the two match within a given threshold. More...
|
|
static bool | CompareView (pqView *curView, const QString &referenceImage, double threshold, const QString &tempDirectory, const QSize &size=QSize()) |
|
static bool | CompareTile (QWidget *widget, int rank, int tdx, int tdy, const QString &baseline, double threshold, ostream &output, const QString &tempDirectory) |
|
static bool | CompareTile (pqView *widget, int rank, int tdx, int tdy, const QString &baseline, double threshold, ostream &output, const QString &tempDirectory) |
|
Provides ParaView-specific functionality for regression testing.
Definition at line 52 of file pqCoreTestUtility.h.