Skip to content
Permalink
Browse files

GRASS test fix

  • Loading branch information
blazek committed May 4, 2015
1 parent 9e09646 commit 1100c9871de8f3419c2933db080adf99b7bc6365
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/providers/grass/testqgsgrassprovider.cpp
@@ -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 )

0 comments on commit 1100c98

Please sign in to comment.
You can’t perform that action at this time.