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

Method no_test_method

test/testoptions.cpp:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73
74 void no_test_method() const {
75 const char* argv[] = {"./test_runner"};
76 options args(getArrayLength(argv), argv);
77 const std::map<std::string, std::set<std::string>> expected{};
78 ASSERT(expected == args.which_tests());
79 ASSERT(args.errors().empty());
80 }
81
82
83 void defaults() const {

Callers

nothing calls this directly

Calls 2

getArrayLengthFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected