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

Method helplong

test/testcmdlineparser.cpp:616–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614 }
615
616 void helplong() {
617 REDIRECT;
618 const char * const argv[] = {"cppcheck", "--help"};
619 ASSERT_EQUALS_ENUM(CmdLineParser::Result::Exit, parseFromArgs(argv));
620 ASSERT(startsWith(logger->str(), "Cppcheck - A tool for static C/C++ code analysis"));
621 }
622
623 void helplongExclusive() {
624 REDIRECT;

Callers

nothing calls this directly

Calls 2

startsWithFunction · 0.50
strMethod · 0.45

Tested by

no test coverage detected