summaryrefslogtreecommitdiff
path: root/plugins/autotest/testnavigationwidget.h
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-04-16 14:04:36 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-06-24 16:40:34 +0300
commite9b28403273fb2522ecf34164f8f768bbc7c644e (patch)
tree4d371bcc73e6a1770266957c72d91aa9a1ee2fc9 /plugins/autotest/testnavigationwidget.h
parent8260b79458927cff98b4c09f7e0083753effc40d (diff)
downloadqt-creator-e9b28403273fb2522ecf34164f8f768bbc7c644e.tar.gz
Provide 'Run This Test' context menu entry
This menu entry will be added only if current selected test (function) is not an unnamed Quick Test. Otherwise it's now possible to execute a particular test case or just a single test function by using the context menu. This avoids the need of (de)selecting inside the model. Change-Id: I857a3ffe72c72a9dbb06e948045cfe2c7843935d Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/testnavigationwidget.h')
-rw-r--r--plugins/autotest/testnavigationwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/autotest/testnavigationwidget.h b/plugins/autotest/testnavigationwidget.h
index a4b4c6f061..ef28130817 100644
--- a/plugins/autotest/testnavigationwidget.h
+++ b/plugins/autotest/testnavigationwidget.h
@@ -69,6 +69,7 @@ private slots:
private:
void initializeFilterMenu();
+ void onRunThisTestTriggered();
TestTreeModel *m_model;
TestTreeSortFilterModel *m_sortFilterModel;