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

Method doc

test/testcmdlineparser.cpp:2191–2196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2189 }
2190
2191 void doc() {
2192 REDIRECT;
2193 const char * const argv[] = {"cppcheck", "--doc"};
2194 ASSERT_EQUALS_ENUM(CmdLineParser::Result::Exit, parseFromArgs(argv));
2195 ASSERT(startsWith(logger->str(), "## "));
2196 }
2197
2198 void docExclusive() {
2199 REDIRECT;

Callers

nothing calls this directly

Calls 2

startsWithFunction · 0.50
strMethod · 0.45

Tested by

no test coverage detected