Skip to content
Permalink
Browse files

Improve test debugging

  • Loading branch information
nyalldawson committed Nov 15, 2016
1 parent b5c1d0f commit 8f8624a333aa21d682d3df1134b460b619d28d93
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/gui/testqgsdualview.cpp
@@ -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()

0 comments on commit 8f8624a

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