summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/testcodeparser.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-09-17 14:59:28 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-09-17 13:09:14 +0000
commita03074e13977bd14c2e67b51ca0026d258ea942a (patch)
treed3fcfa7c04d1ebdc50a43c625aaaf216478ad243 /src/plugins/autotest/testcodeparser.cpp
parent42edcc5771e60c812f0eb1832094f0806b224acb (diff)
downloadqt-creator-a03074e13977bd14c2e67b51ca0026d258ea942a.tar.gz
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>
Diffstat (limited to 'src/plugins/autotest/testcodeparser.cpp')
-rw-r--r--src/plugins/autotest/testcodeparser.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp
index a4b4740756..f76d1997d2 100644
--- a/src/plugins/autotest/testcodeparser.cpp
+++ b/src/plugins/autotest/testcodeparser.cpp
@@ -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