forked from qt-creator/qt-creator
SquishTests: Revert expected error message in tst_QMLS02
This partially reverts commit3744160c3b
due tof60b641066
which reverted Creator's behavior. Change-Id: Ia241205d12e3742adcb246b94a5fefb174699fd0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -30,12 +30,8 @@ def main():
|
||||
# invoke QML parsing
|
||||
invokeMenuItem("Tools", "QML/JS", "Run Checks")
|
||||
# verify that error properly reported
|
||||
# internal check returns e.g.'Invalid property name "Color". (M16)'
|
||||
# but if project is CMake based the messages are generated by qmllint
|
||||
test.verify(checkSyntaxError(issuesView,
|
||||
['Binding assigned to "Color", but no property "Color" exists in '
|
||||
'the current element.'], False, True),
|
||||
"Verifying if error or warning is properly reported")
|
||||
test.verify(checkSyntaxError(issuesView, ['Invalid property name "Color". (M16)'], True),
|
||||
"Verifying if error is properly reported")
|
||||
# repair error - go to written line
|
||||
placeCursorToLine(editorArea, testingCodeLine)
|
||||
for _ in range(14):
|
||||
|
Reference in New Issue
Block a user