File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -82,14 +82,22 @@ class TestCppcheck : public TestFixture {
8282 // Check for error ids from this class.
8383 bool foundPurgedConfiguration = false ;
8484 bool foundTooManyConfigs = false ;
85+ bool foundMissingInclude = false ; // #11984
86+ bool foundMissingIncludeSystem = false ; // #11984
8587 for (const std::string & it : errorLogger.ids ) {
8688 if (it == " purgedConfiguration" )
8789 foundPurgedConfiguration = true ;
8890 else if (it == " toomanyconfigs" )
8991 foundTooManyConfigs = true ;
92+ else if (it == " missingInclude" )
93+ foundMissingInclude = true ;
94+ else if (it == " missingIncludeSystem" )
95+ foundMissingIncludeSystem = true ;
9096 }
9197 ASSERT (foundPurgedConfiguration);
9298 ASSERT (foundTooManyConfigs);
99+ ASSERT (foundMissingInclude);
100+ ASSERT (foundMissingIncludeSystem);
93101 }
94102
95103 void checkWithFile () const
You can’t perform that action at this time.
0 commit comments