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

@@ -50,7 +50,7 @@ QString CatchTestSettings::name() const
return QString("Catch2");
}
void CatchTestSettings::toFrameworkSettings(QSettings *s) const
void CatchTestSettings::toTestSettings(QSettings *s) const
{
s->setValue(abortAfterCheckedKey, abortAfterChecked);
s->setValue(abortAfterKey, abortAfter);
@@ -70,7 +70,7 @@ void CatchTestSettings::toFrameworkSettings(QSettings *s) const
s->setValue(warnOnEmptyKey, warnOnEmpty);
}
void CatchTestSettings::fromFrameworkSettings(const QSettings *s)
void CatchTestSettings::fromTestSettings(const QSettings *s)
{
abortAfterChecked = s->value(abortAfterCheckedKey, false).toBool();
abortAfter = s->value(abortAfterKey, 0).toInt();