QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsRasterChecker Class Reference

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 (QString theVerifiedKey, QString theVerifiedUri, QString theExpectedKey, QString theExpectedUri)
 Test using renderer to generate the image to be compared. More...
 

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

Destructor.

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
theVerifiedKeyverified provider key
theVerifiedUriURI of the raster to be verified
theExpectedKeyexpected provider key
theExpectedUriURI of the expected (control) raster

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