AutoTest: Reuse TaskTreeRunner for test scanner

Change-Id: I19db6d28c9d68e1394f089b7a58640db153cd7e9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Jarek Kobus
2024-01-13 14:09:16 +01:00
parent 0082cda044
commit 33fbcf992d
2 changed files with 19 additions and 17 deletions

View File

@@ -7,6 +7,8 @@
#include <qmljs/qmljsdocument.h>
#include <solutions/tasking/tasktreerunner.h>
#include <utils/futuresynchronizer.h>
#include <utils/id.h>
@@ -18,7 +20,6 @@ class QThreadPool;
QT_END_NAMESPACE
namespace ProjectExplorer { class Project; }
namespace Tasking { class TaskTree; }
namespace Autotest {
namespace Internal {
@@ -96,7 +97,8 @@ private:
QTimer m_reparseTimer;
QSet<ITestParser *> m_updateParsers;
Utils::FutureSynchronizer m_futureSynchronizer;
std::unique_ptr<Tasking::TaskTree> m_taskTree;
Tasking::TaskTreeRunner m_taskTreeRunner;
bool m_withTaskProgress = false;
QHash<Utils::FilePath, int> m_qmlEditorRev;
QElapsedTimer m_parsingTimer;