Skip to content

Commit 1100c98

Browse files
committedMay 4, 2015
GRASS test fix
1 parent 9e09646 commit 1100c98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/src/providers/grass/testqgsgrassprovider.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ void TestQgsGrassProvider::info()
367367
{
368368
es = expectedStats.value( map );
369369
// TODO: QgsGrass::info() may open dialog window on error which blocks tests
370-
QHash<QString, QString> info = QgsGrass::info( mGisdbase, mLocation, "test", map, QgsGrass::Raster, "stats",
370+
QHash<QString, QString> info = QgsGrass::info( mGisdbase, mLocation, "test", map, QgsGrassObject::Raster, "stats",
371371
expectedExtent, 10, 10, 5000, false );
372372
reportRow( "map: " + map );
373373
QgsRasterBandStats s;
@@ -379,7 +379,7 @@ void TestQgsGrassProvider::info()
379379
compare( es.minimumValue, s.minimumValue, ok );
380380
compare( es.maximumValue, s.maximumValue, ok );
381381

382-
QgsRectangle extent = QgsGrass::extent( mGisdbase, mLocation, "test", map, QgsGrass::Raster, false );
382+
QgsRectangle extent = QgsGrass::extent( mGisdbase, mLocation, "test", map, QgsGrassObject::Raster, false );
383383
reportRow( "expectedExtent: " + expectedExtent.toString() );
384384
reportRow( "extent: " + extent.toString() );
385385
if ( extent != expectedExtent )

0 commit comments

Comments
 (0)
Please sign in to comment.