Skip to content

Commit 62bd07d

Browse files
committed
Added a comment to the test header
1 parent 074c41a commit 62bd07d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/src/app/testqgsattributetable.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ void TestQgsAttributeTable::testSelected()
251251

252252
void TestQgsAttributeTable::testRegression15974()
253253
{
254+
// Test duplicated rows in attribute table + two crashes.
254255
QString path = QDir::tempPath() + "/testshp15974.shp";
255256
std::unique_ptr< QgsVectorLayer> tempLayer( new QgsVectorLayer( QStringLiteral( "polygon?crs=epsg:4326&field=id:integer" ), QStringLiteral( "vl" ), QStringLiteral( "memory" ) ) );
256257
QVERIFY( tempLayer->isValid() );
@@ -281,5 +282,6 @@ void TestQgsAttributeTable::testRegression15974()
281282
QCOMPARE( dlg->mMainView->filteredFeatureCount( ), 3 );
282283
}
283284

285+
284286
QGSTEST_MAIN( TestQgsAttributeTable )
285287
#include "testqgsattributetable.moc"

0 commit comments

Comments
 (0)