diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-03-29 11:16:20 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-04-06 08:36:03 +0000 |
commit | 69d28aa054cb43cbc0f68b2cc18fbedcbca1e0d5 (patch) | |
tree | ee214b0659548204d92d101e31f4fa5112b39737 /ApiExtractor/tests/testextrainclude.cpp | |
parent | 6a4865f5bba1d15bc3e91f720486c9e23cafc8c5 (diff) |
AbstractMetaLang/Typesystem: Replace QList by QVector
QList will be deprecated in Qt.
Change-Id: I82c997366736c1f976b142cb142da39976736f49
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'ApiExtractor/tests/testextrainclude.cpp')
-rw-r--r-- | ApiExtractor/tests/testextrainclude.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ApiExtractor/tests/testextrainclude.cpp b/ApiExtractor/tests/testextrainclude.cpp index 9415837..97f0d56 100644 --- a/ApiExtractor/tests/testextrainclude.cpp +++ b/ApiExtractor/tests/testextrainclude.cpp @@ -50,7 +50,7 @@ void TestExtraInclude::testClassExtraInclude() const AbstractMetaClass *classA = AbstractMetaClass::findClass(classes, QLatin1String("A")); QVERIFY(classA); - QList<Include> includes = classA->typeEntry()->extraIncludes(); + QVector<Include> includes = classA->typeEntry()->extraIncludes(); QCOMPARE(includes.count(), 1); QCOMPARE(includes.first().name(), QLatin1String("header.h")); } @@ -76,7 +76,7 @@ void TestExtraInclude::testGlobalExtraIncludes() TypeEntry* module = td->findType(QLatin1String("Foo")); QVERIFY(module); - QList<Include> includes = module->extraIncludes(); + QVector<Include> includes = module->extraIncludes(); QCOMPARE(includes.count(), 2); QCOMPARE(includes.first().name(), QLatin1String("header1.h")); QCOMPARE(includes.last().name(), QLatin1String("header2.h")); |