diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-03-13 11:05:22 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-03-20 05:49:33 +0000 |
commit | 6dee2dc01920d9f65e1cf31c312bf55bcd69a85b (patch) | |
tree | f5c667f48a0b94639642cbf12632487bb6741a98 /src/plugins/autotest/autotestplugin.cpp | |
parent | 5944c7f0f65ed2aec4dedb904ec834b3d10f88a6 (diff) |
AutoTest: Make automatic popup of results pane configurable
Let the test results pane automatically popup before the
first test result is added to indicate running the tests
has started.
Beside this provide settings for enabling or disabling
the popup of the results pane on start or finish of a
test run and make it possible to limit the automatic
popup on finish to failed test runs.
Change-Id: Ib22735536effd9f2330b39a7d2830c97839eb21f
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/autotestplugin.cpp')
-rw-r--r-- | src/plugins/autotest/autotestplugin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/autotest/autotestplugin.cpp b/src/plugins/autotest/autotestplugin.cpp index 9a513bd2d48..2c367828443 100644 --- a/src/plugins/autotest/autotestplugin.cpp +++ b/src/plugins/autotest/autotestplugin.cpp @@ -349,6 +349,12 @@ void AutotestPlugin::clearChoiceCache() s_instance->m_runconfigCache.clear(); } +void AutotestPlugin::popupResultsPane() +{ + if (s_instance) + s_instance->m_resultsPane->popup(Core::IOutputPane::NoModeSwitch); +} + QList<QObject *> AutotestPlugin::createTestObjects() const { QList<QObject *> tests; |