MCPcopy Create free account
hub / github.com/cpputest/cpputest / addExcludeNameFilter

Method addExcludeNameFilter

src/CppUTest/CommandLineArguments.cpp:311–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void CommandLineArguments::addExcludeNameFilter(int ac, const char *const *av, int& index)
312{
313 TestFilter* nameFilter = new TestFilter(getParameterField(ac, av, index, "-xn"));
314 nameFilter->invertMatching();
315 nameFilters_= nameFilter->add(nameFilters_);
316}
317
318void CommandLineArguments::addExcludeStrictNameFilter(int ac, const char *const *av, int& index)
319{

Callers

nothing calls this directly

Calls 2

invertMatchingMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected