summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/testcodeparser.cpp
diff options
context:
space:
mode:
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