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

Method enabledInternal

test/testcmdlineparser.cpp:1097–1103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095
1096#ifdef CHECK_INTERNAL
1097 void enabledInternal() {
1098 REDIRECT;
1099 const char * const argv[] = {"cppcheck", "--enable=internal", "file.cpp"};
1100 ASSERT_EQUALS_ENUM(CmdLineParser::Result::Success, parseFromArgs(argv));
1101 ASSERT(settings->severity.isEnabled(Severity::error));
1102 ASSERT(settings->checks.isEnabled(Checks::internalCheck));
1103 }
1104#endif
1105
1106 void enabledMultiple() {

Callers

nothing calls this directly

Calls 1

isEnabledMethod · 0.45

Tested by

no test coverage detected