forked from qt-creator/qt-creator
AutoTest: Allow framework specific tool tip on settings
The grouping checkbox enables grouping, but frameworks can have more grouping modes than the default implementation. Allow frameworks to provide its own tool tip for the checkbox on the general settings page. Change-Id: I0515e542284491a669ef33820104a32074ecf885 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -194,6 +194,13 @@ void TestFrameworkManager::setGroupingEnabledFor(const Core::Id &frameworkId, bo
|
||||
framework->setGrouping(enabled);
|
||||
}
|
||||
|
||||
QString TestFrameworkManager::groupingToolTip(const Core::Id &frameworkId) const
|
||||
{
|
||||
if (ITestFramework *framework = m_registeredFrameworks.value(frameworkId))
|
||||
return framework->groupingToolTip();
|
||||
return QString();
|
||||
}
|
||||
|
||||
bool TestFrameworkManager::hasActiveFrameworks() const
|
||||
{
|
||||
for (ITestFramework *framework : m_registeredFrameworks.values()) {
|
||||
|
||||
Reference in New Issue
Block a user