2017-06-01 15:39:31 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterchecker.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
2012-09-06 19:16:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
class QgsRasterChecker
|
|
|
|
{
|
2017-06-01 15:39:31 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
This is a helper class for unit tests that need to
|
|
|
|
write an image and compare it to an expected result
|
|
|
|
or render time.
|
2017-06-01 15:39:31 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-06 19:16:05 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-01 15:39:31 +02:00
|
|
|
#include "qgsrasterchecker.h"
|
2012-09-06 19:16:05 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsRasterChecker();
|
|
|
|
|
|
|
|
QString report();
|
2017-06-01 15:39:31 +02:00
|
|
|
|
|
|
|
bool runTest( const QString &verifiedKey, QString verifiedUri,
|
2017-05-01 18:13:15 +02:00
|
|
|
const QString &expectedKey, QString expectedUri );
|
2017-06-01 15:39:31 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Test using renderer to generate the image to be compared.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
: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
|
2017-06-01 15:39:31 +02:00
|
|
|
%End
|
|
|
|
}; // class QgsRasterChecker
|
2012-09-06 19:16:05 +02:00
|
|
|
|
2017-09-25 14:20:39 +10:00
|
|
|
|
2017-06-01 15:39:31 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterchecker.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|