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

Method match

src/CppUTest/TestFilter.cpp:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66bool TestFilter::match(const SimpleString& name) const
67{
68 bool matches = false;
69
70 if(strictMatching_)
71 matches = name == filter_;
72 else
73 matches = name.contains(filter_);
74
75 return invertMatching_ ? !matches : matches;
76}
77
78bool TestFilter::operator==(const TestFilter& filter) const
79{

Callers

nothing calls this directly

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected