MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / emptyUserInclude

Method emptyUserInclude

gui/test/projectfile/testprojectfile.cpp:207–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void TestProjectFile::emptyUserInclude() const
208{
209 ProjectFile projectFile;
210 Settings settings;
211 projectFile.setUserInclude(" ");
212 projectFile.setSettingsUserIncludes(settings);
213 QCOMPARE(settings.userIncludes.size(), 0);
214}
215
216QTEST_MAIN(TestProjectFile)
217

Callers

nothing calls this directly

Calls 3

setUserIncludeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected