AutoTest: Rename IFrameworkSettings to ITestSettings

...and move and rename frameworkSettings() function from
ITestFramework to the new base class.

Change-Id: Iedd883d1ffb9a57a4215a24f66f5422a46060a09
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2020-10-06 14:31:31 +02:00
committed by Oliver Wolff
parent 5cc7fc6a2d
commit f9cb699211
27 changed files with 57 additions and 57 deletions

View File

@@ -41,7 +41,7 @@ QString BoostTestSettings::name() const
return QString("BoostTest");
}
void BoostTestSettings::fromFrameworkSettings(const QSettings *s)
void BoostTestSettings::fromTestSettings(const QSettings *s)
{
logLevel = LogLevel((s->value(logLevelKey, int(LogLevel::All)).toInt()));
@@ -53,7 +53,7 @@ void BoostTestSettings::fromFrameworkSettings(const QSettings *s)
seed = s->value(seedKey, 0).toInt();
}
void BoostTestSettings::toFrameworkSettings(QSettings *s) const
void BoostTestSettings::toTestSettings(QSettings *s) const
{
s->setValue(logLevelKey, int(logLevel));
s->setValue(reportLevelKey, int(reportLevel));