Squish: Check for QML runtime errors

Change-Id: I5b5d854a8bbadfbd4076af1cfdd3e356d763da29
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Robert Loehning
2015-07-09 16:43:14 +02:00
parent 7f4ce089d3
commit f8afdf06bb
2 changed files with 6 additions and 2 deletions

View File

@@ -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")

View File

@@ -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")