aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-09-25 03:00:45 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-09-25 03:00:47 +0200
commit87c5967277c26c8154c2fee1db5ba3debb9b5b19 (patch)
tree48b0967aad64e9e73adca3f90f7b344fb2b89587 /tests
parent43cc66b4335edc46b0b92a54cec7617e8d4937bd (diff)
parent3f152060b4072cb9aea5ca98d956b22a25c25697 (diff)
Merge remote-tracking branch 'origin/5.11' into 5.12
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/inputpanel/data/inputpanel/inputpanel.qml11
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)