summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/viewer/tst_qt3dsviewer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/viewer/tst_qt3dsviewer.cpp b/tests/auto/viewer/tst_qt3dsviewer.cpp
index c9787fd..2273f89 100644
--- a/tests/auto/viewer/tst_qt3dsviewer.cpp
+++ b/tests/auto/viewer/tst_qt3dsviewer.cpp
@@ -226,7 +226,7 @@ void tst_qt3dsviewer::testCreateElement()
data.insert(QStringLiteral("position"),
QVariant::fromValue<QVector3D>(QVector3D(200, 300, 200)));
data.insert(QStringLiteral("opacity"), 20.0);
- data.insert(QStringLiteral("controlledproperty"), QStringLiteral("@newDataInput opacity"));
+ data.insert(QStringLiteral("controlledproperty"), QStringLiteral("$newDataInput opacity"));
createElement(QStringLiteral("Scene.Layer"), QStringLiteral("Slide1"), data);
@@ -284,6 +284,8 @@ void tst_qt3dsviewer::testCreateElement()
data.insert(QStringLiteral("endtime"), 10000);
data.insert(QStringLiteral("position"),
QVariant::fromValue<QVector3D>(QVector3D(-100, -100, 0)));
+ // Test that this datainput control entry is removed at element delete
+ data.insert(QStringLiteral("controlledproperty"), QStringLiteral("$newDataInput opacity"));
createElement(QStringLiteral("Scene.Layer"), QStringLiteral("Slide2"), data);