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
|
# invoke QML parsing
|
||||||
invokeMenuItem("Tools", "QML/JS", "Run Checks")
|
invokeMenuItem("Tools", "QML/JS", "Run Checks")
|
||||||
# verify that error properly reported
|
# verify that error properly reported
|
||||||
# internal check returns e.g.'Invalid property name "Color". (M16)'
|
test.verify(checkSyntaxError(issuesView, ['Invalid property name "Color". (M16)'], True),
|
||||||
# but if project is CMake based the messages are generated by qmllint
|
"Verifying if error is properly reported")
|
||||||
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")
|
|
||||||
# repair error - go to written line
|
# repair error - go to written line
|
||||||
placeCursorToLine(editorArea, testingCodeLine)
|
placeCursorToLine(editorArea, testingCodeLine)
|
||||||
for _ in range(14):
|
for _ in range(14):
|
||||||
|
Reference in New Issue
Block a user