forked from qt-creator/qt-creator
AutoTest: Merge settings and tools hierarchies [1/2]
Currently living in the settings files to keep changes small, will be renamed in a second step. This allows the settings aspects to be used in their short form and overall removes some indirections. Change-Id: I099369b62239aed8192613a04bca958a660c36c7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -17,12 +17,6 @@ ITestBase::ITestBase(bool activeByDefault, const ITestBase::TestBaseType type)
|
||||
, m_type(type)
|
||||
{}
|
||||
|
||||
Id ITestBase::settingsId() const
|
||||
{
|
||||
return Id(Constants::SETTINGSPAGE_PREFIX)
|
||||
.withSuffix(QString("%1.%2").arg(priority()).arg(QLatin1String(name())));
|
||||
}
|
||||
|
||||
Id ITestBase::id() const
|
||||
{
|
||||
return Id(Constants::FRAMEWORK_PREFIX).withSuffix(name());
|
||||
@@ -41,7 +35,9 @@ void ITestBase::resetRootNode()
|
||||
|
||||
ITestFramework::ITestFramework(bool activeByDefault)
|
||||
: ITestBase(activeByDefault, ITestBase::Framework)
|
||||
{}
|
||||
{
|
||||
setAutoApply(false);
|
||||
}
|
||||
|
||||
ITestFramework::~ITestFramework()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user