QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
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 () | |
QString | report () |
bool | runTest (const QString &verifiedKey, QString verifiedUri, const QString &expectedKey, QString expectedUri) |
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 30 of file qgsrasterchecker.h.
QgsRasterChecker::QgsRasterChecker | ( | ) |
Definition at line 30 of file qgsrasterchecker.cpp.
|
inline |
Definition at line 36 of file qgsrasterchecker.h.
bool QgsRasterChecker::runTest | ( | const QString & | verifiedKey, |
QString | verifiedUri, | ||
const QString & | expectedKey, | ||
QString | expectedUri | ||
) |
Test using renderer to generate the image to be compared.
verifiedKey | verified provider key |
verifiedUri | URI of the raster to be verified |
expectedKey | expected provider key |
expectedUri | URI of the expected (control) raster |
Definition at line 39 of file qgsrasterchecker.cpp.