Squish: Improve tst_default_settings

Change-Id: I6aebbf300e9e86729c0b00bee3bb9b6d4bf87854
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-03-16 13:27:35 +01:00
committed by Robert Loehning
parent 9975fe431a
commit 693e1b7227

View File

@@ -144,7 +144,10 @@ def __kitFunc__(it, foundQt, foundCompNames):
test.compare(it, "Desktop (default)", "Verifying whether default Desktop kit has been created.")
if foundQt:
test.compare(qtVersionStr, foundQt, "Verifying if Qt versions match.")
compilerCombo = waitForObject(":Compiler:_QComboBox")
compilerCombo = findObject(":Compiler:_QComboBox")
test.compare(compilerCombo.enabled, compilerCombo.count > 1,
"Verifying whether compiler combo is enabled/disabled correctly.")
test.verify(str(compilerCombo.currentText) in foundCompNames,
"Verifying if one of the found compilers had been set.")
if currentSelectedTreeItem: