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
@@ -57,7 +57,7 @@ QString QtTestSettings::name() const
|
||||
return QString("QtTest");
|
||||
}
|
||||
|
||||
void QtTestSettings::fromFrameworkSettings(const QSettings *s)
|
||||
void QtTestSettings::fromTestSettings(const QSettings *s)
|
||||
{
|
||||
metrics = intToMetrics(s->value(metricsKey, Walltime).toInt());
|
||||
noCrashHandler = s->value(noCrashhandlerKey, true).toBool();
|
||||
@@ -66,7 +66,7 @@ void QtTestSettings::fromFrameworkSettings(const QSettings *s)
|
||||
logSignalsSlots = s->value(logSignalsSlotsKey, false).toBool();
|
||||
}
|
||||
|
||||
void QtTestSettings::toFrameworkSettings(QSettings *s) const
|
||||
void QtTestSettings::toTestSettings(QSettings *s) const
|
||||
{
|
||||
s->setValue(metricsKey, metrics);
|
||||
s->setValue(noCrashhandlerKey, noCrashHandler);
|
||||
|
||||
Reference in New Issue
Block a user