From a03074e13977bd14c2e67b51ca0026d258ea942a Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 17 Sep 2019 14:59:28 +0200 Subject: 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 --- src/plugins/autotest/testcodeparser.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/plugins/autotest/testcodeparser.cpp') 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 -#include #include #include #include @@ -366,16 +365,7 @@ void TestCodeParser::scanForTests(const QStringList &fileList, const QListmarkForRemoval(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 codeParsers -- cgit v1.2.1