mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
GRASS test fix
This commit is contained in:
parent
9e09646410
commit
1100c9871d
@ -367,7 +367,7 @@ void TestQgsGrassProvider::info()
|
||||
{
|
||||
es = expectedStats.value( map );
|
||||
// TODO: QgsGrass::info() may open dialog window on error which blocks tests
|
||||
QHash<QString, QString> info = QgsGrass::info( mGisdbase, mLocation, "test", map, QgsGrass::Raster, "stats",
|
||||
QHash<QString, QString> info = QgsGrass::info( mGisdbase, mLocation, "test", map, QgsGrassObject::Raster, "stats",
|
||||
expectedExtent, 10, 10, 5000, false );
|
||||
reportRow( "map: " + map );
|
||||
QgsRasterBandStats s;
|
||||
@ -379,7 +379,7 @@ void TestQgsGrassProvider::info()
|
||||
compare( es.minimumValue, s.minimumValue, ok );
|
||||
compare( es.maximumValue, s.maximumValue, ok );
|
||||
|
||||
QgsRectangle extent = QgsGrass::extent( mGisdbase, mLocation, "test", map, QgsGrass::Raster, false );
|
||||
QgsRectangle extent = QgsGrass::extent( mGisdbase, mLocation, "test", map, QgsGrassObject::Raster, false );
|
||||
reportRow( "expectedExtent: " + expectedExtent.toString() );
|
||||
reportRow( "extent: " + extent.toString() );
|
||||
if ( extent != expectedExtent )
|
||||
|
Loading…
x
Reference in New Issue
Block a user