QGIS API Documentation  2.8.2-Wien
 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.

Definition at line 29 of file qgsrasterchecker.h.

Constructor & Destructor Documentation

QgsRasterChecker::QgsRasterChecker ( )

Definition at line 31 of file qgsrasterchecker.cpp.

QgsRasterChecker::~QgsRasterChecker ( )
inline

Destructor.

Definition at line 36 of file qgsrasterchecker.h.

Member Function Documentation

QString QgsRasterChecker::report ( )
inline

Definition at line 38 of file qgsrasterchecker.h.

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

Definition at line 41 of file qgsrasterchecker.cpp.


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