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

Method which_test

test/testoptions.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52 void which_test() const {
53 const char* argv[] = {"./test_runner", "TestClass"};
54 options args(getArrayLength(argv), argv);
55 const std::map<std::string, std::set<std::string>> expected{
56 { "TestClass", {} }
57 };
58 ASSERT(expected == args.which_tests());
59 ASSERT(args.errors().empty());
60 }
61
62
63 void which_test_method() const {

Callers

nothing calls this directly

Calls 2

getArrayLengthFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected