|
| QgsRenderChecker () |
| Constructor for QgsRenderChecker. More...
|
|
bool | compareImages (const QString &testName, const QString &referenceImageFile, const QString &renderedImageFile, unsigned int mismatchCount=0, QgsRenderChecker::Flags flags=QgsRenderChecker::Flags()) |
| Test using two arbitrary images at the specified paths for equality. More...
|
|
bool | compareImages (const QString &testName, unsigned int mismatchCount=0, const QString &renderedImageFile=QString(), QgsRenderChecker::Flags flags=QgsRenderChecker::Flags()) |
| Test using two arbitrary images (map renderer will not be used) More...
|
|
QString | controlImagePath () const |
| Returns the base path containing the reference images. More...
|
|
QVector< QgsDartMeasurement > | dartMeasurements () const |
| Gets access to buffered dash messages. More...
|
|
int | elapsedTime () const |
| Returns the total elapsed time for the rendering test. More...
|
|
void | enableDashBuffering (bool enable) |
| Call this to enable internal buffering of dash messages. More...
|
|
QString | expectedImageFile () const |
| Returns the path to the expected image file. More...
|
|
QString | imageToHash (const QString &imageFile) |
| Gets an md5 hash that uniquely identifies an image. More...
|
|
Q_DECL_DEPRECATED bool | isKnownAnomaly (const QString &diffImageFile) |
| Gets a list of all the anomalies. More...
|
|
float | matchPercent () const |
| Returns the percent of pixels which matched the control image. More...
|
|
unsigned int | matchTarget () const |
| Returns the total number of pixels in the control image. More...
|
|
unsigned int | mismatchCount () const |
| Returns the number of pixels which did not match the control image. More...
|
|
QString | renderedImage () const |
| Returns the path of the rendered image generated by the test. More...
|
|
QString | report (bool ignoreSuccess=true) const |
| Returns the HTML report describing the results of the test run. More...
|
|
bool | runTest (const QString &testName, unsigned int mismatchCount=0, QgsRenderChecker::Flags flags=QgsRenderChecker::Flags()) |
| Render checker flags. More...
|
|
void | setColorTolerance (unsigned int colorTolerance) |
| Set tolerance for color components used by runTest() and compareImages(). More...
|
|
void | setControlExtension (const QString &extension) |
| Sets file extension for the control image. More...
|
|
void | setControlImagePath (const QString &path) |
| Sets the base path containing the reference images. More...
|
|
void | setControlName (const QString &name) |
| Sets the base directory name for the control image (with control image path suffixed). More...
|
|
void | setControlPathPrefix (const QString &name) |
| Sets the path prefix where the control images are kept. More...
|
|
void | setControlPathSuffix (const QString &name) |
|
void | setElapsedTimeTarget (int target) |
|
void | setExpectFail (bool expectFail) |
| Sets whether the comparison is expected to fail. More...
|
|
void | setMapSettings (const QgsMapSettings &mapSettings) |
|
void | setRenderedImage (const QString &imageFileName) |
| Sets the file name of the rendered image generated by the test. More...
|
|
void | setSizeTolerance (int xTolerance, int yTolerance) |
| Sets the largest allowable difference in size between the rendered and the expected image. More...
|
|