mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Improve test debugging
This commit is contained in:
parent
b5c1d0f24e
commit
8f8624a333
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user