diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-01-14 16:25:51 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-01-27 09:51:34 +0000 |
commit | d05c5b7d07194b7c0fe938e88e63cfaab9ee5f4d (patch) | |
tree | 7ef9f04c28d92eae6b5d954fb98becfad7ca5809 /src/plugins/autotest/quick/quicktestframework.cpp | |
parent | 3ff5661327f5c9df2c60eecefc3ebe178fe79f0d (diff) | |
download | qt-creator-d05c5b7d07194b7c0fe938e88e63cfaab9ee5f4d.tar.gz |
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>
Diffstat (limited to 'src/plugins/autotest/quick/quicktestframework.cpp')
-rw-r--r-- | src/plugins/autotest/quick/quicktestframework.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/autotest/quick/quicktestframework.cpp b/src/plugins/autotest/quick/quicktestframework.cpp index b68eebe87d..a8289ad48e 100644 --- a/src/plugins/autotest/quick/quicktestframework.cpp +++ b/src/plugins/autotest/quick/quicktestframework.cpp @@ -20,8 +20,7 @@ ITestParser *QuickTestFramework::createTestParser() ITestTreeItem *QuickTestFramework::createRootNode() { - return new QuickTestTreeItem(this, displayName(), - Utils::FilePath(), ITestTreeItem::Root); + return new QuickTestTreeItem(this, displayName(), {}, ITestTreeItem::Root); } const char *QuickTestFramework::name() const |