forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user