diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-03-16 13:27:35 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-03-17 16:59:41 +0000 |
commit | 693e1b72273c7c9ca7e5e4edadbb3337dd65f4ae (patch) | |
tree | 91d9d571eea4160dc8f48ff7a69bc3a64e77765c /tests | |
parent | 9975fe431ac3e1deb0cf7e2581f87faab5e041a3 (diff) | |
download | qt-creator-693e1b72273c7c9ca7e5e4edadbb3337dd65f4ae.tar.gz |
Squish: Improve tst_default_settings
Change-Id: I6aebbf300e9e86729c0b00bee3bb9b6d4bf87854
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/suite_general/tst_default_settings/test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/system/suite_general/tst_default_settings/test.py b/tests/system/suite_general/tst_default_settings/test.py index 8b2551fded..06f033ce32 100644 --- a/tests/system/suite_general/tst_default_settings/test.py +++ b/tests/system/suite_general/tst_default_settings/test.py @@ -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: |