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
@@ -26,7 +26,7 @@
|
||||
#include "testframeworkmanager.h"
|
||||
#include "autotestconstants.h"
|
||||
#include "autotestplugin.h"
|
||||
#include "iframeworksettings.h"
|
||||
#include "itestsettings.h"
|
||||
#include "testsettings.h"
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
@@ -87,7 +87,7 @@ void TestFrameworkManager::synchronizeSettings(QSettings *s)
|
||||
{
|
||||
Internal::AutotestPlugin::settings()->fromSettings(s);
|
||||
for (ITestFramework *framework : qAsConst(m_registeredFrameworks)) {
|
||||
if (IFrameworkSettings *fSettings = framework->frameworkSettings())
|
||||
if (ITestSettings *fSettings = framework->testSettings())
|
||||
fSettings->fromSettings(s);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user