forked from qt-creator/qt-creator
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:
committed by
Oliver Wolff
parent
5cc7fc6a2d
commit
f9cb699211
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user