summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/quick/quicktestparser.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-10-06 15:27:27 +0200
committerChristian Stenger <christian.stenger@qt.io>2020-11-09 08:23:00 +0000
commit24db5dcc4f95a01df6bf396c07ad22fcb56fab6f (patch)
tree4d15393b90221a285b25f596835a731fe7779f38 /src/plugins/autotest/quick/quicktestparser.cpp
parentf9cb69921149c389b8e7bebca34b5ac755b4c6cf (diff)
downloadqt-creator-24db5dcc4f95a01df6bf396c07ad22fcb56fab6f.tar.gz
AutoTest: Use base of framework inside TestTreeItem
...and respectively inside the parse results which hold the information that are used to create the items. Change-Id: I78f7b5632df5d449d39fa03ffbf48036a138e337 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/quick/quicktestparser.cpp')
-rw-r--r--src/plugins/autotest/quick/quicktestparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/autotest/quick/quicktestparser.cpp b/src/plugins/autotest/quick/quicktestparser.cpp
index 1c481a2857..e3c185ed63 100644
--- a/src/plugins/autotest/quick/quicktestparser.cpp
+++ b/src/plugins/autotest/quick/quicktestparser.cpp
@@ -24,6 +24,7 @@
****************************************************************************/
#include "quicktestparser.h"
+#include "quicktestframework.h"
#include "quicktesttreeitem.h"
#include "quicktestvisitors.h"
#include "quicktest_utils.h"
@@ -49,7 +50,7 @@ TestTreeItem *QuickTestParseResult::createTestTreeItem() const
if (itemType == TestTreeItem::Root || itemType == TestTreeItem::TestDataTag)
return nullptr;
- QuickTestTreeItem *item = new QuickTestTreeItem(framework, name, fileName, itemType);
+ QuickTestTreeItem *item = new QuickTestTreeItem(base, name, fileName, itemType);
item->setProFile(proFile);
item->setLine(line);
item->setColumn(column);