aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_editors
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2018-11-15 15:40:11 +0100
committerRobert Loehning <robert.loehning@qt.io>2018-12-11 17:44:10 +0000
commitb382d83fabd70c325dc395cf18c3b7ecd1e89de9 (patch)
treeefb20c29310a2cd7a0c76dcda23b398e7bbb37be /tests/system/suite_editors
parentd0e4f657c9810f8f938b14b61c8b27fd6a070547 (diff)
Squish: Adapt test to changed behavior
41d68f469a1e9 restored (partially) the old behavior which changes the '.' operator to '->' if all completions need it. Change-Id: I92c2183e7e7f1c0d839f2340c2abe7a9f7d73af2 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system/suite_editors')
-rw-r--r--tests/system/suite_editors/tst_memberoperator/test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/system/suite_editors/tst_memberoperator/test.py b/tests/system/suite_editors/tst_memberoperator/test.py
index 910e4b35c5..99e511049a 100644
--- a/tests/system/suite_editors/tst_memberoperator/test.py
+++ b/tests/system/suite_editors/tst_memberoperator/test.py
@@ -77,8 +77,9 @@ def main():
proposalToolTips)
correction = testData.field(record, "correction")
if correction == 'all':
- test.compare(len(needCorrection), len(proposalToolTips),
- "Verifying whether all proposal need correction.")
+ __verifyLineUnderCursor__(cppwindow, record)
+ test.compare(len(needCorrection), 0,
+ "Verifying whether operator has been already corrected.")
elif correction == 'mixed':
test.verify(len(proposalToolTips) > len(needCorrection) > 0,
"Verifying whether some of the proposals need correction.")