Skip to content
Permalink
Browse files
fix build (followup e82015b)
  • Loading branch information
jef-n committed Jul 2, 2021
1 parent e724d6d commit f3e88c3c4d6656b5e86e4c89cbfaa1ff12bd1a35
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/src/app/testqgsattributetable.cpp
@@ -563,11 +563,11 @@ void TestQgsAttributeTable::testCopySelectedRows()

QgsFeatureList features = clipboard->copyOf();
QCOMPARE( features.count(), 2 );
QCOMPARE( features.at( 0 ).attribute( 0 ), 1 );
QCOMPARE( features.at( 0 ).attribute( "col1" ), 2 );
QCOMPARE( features.at( 0 ).attribute( 0 ), QVariant( 1 ) );
QCOMPARE( features.at( 0 ).attribute( "col1" ), QVariant( 2 ) );
QCOMPARE( features.at( 0 ).attribute( "col2" ), QVariant() );
QCOMPARE( features.at( 1 ).attribute( "pk" ), 2 );
QCOMPARE( features.at( 1 ).attribute( "col1" ), 4 );
QCOMPARE( features.at( 1 ).attribute( "pk" ), QVariant( 2 ) );
QCOMPARE( features.at( 1 ).attribute( "col1" ), QVariant( 4 ) );
QCOMPARE( features.at( 1 ).attribute( 2 ), QVariant() );

QCOMPARE( clipboard->crs().authid(), "EPSG:3111" );

0 comments on commit f3e88c3

Please sign in to comment.