From 98a31ff6b9673b020a688d7d035f03a6497a6f5f Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 7 Sep 2020 16:01:30 +0200 Subject: Adapt to changes in qtbase Due to qiterable.h specializing a template declared in qmetatype.h we temporarily need to include it in a few tests so that the iterables work. Change-Id: Ia32392419dead76eaf2b91b2ec4157b726d8de74 Reviewed-by: Lars Knoll --- tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp') diff --git a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp index fe14964b7e..942284388a 100644 --- a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp +++ b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -5863,6 +5864,7 @@ void tst_qqmllanguage::arrayToContainer() QCOMPARE(root->m_points.at(0), QPointF (2.0, 3.0) ); QVERIFY(root->m_barrays.contains("hello")); QVERIFY(root->m_barrays.contains("world")); + QCOMPARE(root->m_convertibles.size(), 2); QCOMPARE(root->m_convertibles.at(0).msg, QLatin1String("hello")); QCOMPARE(root->m_convertibles.at(1).msg, QLatin1String("world")); } -- cgit v1.2.3