16 #ifndef QGSMULTIRENDERCHECKER_H
17 #define QGSMULTIRENDERCHECKER_H
61 void setControlName(
const QString& theName );
63 void setControlPathPrefix(
const QString& prefix );
87 void setColorTolerance(
unsigned int theColorTolerance ) { mColorTolerance = theColorTolerance; }
102 bool runTest(
const QString& theTestName,
unsigned int theMismatchCount = 0 );
115 const QString controlImagePath()
const;
127 unsigned int mColorTolerance;
131 #endif // QGSMULTIRENDERCHECKER_H
const QString & report() const
Returns a report for this test.
The QgsMapSettings class contains configuration for rendering of the map.
This class allows checking rendered images against comparison images.
static void drawBackground(QImage *image)
Draws a checkboard pattern for image backgrounds, so that transparency is visible without requiring a...
void setColorTolerance(unsigned int theColorTolerance)
Set tolerance for color components used by runTest() Default value is 0.
static void drawBackground(QImage *image)
Draws a checkboard pattern for image backgrounds, so that transparency is visible without requiring a...
void setRenderedImage(const QString &renderedImagePath)
Set the path to the rendered image.