QGIS/python/core/raster/qgsrasterchecker.sip
Denis Rouzaud 7812d4fb17 remove the-prefix from source code
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00

33 lines
817 B
Plaintext

/** Raster checker for tests in python */
/** \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();
//! Destructor
~QgsRasterChecker();
QString report();
/**
* 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
*/
bool runTest( const QString& verifiedKey, QString verifiedUri,
const QString& expectedKey, QString expectedUri );
};