forked from qt-creator/qt-creator
Autotest: Add more "without deployment" actions
When debugging tests, if there was no change in code, user should be able to just rerun tests of his choice. However, currently there are not so many options to just rerun tests without the build. This patch adds more options to run tests without deployment, which can speed up development in some environments Change-Id: I9f998fee90f2e61a1623bd0840a9d5ddf8eb58d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -176,6 +176,8 @@ void TestNavigationWidget::contextMenuEvent(QContextMenuEvent *event)
|
||||
|
||||
QAction *runAll = Core::ActionManager::command(Constants::ACTION_RUN_ALL_ID)->action();
|
||||
QAction *runSelected = Core::ActionManager::command(Constants::ACTION_RUN_SELECTED_ID)->action();
|
||||
QAction *runAllNoDeploy = Core::ActionManager::command(Constants::ACTION_RUN_ALL_NODEPLOY_ID)->action();
|
||||
QAction *runSelectedNoDeploy = Core::ActionManager::command(Constants::ACTION_RUN_SELECTED_NODEPLOY_ID)->action();
|
||||
QAction *selectAll = new QAction(tr("Select All"), &menu);
|
||||
QAction *deselectAll = new QAction(tr("Deselect All"), &menu);
|
||||
// TODO remove?
|
||||
@@ -196,7 +198,9 @@ void TestNavigationWidget::contextMenuEvent(QContextMenuEvent *event)
|
||||
menu.addSeparator();
|
||||
|
||||
menu.addAction(runAll);
|
||||
menu.addAction(runAllNoDeploy);
|
||||
menu.addAction(runSelected);
|
||||
menu.addAction(runSelectedNoDeploy);
|
||||
menu.addSeparator();
|
||||
menu.addAction(selectAll);
|
||||
menu.addAction(deselectAll);
|
||||
|
||||
Reference in New Issue
Block a user