forked from qt-creator/qt-creator
Squish: Check for QML runtime errors
Change-Id: I5b5d854a8bbadfbd4076af1cfdd3e356d763da29 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user