diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/rewriteMultiLineStrings.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/rewriteMultiLineStrings.qml | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/rewriteMultiLineStrings.qml b/tests/auto/declarative/qdeclarativeecmascript/data/rewriteMultiLineStrings.qml deleted file mode 100644 index 1ae1b162b2..0000000000 --- a/tests/auto/declarative/qdeclarativeecmascript/data/rewriteMultiLineStrings.qml +++ /dev/null @@ -1,35 +0,0 @@ -import QtQuick 2.0 - -Item { - id: root; - property bool test: str == str2 && (txt != null && txt.str == root.str) - property Text txt: null - //Constant doesn't hit rewriter - property string str: 'same -multiline -string 5 !' - property string str2: ''; - Component { - id: comp - Text { - property var value: 1 - property string str: 'same -multiline -string ' + value + " !" - Component.onCompleted: { //Separate codepath for signal handers in rewriter - root.str2 = 'same -multiline -string ' + value + " !" - } - } - } - Component.onCompleted: txt = comp.createObject(root,{"value" : 5}) - /* - Timer { - interval: 1000 - running: true - repeat: true - onTriggered: console.debug( "Test: " + test + '\n' + str + '\n:\n' + str2 + "\n:\n" + txt.str) - } - */ -} |