QGIS/python/core/raster/qgsrasterchecker.sip

33 lines
817 B
Plaintext
Raw Normal View History

2015-07-29 11:52:14 +02:00
/** Raster checker for tests in python */
2016-02-14 03:50:23 +01:00
/** \ingroup UnitTests
* This is a helper class for unit tests that need to
* write an image and compare it to an expected result
* or render time.
*/
class QgsRasterChecker
{
%TypeHeaderCode
#include <qgsrasterchecker.h>
%End
public:
QgsRasterChecker();
2015-02-03 02:21:52 +01:00
//! Destructor
~QgsRasterChecker();
QString report();
2014-01-27 09:22:24 +01:00
/**
* Test using renderer to generate the image to be compared.
* @param verifiedKey verified provider key
* @param verifiedUri URI of the raster to be verified
* @param expectedKey expected provider key
* @param expectedUri URI of the expected (control) raster
2014-01-27 09:22:24 +01:00
*/
bool runTest( const QString& verifiedKey, QString verifiedUri,
const QString& expectedKey, QString expectedUri );
};