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

Method addStrictNameFilter

src/CppUTest/CommandLineArguments.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304void CommandLineArguments::addStrictNameFilter(int ac, const char *const *av, int& index)
305{
306 TestFilter* nameFilter = new TestFilter(getParameterField(ac, av, index, "-sn"));
307 nameFilter->strictMatching();
308 nameFilters_= nameFilter->add(nameFilters_);
309}
310
311void CommandLineArguments::addExcludeNameFilter(int ac, const char *const *av, int& index)
312{

Callers

nothing calls this directly

Calls 2

strictMatchingMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected