summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2018-07-31 15:43:42 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2018-08-02 09:48:45 +0000
commit2040e207f56ac9246240938a43c6f5c2b6d912c4 (patch)
tree13c2ea67aa954d8af0ec3cacbb04250ed94f75d0 /tests
parenta647518c399a3c937ea6388171f68fc0d3487bf8 (diff)
Allow changing eyeball for effect and behavior via the Q_PROPERTY
Like Node does. Also add the missing property for effect, for consistency (not that these are used anywhere yet). Change-Id: I8e3e5a0e527cb4e4ea7feca52ec42fe104379c6a Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/uipparser/tst_q3dsuipparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/uipparser/tst_q3dsuipparser.cpp b/tests/auto/uipparser/tst_q3dsuipparser.cpp
index 8f67b97..3f9ec36 100644
--- a/tests/auto/uipparser/tst_q3dsuipparser.cpp
+++ b/tests/auto/uipparser/tst_q3dsuipparser.cpp
@@ -1309,12 +1309,12 @@ void tst_Q3DSUipParser::customPropertyTextureSourceResolve()
auto eff = pres->object<Q3DSEffectInstance>(QByteArrayLiteral("FullScreenTextureOverlay_001"));
QVERIFY(eff);
- QCOMPARE(eff->propertyNames().count(), 9); // 7 standard, 2 dynamic
+ QCOMPARE(eff->propertyNames().count(), 10); // 8 standard, 2 dynamic
QCOMPARE(eff->dynamicPropertyNames().count(), 2);
QCOMPARE(eff->dynamicPropertyValues().count(), 2);
QSet<QString> expectedNames { QLatin1String("id"), QLatin1String("name"), QLatin1String("starttime"), QLatin1String("endtime"),
- QLatin1String("dynamicProperties"), QLatin1String("class"), QLatin1String("eyeball"),
+ QLatin1String("dynamicProperties"), QLatin1String("class"), QLatin1String("eyeball"), QLatin1String("effect"),
QLatin1String("Overlay"), QLatin1String("overlay_repeat") };
QSet<QString> actualNames;
for (const QString &s : eff->propertyNames())