We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c179366 commit d375c5bCopy full SHA for d375c5b
tests/src/core/testqgsvectorlayer.cpp
@@ -146,15 +146,18 @@ class TestQgsVectorLayer: public QObject
146
{
147
QgsVectorDataProvider * myProvider = mpNonSpatialLayer->dataProvider();
148
QgsFeature f;
149
+ QgsAttributeList myList;
150
+ myList << 0 << 1 << 2 << 3;
151
int myCount = 0;
- myProvider->select();
152
+ myProvider->select( myList );
153
while ( myProvider->nextFeature( f ) )
154
155
qDebug("Getting feature from provider");
156
myCount++;
157
}
- QVERIFY( myCount > 10);
158
+ QVERIFY( myCount == 3 );
159
};
160
+
161
void QgsVectorLayerstorageType()
162
163
0 commit comments