Skip to content

Commit

Permalink
More test reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 17, 2024
1 parent 3b55f85 commit 68e1181
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/src/providers/grass/testqgsgrassprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,15 @@ void TestQgsGrassProvider::fatalError()

void TestQgsGrassProvider::locations()
{
const QStringList locations = QgsGrass::locations( mGisdbase );
QCOMPARE( locations, QStringList() << QStringLiteral( "webmerc" ) << QStringLiteral( "wgs84" ) );
reportHeader( QStringLiteral( "TestQgsGrassProvider::locations" ) );
bool ok = true;
QStringList expectedLocations;
expectedLocations << QStringLiteral( "wgs84" );
QStringList locations = QgsGrass::locations( mGisdbase );
reportRow( "expectedLocations: " + expectedLocations.join( QLatin1String( ", " ) ) );
reportRow( "locations: " + locations.join( QLatin1String( ", " ) ) );
compare( expectedLocations, locations, ok );
GVERIFY( ok );
}

void TestQgsGrassProvider::mapsets()
Expand Down

0 comments on commit 68e1181

Please sign in to comment.