Skip to content

Commit 8f8624a

Browse files
committedNov 15, 2016
Improve test debugging
1 parent b5c1d0f commit 8f8624a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/src/gui/testqgsdualview.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ void TestQgsDualView::testSelectAll()
136136
// Only show parts of the canvas, so only one selected feature is visible
137137
mCanvas->setExtent( QgsRectangle( -139, 23, -100, 48 ) );
138138
mDualView->mTableView->selectAll();
139-
QVERIFY( mPointsLayer->selectedFeatureCount() == 10 );
139+
QCOMPARE( mPointsLayer->selectedFeatureCount(), 10 );
140140

141141
mPointsLayer->selectByIds( QgsFeatureIds() );
142142
mCanvas->setExtent( QgsRectangle( -110, 40, -100, 48 ) );
143143
mDualView->mTableView->selectAll();
144-
QVERIFY( mPointsLayer->selectedFeatureCount() == 1 );
144+
QCOMPARE( mPointsLayer->selectedFeatureCount(), 1 );
145145
}
146146

147147
void TestQgsDualView::testSort()

0 commit comments

Comments
 (0)
Please sign in to comment.