Skip to content

Commit

Permalink
Improve test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 15, 2016
1 parent b5c1d0f commit 8f8624a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/gui/testqgsdualview.cpp
Expand Up @@ -136,12 +136,12 @@ void TestQgsDualView::testSelectAll()
// Only show parts of the canvas, so only one selected feature is visible
mCanvas->setExtent( QgsRectangle( -139, 23, -100, 48 ) );
mDualView->mTableView->selectAll();
QVERIFY( mPointsLayer->selectedFeatureCount() == 10 );
QCOMPARE( mPointsLayer->selectedFeatureCount(), 10 );

mPointsLayer->selectByIds( QgsFeatureIds() );
mCanvas->setExtent( QgsRectangle( -110, 40, -100, 48 ) );
mDualView->mTableView->selectAll();
QVERIFY( mPointsLayer->selectedFeatureCount() == 1 );
QCOMPARE( mPointsLayer->selectedFeatureCount(), 1 );
}

void TestQgsDualView::testSort()
Expand Down

0 comments on commit 8f8624a

Please sign in to comment.