mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * 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
 | 
						|
{
 | 
						|
%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
 | 
						|
#include "qgsrasterchecker.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsRasterChecker();
 | 
						|
 | 
						|
    QString report();
 | 
						|
 | 
						|
    bool runTest( const QString &verifiedKey, QString verifiedUri,
 | 
						|
                  const QString &expectedKey, QString expectedUri );
 | 
						|
%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
 | 
						|
%End
 | 
						|
}; // class QgsRasterChecker
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/raster/qgsrasterchecker.h                                   *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |