diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index 55b76f1d20..963bec91bf 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -281,6 +281,7 @@ private slots: void overrideDataAssert(); void fallbackBindings_data(); void fallbackBindings(); + void concatenatedStringPropertyAccess(); private: static void propertyVarWeakRefCallback(v8::Persistent<v8::Value> object, void* parameter); @@ -7280,6 +7281,15 @@ void tst_qqmlecmascript::sequenceSort() delete object; } +void tst_qqmlecmascript::concatenatedStringPropertyAccess() +{ + QQmlComponent component(&engine, testFileUrl("concatenatedStringPropertyAccess.qml")); + QObject *object = component.create(); + QVERIFY(object); + QVERIFY(object->property("success").toBool()); + delete object; +} + QTEST_MAIN(tst_qqmlecmascript) #include "tst_qqmlecmascript.moc" |