diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2019-03-01 13:29:18 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2019-03-01 14:08:31 +0000 |
commit | 228b1c7ce76a134e4d2e67809ef8b86f371a15ef (patch) | |
tree | 104cf1cfd0aaecd539bb058395fd193e9fa8b6fb /tests | |
parent | 4b7897afeb1cd976d3df0ff295bfff7bccadb7ad (diff) |
Update MetaData.xmlv2.3.0-beta2
Materials no longer have name property, the default value is obtained
from MaterialBase. Changed the property parsing logic accordingly.
Change-Id: I40653eeefcbeb1c4e293b75b328ebc4a66f2b2de
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/uipparser/tst_q3dsuipparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/uipparser/tst_q3dsuipparser.cpp b/tests/auto/uipparser/tst_q3dsuipparser.cpp index 8f67b97..b9e8a02 100644 --- a/tests/auto/uipparser/tst_q3dsuipparser.cpp +++ b/tests/auto/uipparser/tst_q3dsuipparser.cpp @@ -286,7 +286,7 @@ void tst_Q3DSUipParser::dataModelParser() v = p->propertiesForType(QStringLiteral("Layer")); QVERIFY(!v->isEmpty()); - QVERIFY(v->count() >= 48); + QVERIFY(v->count() >= 45); it = std::find_if(v->cbegin(), v->cend(), [](const Q3DSDataModelParser::Property &prop) { return prop.name == QStringLiteral("width"); }); QVERIFY(it != v->cend()); QCOMPARE(it->type, Q3DS::Float); |