Skip to content

Commit

Permalink
Added a comment to the test header
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed May 11, 2017
1 parent 074c41a commit 62bd07d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/app/testqgsattributetable.cpp
Expand Up @@ -251,6 +251,7 @@ void TestQgsAttributeTable::testSelected()

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


QGSTEST_MAIN( TestQgsAttributeTable )
#include "testqgsattributetable.moc"

0 comments on commit 62bd07d

Please sign in to comment.