diff options
Diffstat (limited to 'src/plugins/autotest/boost/boosttestframework.cpp')
-rw-r--r-- | src/plugins/autotest/boost/boosttestframework.cpp | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/src/plugins/autotest/boost/boosttestframework.cpp b/src/plugins/autotest/boost/boosttestframework.cpp index d54881540a..a1448e33cc 100644 --- a/src/plugins/autotest/boost/boosttestframework.cpp +++ b/src/plugins/autotest/boost/boosttestframework.cpp @@ -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" @@ -34,14 +32,15 @@ namespace Autotest { namespace Internal { -ITestParser *BoostTestFramework::createTestParser() const +ITestParser *BoostTestFramework::createTestParser() { - return new BoostTestParser; + return new BoostTestParser(this); } -TestTreeItem *BoostTestFramework::createRootNode() const +TestTreeItem *BoostTestFramework::createRootNode() { return new BoostTestTreeItem( + this, QCoreApplication::translate("BoostTestFramework", BoostTest::Constants::FRAMEWORK_SETTINGS_CATEGORY), QString(), TestTreeItem::Root); @@ -57,20 +56,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 |