diff options
author | Christian Stenger <christian.stenger@qt.io> | 2016-06-15 12:29:24 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2016-06-22 10:51:12 +0000 |
commit | 5988fd0f5cae56999aa389405e1fa3e0394962ed (patch) | |
tree | 69725b2cc3e3f6f2cafadb468f1ba9c4af42af43 /src/plugins/autotest/autotestplugin.cpp | |
parent | 0e923c2a757ada234e316641a0732f93dfab6271 (diff) |
AutoTest: Add minimum support for debugging tests
This adds another context menu entry for items on the test tree
to allow debugging of a single test.
Task-number: QTCREATORBUG-16070
Change-Id: I98f56b0f22c94ad71f0b91d690383043ed27f1c7
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/autotest/autotestplugin.cpp')
-rw-r--r-- | src/plugins/autotest/autotestplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotest/autotestplugin.cpp b/src/plugins/autotest/autotestplugin.cpp index 9e053f1b09..05764ab3c2 100644 --- a/src/plugins/autotest/autotestplugin.cpp +++ b/src/plugins/autotest/autotestplugin.cpp @@ -162,7 +162,7 @@ void AutotestPlugin::onRunAllTriggered() TestRunner *runner = TestRunner::instance(); TestTreeModel *model = TestTreeModel::instance(); runner->setSelectedTests(model->getAllTestCases()); - runner->prepareToRunTests(); + runner->prepareToRunTests(TestRunner::Run); } void AutotestPlugin::onRunSelectedTriggered() @@ -170,7 +170,7 @@ void AutotestPlugin::onRunSelectedTriggered() TestRunner *runner = TestRunner::instance(); TestTreeModel *model = TestTreeModel::instance(); runner->setSelectedTests(model->getSelectedTests()); - runner->prepareToRunTests(); + runner->prepareToRunTests(TestRunner::Run); } void AutotestPlugin::updateMenuItemsEnabledState() |