forked from qt-creator/qt-creator
AutoTest: Tie framework settings explicitly to ITestFramework instance
This leaves no doubts regarding lifetime and type. Change-Id: I1fdd60427a469f32236ea0fa923ec9fa308c338e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
|
||||
#include "boosttestframework.h"
|
||||
#include "boosttestconstants.h"
|
||||
#include "boosttestsettings.h"
|
||||
#include "boosttestsettingspage.h"
|
||||
#include "boosttesttreeitem.h"
|
||||
#include "boosttestparser.h"
|
||||
#include "../testframeworkmanager.h"
|
||||
@@ -57,20 +55,5 @@ unsigned BoostTestFramework::priority() const
|
||||
return BoostTest::Constants::FRAMEWORK_PRIORITY;
|
||||
}
|
||||
|
||||
IFrameworkSettings *BoostTestFramework::createFrameworkSettings() const
|
||||
{
|
||||
return new BoostTestSettings;
|
||||
}
|
||||
|
||||
Core::IOptionsPage *BoostTestFramework::createSettingsPage(QSharedPointer<IFrameworkSettings> settings) const
|
||||
{
|
||||
return new BoostTestSettingsPage(settings, settingsId());
|
||||
}
|
||||
|
||||
bool BoostTestFramework::hasFrameworkSettings() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Autotest
|
||||
|
||||
Reference in New Issue
Block a user