forked from qt-creator/qt-creator
AutoTest: Move function into framework related class
TestTreeModel::testCaseNamesForFiles() is a helper that is currently needed only for handling the Qt test framework. Move it down into Qt framework's helper class and make it static. Change-Id: I03c377a76402593584870cbbdaa4621d19278443 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -234,7 +234,7 @@ static bool handleQtTest(QFutureInterface<TestParseResultPtr> futureInterface,
|
||||
|
||||
void QtTestParser::init(const QStringList &filesToParse)
|
||||
{
|
||||
m_testCaseNames = TestTreeModel::instance()->testCaseNamesForFiles(id(), filesToParse);
|
||||
m_testCaseNames = QTestUtils::testCaseNamesForFiles(id(), filesToParse);
|
||||
CppParser::init(filesToParse);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user