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

Method checkHeaders

test/testcmdlineparser.cpp:3289–3294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3287 }
3288
3289 void checkHeaders() {
3290 REDIRECT;
3291 const char * const argv[] = {"cppcheck", "--check-headers", "file.cpp"};
3292 ASSERT_EQUALS_ENUM(CmdLineParser::Result::Success, parseFromArgs(argv));
3293 ASSERT_EQUALS(true, settings->checkHeaders);
3294 }
3295
3296 void noCheckHeaders() {
3297 REDIRECT;

Callers 1

checkHdrs_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected