QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.
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

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: