forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include "../testframeworkmanager.h"
|
||||
#include "../testtreeitem.h"
|
||||
|
||||
#include <coreplugin/id.h>
|
||||
#include <utils/id.h>
|
||||
|
||||
#include <QRegularExpression>
|
||||
|
||||
@@ -95,7 +95,7 @@ static QString normalizeTestName(const QString &testname)
|
||||
|
||||
const TestTreeItem *GTestResult::findTestTreeItem() const
|
||||
{
|
||||
auto id = Core::Id(Constants::FRAMEWORK_PREFIX).withSuffix(GTest::Constants::FRAMEWORK_NAME);
|
||||
auto id = Utils::Id(Constants::FRAMEWORK_PREFIX).withSuffix(GTest::Constants::FRAMEWORK_NAME);
|
||||
ITestFramework *framework = TestFrameworkManager::frameworkForId(id);
|
||||
QTC_ASSERT(framework, return nullptr);
|
||||
const TestTreeItem *rootNode = framework->rootNode();
|
||||
|
||||
Reference in New Issue
Block a user