AutoTest: Use TestResult as value type

Don't construct it on heap and don't use shared pointer for it.

Change-Id: I51c9da405ed14d24b5f20242b4d049f9e2958f09
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2023-01-14 16:25:51 +01:00
parent 3ff5661327
commit d05c5b7d07
54 changed files with 396 additions and 437 deletions

View File

@@ -27,8 +27,8 @@ public:
Q_DECLARE_FLAGS(TestStates, TestState)
explicit BoostTestTreeItem(ITestFramework *framework,
const QString &name = QString(),
const Utils::FilePath &filePath = Utils::FilePath(),
const QString &name = {},
const Utils::FilePath &filePath = {},
Type type = Root)
: TestTreeItem(framework, name, filePath, type)
{}