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

Method quiet

test/testoptions.cpp:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 void quiet() const {
95 const char* argv[] = {"./test_runner", "TestClass::TestMethod", "-q"};
96 options args(getArrayLength(argv), argv);
97 ASSERT_EQUALS(true, args.quiet());
98 ASSERT(args.errors().empty());
99 }
100
101 void help() const {
102 const char* argv[] = {"./test_runner", "TestClass::TestMethod", "-h"};

Callers 2

defaultsMethod · 0.45
invalid_switchesMethod · 0.45

Calls 2

getArrayLengthFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected