forked from qt-creator/qt-creator
Squish: Adapt test to changed behavior
41d68f469a
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>
This commit is contained in:
committed by
Robert Loehning
parent
d0e4f657c9
commit
b382d83fab
@@ -77,8 +77,9 @@ def main():
|
|||||||
proposalToolTips)
|
proposalToolTips)
|
||||||
correction = testData.field(record, "correction")
|
correction = testData.field(record, "correction")
|
||||||
if correction == 'all':
|
if correction == 'all':
|
||||||
test.compare(len(needCorrection), len(proposalToolTips),
|
__verifyLineUnderCursor__(cppwindow, record)
|
||||||
"Verifying whether all proposal need correction.")
|
test.compare(len(needCorrection), 0,
|
||||||
|
"Verifying whether operator has been already corrected.")
|
||||||
elif correction == 'mixed':
|
elif correction == 'mixed':
|
||||||
test.verify(len(proposalToolTips) > len(needCorrection) > 0,
|
test.verify(len(proposalToolTips) > len(needCorrection) > 0,
|
||||||
"Verifying whether some of the proposals need correction.")
|
"Verifying whether some of the proposals need correction.")
|
||||||
|
Reference in New Issue
Block a user