Lines Matching refs:fA2

145   QgsFeature fA2( vlA->dataProvider()->fields(), 2 );  in initTestCase()  local
146 fA2.setAttribute( QStringLiteral( "id_a" ), 2 ); in initTestCase()
165 vl->dataProvider()->addFeatures( QgsFeatureList() << fA1 << fA2 ); in initTestCase()
245 QgsFeature fA1, fA2; in testJoinBasic() local
249 fi.nextFeature( fA2 ); in testJoinBasic()
250 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 2 ); in testJoinBasic()
251 QCOMPARE( fA2.attribute( "B_value_b" ).toInt(), 12 ); in testJoinBasic()
555 QgsFeature fA2( vlA->dataProvider()->fields(), 2 ); in testCacheUpdate() local
556 fA2.setAttribute( QStringLiteral( "id_a" ), 2 ); in testCacheUpdate()
558 vlA->dataProvider()->addFeatures( QgsFeatureList() << fA1 << fA2 ); in testCacheUpdate()
581 fi.nextFeature( fA2 ); in testCacheUpdate()
582 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 2 ); in testCacheUpdate()
583 QCOMPARE( fA2.attribute( "B_value_b" ).toInt(), 12 ); in testCacheUpdate()
595 fi.nextFeature( fA2 ); in testCacheUpdate()
596 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 2 ); in testCacheUpdate()
597 QVERIFY( fA2.attribute( "B_value_b" ).isNull() ); in testCacheUpdate()
608 fi.nextFeature( fA2 ); in testCacheUpdate()
609 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 3 ); in testCacheUpdate()
610 QCOMPARE( fA2.attribute( "B_value_b" ).toInt(), 12 ); in testCacheUpdate()
684 QgsFeature fA2( vlA->dataProvider()->fields(), 2 ); in testSignals() local
685 fA2.setAttribute( QStringLiteral( "id_a" ), 2 ); in testSignals()
687 vlA->dataProvider()->addFeatures( QgsFeatureList() << fA1 << fA2 ); in testSignals()
702 fi.nextFeature( fA2 ); in testSignals()
703 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 2 ); in testSignals()
704 QVERIFY( !fA2.attribute( "B_value_b" ).isValid() ); in testSignals()
716 fi.nextFeature( fA2 ); in testSignals()
717 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 2 ); in testSignals()
718 QVERIFY( !fA2.attribute( "B_value_b" ).isValid() ); in testSignals()
725 fi.nextFeature( fA2 ); in testSignals()
726 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 2 ); in testSignals()
727 QCOMPARE( fA2.attribute( "B_value_b" ).toInt(), 222 ); in testSignals()
735 fi.nextFeature( fA2 ); in testSignals()
736 QCOMPARE( fA2.attribute( "id_a" ).toInt(), 2 ); in testSignals()
737 QCOMPARE( fA2.attribute( "B_value_b" ).toInt(), 222 ); in testSignals()
756 QgsFeature fA2( vlA->dataProvider()->fields(), 2 ); in testChangeAttributeValues() local
757 fA2.setAttribute( QStringLiteral( "id_a" ), 2 ); in testChangeAttributeValues()
758 fA2.setAttribute( QStringLiteral( "value_a1" ), QStringLiteral( "a_2_1" ) ); in testChangeAttributeValues()
759 fA2.setAttribute( QStringLiteral( "value_a2" ), QStringLiteral( "a_2_2" ) ); in testChangeAttributeValues()
761 QVERIFY( vlA->dataProvider()->addFeatures( QgsFeatureList() << fA1 << fA2 ) ); in testChangeAttributeValues()