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

Method help_long

test/testoptions.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108
109 void help_long() const {
110 const char* argv[] = {"./test_runner", "TestClass::TestMethod", "--help"};
111 options args(getArrayLength(argv), argv);
112 ASSERT_EQUALS(true, args.help());
113 ASSERT(args.errors().empty());
114 }
115
116 void multiple_testcases() const {
117 const char* argv[] = {"./test_runner", "TestClass::TestMethod", "TestClass::AnotherTestMethod"};

Callers

nothing calls this directly

Calls 3

getArrayLengthFunction · 0.85
helpMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected