Class: QgsRasterChecker¶
-
class
qgis.core.
QgsRasterChecker
¶ Bases:
sip.wrapper
This is a helper class for unit tests that need to write an image and compare it to an expected result or render time.
-
report
(self) → str¶
-
runTest
(self, verifiedKey: str, verifiedUri: str, expectedKey: str, expectedUri: str) → bool¶ Test using renderer to generate the image to be compared.
- Parameters
verifiedKey – verified provider key
verifiedUri – URI of the raster to be verified
expectedKey – expected provider key
expectedUri – URI of the expected (control) raster
-