QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
This is a helper class for unit tests that need to write an image and compare it to an expected result or render time. More...
#include <qgsrasterchecker.h>
Public Member Functions | |
QgsRasterChecker () | |
~QgsRasterChecker () | |
Destructor. More... | |
QString | report () |
bool | runTest (const QString &theVerifiedKey, QString theVerifiedUri, const QString &theExpectedKey, QString theExpectedUri) |
Test using renderer to generate the image to be compared. More... | |
This is a helper class for unit tests that need to write an image and compare it to an expected result or render time.
Definition at line 29 of file qgsrasterchecker.h.
QgsRasterChecker::QgsRasterChecker | ( | ) |
Definition at line 31 of file qgsrasterchecker.cpp.
|
inline |
Destructor.
Definition at line 36 of file qgsrasterchecker.h.
|
inline |
Definition at line 38 of file qgsrasterchecker.h.
bool QgsRasterChecker::runTest | ( | const QString & | theVerifiedKey, |
QString | theVerifiedUri, | ||
const QString & | theExpectedKey, | ||
QString | theExpectedUri | ||
) |
Test using renderer to generate the image to be compared.
theVerifiedKey | verified provider key |
theVerifiedUri | URI of the raster to be verified |
theExpectedKey | expected provider key |
theExpectedUri | URI of the expected (control) raster |
Definition at line 41 of file qgsrasterchecker.cpp.