2012-09-06 19:16:05 +02:00
|
|
|
|
|
|
|
/** Raster checker for tests in python */
|
|
|
|
|
|
|
|
class QgsRasterChecker
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsrasterchecker.h>
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsRasterChecker();
|
|
|
|
|
2015-02-03 02:21:52 +01:00
|
|
|
//! Destructor
|
2012-09-06 19:16:05 +02:00
|
|
|
~QgsRasterChecker();
|
|
|
|
|
|
|
|
QString report();
|
2014-01-27 09:22:24 +01:00
|
|
|
/**
|
|
|
|
* Test using renderer to generate the image to be compared.
|
|
|
|
* @param theVerifiedKey verified provider key
|
|
|
|
* @param theVerifiedUri URI of the raster to be verified
|
|
|
|
* @param theExpectedKey expected provider key
|
|
|
|
* @param theExpectedUri URI of the expected (control) raster
|
|
|
|
*/
|
2012-09-06 19:16:05 +02:00
|
|
|
bool runTest( QString theVerifiedKey, QString theVerifiedUri,
|
|
|
|
QString theExpectedKey, QString theExpectedUri );
|
|
|
|
};
|
|
|
|
|