| 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; |
nothing calls this directly
no test coverage detected