AutoTest: Remove leftover code and message

This kind of filtering has been removed long ago
and therefore it should be impossible to get triggered.

Change-Id: Ic9ea02b5446edaadda4d7f21846b37a2f8178505
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-09-17 14:59:28 +02:00
parent 42edcc5771
commit a03074e139

View File

@@ -30,7 +30,6 @@
#include "testsettings.h"
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/messagemanager.h>
#include <coreplugin/progressmanager/futureprogress.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <cpptools/cpptoolsconstants.h>
@@ -366,16 +365,7 @@ void TestCodeParser::scanForTests(const QStringList &fileList, const QList<Core:
m_model->markForRemoval(filePath);
}
if (list.isEmpty()) {
if (isFullParse) {
Core::MessageManager::instance()->write(
tr("AutoTest Plugin WARNING: No files left after filtering test scan "
"folders. Check test filter settings."),
Core::MessageManager::Flash);
}
onFinished();
return;
}
QTC_ASSERT(!(isFullParse && list.isEmpty()), onFinished(); return);
// use only a single parser or all current active?
const QList<ITestParser *> codeParsers