aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2019-07-17 21:31:06 +0200
committerRobert Loehning <robert.loehning@qt.io>2019-07-29 10:16:33 +0000
commit1ac892766593664e807a7fb96c7610814a781cb9 (patch)
treea77060b996614edadf3aa67c612dcd7c83c0fd5d /tests
parent2ad475a4f57ce2b7af9f1f31be4f852113cdd0a3 (diff)
Squish: Update tst_openqt_creator
Change-Id: I2fed662652f7f8f5cbe4b281bdde5791ea57e2d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/suite_general/tst_openqt_creator/test.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/system/suite_general/tst_openqt_creator/test.py b/tests/system/suite_general/tst_openqt_creator/test.py
index d615d7d85f..230549ecc8 100644
--- a/tests/system/suite_general/tst_openqt_creator/test.py
+++ b/tests/system/suite_general/tst_openqt_creator/test.py
@@ -62,12 +62,10 @@ def main():
if not test.verify(object.exists(":Qt Creator_Core::OutputWindow"),
"Did the General Messages view show up?"):
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)
- test.compare(generalMessages.count("Project MESSAGE: Cannot build Qt Creator with Qt version 5.6.1."), 1,
- "Warning about outdated Qt 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)?")
+ test.compare(generalMessages.count('Cannot parse project "qtcreator": No kit selected.'), 1,
+ 'Warning about missing kit selection shown?')
# Verify that qmljs.g is in the project even when we don't know where (QTCREATORBUG-17609)
selectFromLocator("p qmljs.g", "qmljs.g")