forked from qt-creator/qt-creator
AutoTest: Unify framework and tool naming
Use the same name for the test framework or tool across Qt Creator. Change-Id: I3116644ab03cc46c2e9d7e8aa3b8af8a5386dba4 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -41,7 +41,7 @@ ITestParser *QuickTestFramework::createTestParser()
|
||||
|
||||
ITestTreeItem *QuickTestFramework::createRootNode()
|
||||
{
|
||||
return new QuickTestTreeItem(this, QCoreApplication::translate("QuickTestFramework", "Quick Test"),
|
||||
return new QuickTestTreeItem(this, displayName(),
|
||||
Utils::FilePath(), ITestTreeItem::Root);
|
||||
}
|
||||
|
||||
@@ -50,6 +50,11 @@ const char *QuickTestFramework::name() const
|
||||
return QuickTest::Constants::FRAMEWORK_NAME;
|
||||
}
|
||||
|
||||
QString QuickTestFramework::displayName() const
|
||||
{
|
||||
return QCoreApplication::translate("QuickTestFramework", "Quick Test");
|
||||
}
|
||||
|
||||
unsigned QuickTestFramework::priority() const
|
||||
{
|
||||
return 5;
|
||||
|
||||
@@ -43,6 +43,7 @@ class QuickTestFramework : public ITestFramework
|
||||
public:
|
||||
QuickTestFramework() : ITestFramework(true) {}
|
||||
const char *name() const override;
|
||||
QString displayName() const override;
|
||||
unsigned priority() const override;
|
||||
ITestSettings *testSettings() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user