diff options
author | Robert Loehning <robert.loehning@nokia.com> | 2011-11-07 21:35:30 +0100 |
---|---|---|
committer | Robert Löhning <robert.loehning@nokia.com> | 2011-11-08 10:47:19 +0100 |
commit | c79d8b32b4b0a490fce1fcd1c1f56242df4226d1 (patch) | |
tree | e1a3a0e3b04280517d303adba6a6ccf8ab714e00 /tests/system/suite_debugger/tst_build_new_project | |
parent | 28668eea867a4006cc09140994e8c4ffa46df32c (diff) |
Squish: Some more reuse of code
Change-Id: I3d4e7c0b9d8afc31fb5cfa2bc7879ea999129158
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Diffstat (limited to 'tests/system/suite_debugger/tst_build_new_project')
-rw-r--r-- | tests/system/suite_debugger/tst_build_new_project/test.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/system/suite_debugger/tst_build_new_project/test.py b/tests/system/suite_debugger/tst_build_new_project/test.py index 2da3f55574..5673f1669b 100644 --- a/tests/system/suite_debugger/tst_build_new_project/test.py +++ b/tests/system/suite_debugger/tst_build_new_project/test.py @@ -6,13 +6,7 @@ project = "SquishProject" def main(): startApplication("qtcreator" + SettingsPath) createProject_Qt_GUI(projectsPath, project, defaultQtVersion, True) - clickButton(verifyEnabled(":*Qt Creator.Run_Core::Internal::FancyToolButton")) - waitForSignal("{type='ProjectExplorer::BuildManager' unnamed='1'}", "buildQueueFinished(bool)") - playButton = verifyEnabled(":Qt Creator.ReRun_QToolButton", False) - stopButton = verifyEnabled(":Qt Creator.Stop_QToolButton") - clickButton(stopButton) - test.verify(playButton.enabled) - test.compare(stopButton.enabled, False) + runAndCloseApp() sendEvent("QCloseEvent", waitForObject(":Qt Creator_Core::Internal::MainWindow")) waitForCleanShutdown() |