diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-23 04:26:49 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-23 04:26:49 (GMT) |
commit | 3c4df26a8d184b728395c8aad26b05626176b7b5 (patch) | |
tree | 8c5a16a3822f61fbeb0b2405009aeab480ffe98b /tests/auto/declarative/qmlgraphicslistview | |
parent | a8549cfee8b6ec393dcea6314e6ac7d6c102dc07 (diff) | |
download | Qt-3c4df26a8d184b728395c8aad26b05626176b7b5.zip Qt-3c4df26a8d184b728395c8aad26b05626176b7b5.tar.gz Qt-3c4df26a8d184b728395c8aad26b05626176b7b5.tar.bz2 |
Use console.log, not print.
Diffstat (limited to 'tests/auto/declarative/qmlgraphicslistview')
-rw-r--r-- | tests/auto/declarative/qmlgraphicslistview/data/listview.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/declarative/qmlgraphicslistview/data/listview.qml b/tests/auto/declarative/qmlgraphicslistview/data/listview.qml index b64b399..99b3db6 100644 --- a/tests/auto/declarative/qmlgraphicslistview/data/listview.qml +++ b/tests/auto/declarative/qmlgraphicslistview/data/listview.qml @@ -7,23 +7,23 @@ Rectangle { function checkProperties() { testObject.error = false; if (list.model != testModel) { - print("model property incorrect"); + console.log("model property incorrect"); testObject.error = true; } if (!testObject.animate && list.delegate != myDelegate) { - print("delegate property incorrect - expected myDelegate"); + console.log("delegate property incorrect - expected myDelegate"); testObject.error = true; } if (testObject.animate && list.delegate != animatedDelegate) { - print("delegate property incorrect - expected animatedDelegate"); + console.log("delegate property incorrect - expected animatedDelegate"); testObject.error = true; } if (testObject.invalidHighlight && list.highlight != invalidHl) { - print("highlight property incorrect - expected invalidHl"); + console.log("highlight property incorrect - expected invalidHl"); testObject.error = true; } if (!testObject.invalidHighlight && list.highlight != myHighlight) { - print("highlight property incorrect - expected myHighlight"); + console.log("highlight property incorrect - expected myHighlight"); testObject.error = true; } } @@ -85,7 +85,7 @@ Rectangle { } color: ListView.isCurrentItem ? "lightsteelblue" : "white" ListView.onRemove: SequentialAnimation { - ScriptAction { script: print("Fix PropertyAction with attached properties") } + ScriptAction { script: console.log("Fix PropertyAction with attached properties") } /* PropertyAction { target: wrapper; property: "ListView.delayRemove"; value: true } NumberAnimation { target: wrapper; property: "scale"; to: 0; duration: 250; easing: "easeInOutQuad" } |