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

Method help

test/testoptions.cpp:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void help() const {
102 const char* argv[] = {"./test_runner", "TestClass::TestMethod", "-h"};
103 options args(getArrayLength(argv), argv);
104 ASSERT_EQUALS(true, args.help());
105 ASSERT(args.errors().empty());
106 }
107
108
109 void help_long() const {

Callers 2

defaultsMethod · 0.45
help_longMethod · 0.45

Calls 2

getArrayLengthFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected