QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsRasterChecker Class Reference

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 () const
bool runTest (const QString &verifiedKey, QString verifiedUri, const QString &expectedKey, QString expectedUri)
 Test using renderer to generate the image to be compared.

Detailed Description

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 33 of file qgsrasterchecker.h.

Constructor & Destructor Documentation

◆ QgsRasterChecker()

QgsRasterChecker::QgsRasterChecker ( )

Definition at line 31 of file qgsrasterchecker.cpp.

Member Function Documentation

◆ report()

QString QgsRasterChecker::report ( ) const
inline

Definition at line 39 of file qgsrasterchecker.h.

◆ runTest()

bool QgsRasterChecker::runTest ( const QString & verifiedKey,
QString verifiedUri,
const QString & expectedKey,
QString expectedUri )

Test using renderer to generate the image to be compared.

Parameters
verifiedKeyverified provider key
verifiedUriURI of the raster to be verified
expectedKeyexpected provider key
expectedUriURI of the expected (control) raster

Definition at line 40 of file qgsrasterchecker.cpp.


The documentation for this class was generated from the following files: