AutoTest: Merge settings and tools hierarchies [1/2]

Currently living in the settings files to keep changes small,
will be renamed in a second step.

This allows the settings aspects to be used in their short form
and overall removes some indirections.

Change-Id: I099369b62239aed8192613a04bca958a660c36c7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2023-07-11 12:40:08 +02:00
parent 345c946255
commit 14e18fc92f
37 changed files with 489 additions and 567 deletions

View File

@@ -356,8 +356,8 @@ void QuickTestParser::init(const QSet<FilePath> &filesToParse, bool fullParse)
m_mainCppFiles.clear();
}
auto qtSettings = static_cast<QtTestSettings *>(framework()->testSettings());
m_checkForDerivedTests = qtSettings->quickCheckForDerivedTests.value();
QtTestFramework &qtSettings = *static_cast<QtTestFramework *>(framework());
m_checkForDerivedTests = qtSettings.quickCheckForDerivedTests();
CppParser::init(filesToParse, fullParse);
}