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.
|
| QString | report () |
| bool | runTest (QString theVerifiedKey, QString theVerifiedUri, QString theExpectedKey, QString theExpectedUri) |
| | Test using renderer to generate the image to be compared.
|
Detailed Description
This is a helper class for unit tests that need to write an image and compare it to an expected result or render time.
Constructor & Destructor Documentation
| QgsRasterChecker::QgsRasterChecker |
( |
| ) |
|
| QgsRasterChecker::~QgsRasterChecker |
( |
| ) |
|
|
inline |
Member Function Documentation
| QString QgsRasterChecker::report |
( |
| ) |
|
|
inline |
| bool QgsRasterChecker::runTest |
( |
QString |
theVerifiedKey, |
|
|
QString |
theVerifiedUri, |
|
|
QString |
theExpectedKey, |
|
|
QString |
theExpectedUri |
|
) |
| |
Test using renderer to generate the image to be compared.
- Parameters
-
| theVerifiedKey | verified provider key |
| theVerifiedUri | URI of the raster to be verified |
| theExpectedKey | expected provider key |
| theExpectedUri | URI of the expected (control) raster |
The documentation for this class was generated from the following files: