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

Method nooptions

test/testcmdlineparser.cpp:554–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552 }
553
554 void nooptions() {
555 REDIRECT;
556 const char * const argv[] = {"cppcheck"};
557 ASSERT_EQUALS_ENUM(CmdLineParser::Result::Exit, parseFromArgs(argv));
558 ASSERT(startsWith(logger->str(), "Cppcheck - A tool for static C/C++ code analysis"));
559 }
560
561 void nooptionsWithCfg() {
562 REDIRECT;

Callers

nothing calls this directly

Calls 2

startsWithFunction · 0.50
strMethod · 0.45

Tested by

no test coverage detected