diff options
Diffstat (limited to 'tests/auto/inputpanel/data/inputpanel/inputpanel.qml')
-rw-r--r-- | tests/auto/inputpanel/data/inputpanel/inputpanel.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/inputpanel/data/inputpanel/inputpanel.qml b/tests/auto/inputpanel/data/inputpanel/inputpanel.qml index 99fde40e..3bccb337 100644 --- a/tests/auto/inputpanel/data/inputpanel/inputpanel.qml +++ b/tests/auto/inputpanel/data/inputpanel/inputpanel.qml @@ -674,6 +674,17 @@ InputPanel { if (!inputPanel.wordCandidateView.currentItem) return false testcase.wait(200) + testcase.verify(inputPanel.wordCandidateView.currentItem, + "Expected wordCandidateView to have a currentItem, but it's null." + + " Its property values at the time of failure are:" + + " x=" + inputPanel.wordCandidateView.x + + " y=" + inputPanel.wordCandidateView.y + + " width=" + inputPanel.wordCandidateView.width + + " height=" + inputPanel.wordCandidateView.height + + " count=" + inputPanel.wordCandidateView.count + + " flicking=" + inputPanel.wordCandidateView.flicking + + " moving=" + inputPanel.wordCandidateView.moving + + " visible=" + inputPanel.wordCandidateView.visible) var itemPos = inputPanel.mapFromItem(inputPanel.wordCandidateView.currentItem, inputPanel.wordCandidateView.currentItem.width / 2, inputPanel.wordCandidateView.currentItem.height / 2) |