forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "boosttesttreeitem.h"
|
||||
#include "boosttestconstants.h"
|
||||
#include "boosttestconfiguration.h"
|
||||
#include "boosttestframework.h"
|
||||
#include "boosttestparser.h"
|
||||
#include "../testframeworkmanager.h"
|
||||
|
||||
@@ -74,7 +75,7 @@ TestTreeItem *BoostTestTreeItem::find(const TestParseResult *result)
|
||||
|
||||
switch (type()) {
|
||||
case Root:
|
||||
if (result->framework->grouping()) {
|
||||
if (static_cast<BoostTestFramework *>(result->base)->grouping()) {
|
||||
const QFileInfo fileInfo(bResult->fileName);
|
||||
const QFileInfo base(fileInfo.absolutePath());
|
||||
for (int row = 0; row < childCount(); ++row) {
|
||||
|
||||
Reference in New Issue
Block a user