Squish: Update tst_openqt_creator

Change-Id: I2fed662652f7f8f5cbe4b281bdde5791ea57e2d7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Loehning
2019-07-17 21:31:06 +02:00
parent 2ad475a4f5
commit 1ac8927665

View File

@@ -62,12 +62,10 @@ def main():
if not test.verify(object.exists(":Qt Creator_Core::OutputWindow"), if not test.verify(object.exists(":Qt Creator_Core::OutputWindow"),
"Did the General Messages view show up?"): "Did the General Messages view show up?"):
openGeneralMessages() openGeneralMessages()
# Verify messages appear once, from using default kit before configuring # Verify message appears once, written before a kit was selected for qtcreator.pro
generalMessages = str(waitForObject(":Qt Creator_Core::OutputWindow").plainText) generalMessages = str(waitForObject(":Qt Creator_Core::OutputWindow").plainText)
test.compare(generalMessages.count("Project MESSAGE: Cannot build Qt Creator with Qt version 5.6.1."), 1, test.compare(generalMessages.count('Cannot parse project "qtcreator": No kit selected.'), 1,
"Warning about outdated Qt shown?") 'Warning about missing kit selection shown?')
test.compare(generalMessages.count("Project ERROR: Use at least Qt 5.9.0."), 1,
"Minimum Qt version shown (once when parsing with default kit, once with selected)?")
# Verify that qmljs.g is in the project even when we don't know where (QTCREATORBUG-17609) # Verify that qmljs.g is in the project even when we don't know where (QTCREATORBUG-17609)
selectFromLocator("p qmljs.g", "qmljs.g") selectFromLocator("p qmljs.g", "qmljs.g")