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 ¶
- Return type
str
- runTest(self, verifiedKey: str, verifiedUri: str, expectedKey: str, expectedUri: str) bool ¶
Test using renderer to generate the image to be compared.
- Parameters
verifiedKey (str) – verified provider key
verifiedUri (str) – URI of the raster to be verified
expectedKey (str) – expected provider key
expectedUri (str) – URI of the expected (control) raster
- Return type
bool