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

Method dry_run

test/testoptions.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 }
157
158 void dry_run() const {
159 const char* argv[] = {"./test_runner", "TestClass::TestMethod", "-d"};
160 options args(getArrayLength(argv), argv);
161 ASSERT_EQUALS(true, args.dry_run());
162 ASSERT(args.errors().empty());
163 }
164
165 void exclude_tests() const {
166 const char* argv[] = {"./test_runner", "TestClass::TestMethod", "-x"};

Callers 1

defaultsMethod · 0.45

Calls 2

getArrayLengthFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected