QGIS/python/core/raster/qgsrasterchecker.sip

50 lines
1.8 KiB
Plaintext
Raw Normal View History

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 *
************************************************************************/
class QgsRasterChecker
{
2017-06-01 15:39:31 +02:00
%Docstring
This is a helper class for unit tests that need to
write an image and compare it to an expected result
or render time.
%End
%TypeHeaderCode
2017-06-01 15:39:31 +02:00
#include "qgsrasterchecker.h"
%End
public:
QgsRasterChecker();
QString report();
2017-06-01 15:39:31 +02:00
%Docstring
:rtype: str
%End
bool runTest( const QString &verifiedKey, QString verifiedUri,
const QString &expectedKey, QString expectedUri );
2017-06-01 15:39:31 +02:00
%Docstring
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
:rtype: bool
%End
}; // class QgsRasterChecker
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 *
************************************************************************/