forked from qt-creator/qt-creator
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:
@@ -30,7 +30,6 @@
|
|||||||
#include "testsettings.h"
|
#include "testsettings.h"
|
||||||
|
|
||||||
#include <coreplugin/editormanager/editormanager.h>
|
#include <coreplugin/editormanager/editormanager.h>
|
||||||
#include <coreplugin/messagemanager.h>
|
|
||||||
#include <coreplugin/progressmanager/futureprogress.h>
|
#include <coreplugin/progressmanager/futureprogress.h>
|
||||||
#include <coreplugin/progressmanager/progressmanager.h>
|
#include <coreplugin/progressmanager/progressmanager.h>
|
||||||
#include <cpptools/cpptoolsconstants.h>
|
#include <cpptools/cpptoolsconstants.h>
|
||||||
@@ -366,16 +365,7 @@ void TestCodeParser::scanForTests(const QStringList &fileList, const QList<Core:
|
|||||||
m_model->markForRemoval(filePath);
|
m_model->markForRemoval(filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (list.isEmpty()) {
|
QTC_ASSERT(!(isFullParse && list.isEmpty()), onFinished(); return);
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
// use only a single parser or all current active?
|
// use only a single parser or all current active?
|
||||||
const QList<ITestParser *> codeParsers
|
const QList<ITestParser *> codeParsers
|
||||||
|
Reference in New Issue
Block a user