From b382d83fabd70c325dc395cf18c3b7ecd1e89de9 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 15 Nov 2018 15:40:11 +0100 Subject: [PATCH] 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 --- tests/system/suite_editors/tst_memberoperator/test.py | 5 +++-- 1 file 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 910e4b35c51..99e511049a3 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.")