aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/quick/quicktestframework.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/autotest/quick/quicktestframework.cpp')
-rw-r--r--src/plugins/autotest/quick/quicktestframework.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/autotest/quick/quicktestframework.cpp b/src/plugins/autotest/quick/quicktestframework.cpp
index fc6b1e34d11..50d46c7e1e4 100644
--- a/src/plugins/autotest/quick/quicktestframework.cpp
+++ b/src/plugins/autotest/quick/quicktestframework.cpp
@@ -27,6 +27,9 @@
#include "quicktestparser.h"
#include "quicktesttreeitem.h"
+#include "../testframeworkmanager.h"
+#include "../qtest/qttestconstants.h"
+
namespace Autotest {
namespace Internal {
@@ -51,5 +54,13 @@ unsigned QuickTestFramework::priority() const
return 5;
}
+IFrameworkSettings *QuickTestFramework::frameworkSettings()
+{
+ static const Core::Id id
+ = Core::Id(Constants::FRAMEWORK_PREFIX).withSuffix(QtTest::Constants::FRAMEWORK_NAME);
+ ITestFramework *qtTestFramework = TestFrameworkManager::frameworkForId(id);
+ return qtTestFramework->frameworkSettings();
+}
+
} // namespace Internal
} // namespace Autotest