Commit f8afdf06 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Check for QML runtime errors



Change-Id: I5b5d854a8bbadfbd4076af1cfdd3e356d763da29
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 7f4ce089
......@@ -83,7 +83,9 @@ def main():
if result == None:
checkCompile()
else:
logApplicationOutput()
appOutput = logApplicationOutput()
test.verify(not ("main.qml" in appOutput or "MainForm.ui.qml" in appOutput),
"Does the Application Output indicate QML errors?")
invokeMenuItem("File", "Close All Projects and Editors")
invokeMenuItem("File", "Exit")
......
......@@ -76,6 +76,8 @@ def main():
if result == None:
checkCompile()
else:
logApplicationOutput()
appOutput = logApplicationOutput()
test.verify(not ("untitled.qml" in appOutput or "MainForm.ui.qml" in appOutput),
"Does the Application Output indicate QML errors?")
invokeMenuItem("File", "Close All Projects and Editors")
invokeMenuItem("File", "Exit")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment