diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/singletontype/scriptSingletonTypeCaching.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/singletontype/scriptSingletonTypeCaching.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/singletontype/scriptSingletonTypeCaching.qml b/tests/auto/qml/qqmlecmascript/data/singletontype/scriptSingletonTypeCaching.qml index 287258bdc6..81ba9a66e4 100644 --- a/tests/auto/qml/qqmlecmascript/data/singletontype/scriptSingletonTypeCaching.qml +++ b/tests/auto/qml/qqmlecmascript/data/singletontype/scriptSingletonTypeCaching.qml @@ -3,4 +3,10 @@ import Qt.test.scriptApi 1.0 as QtTestScriptApi // script sing QtObject { property int scriptTest: QtTestScriptApi.Script.scriptTestProperty + + function modifyValues() { + // the constructor function of the script singleton will modify + // the value if it were called again (via the static int increment). + // So, we don't need to do anything in this function. + } } |