forked from qt-creator/qt-creator
Squish: Improve tst_default_settings
Change-Id: I6aebbf300e9e86729c0b00bee3bb9b6d4bf87854 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
This commit is contained in:
committed by
Robert Loehning
parent
9975fe431a
commit
693e1b7227
@@ -144,7 +144,10 @@ def __kitFunc__(it, foundQt, foundCompNames):
|
|||||||
test.compare(it, "Desktop (default)", "Verifying whether default Desktop kit has been created.")
|
test.compare(it, "Desktop (default)", "Verifying whether default Desktop kit has been created.")
|
||||||
if foundQt:
|
if foundQt:
|
||||||
test.compare(qtVersionStr, foundQt, "Verifying if Qt versions match.")
|
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,
|
test.verify(str(compilerCombo.currentText) in foundCompNames,
|
||||||
"Verifying if one of the found compilers had been set.")
|
"Verifying if one of the found compilers had been set.")
|
||||||
if currentSelectedTreeItem:
|
if currentSelectedTreeItem:
|
||||||
|
Reference in New Issue
Block a user