MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / NamePattern

Method NamePattern

extlibs/catch/include/catch/catch.hpp:13997–14000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13995 }
13996
13997 TestSpec::NamePattern::NamePattern( std::string const& name, std::string const& filterString )
13998 : Pattern( filterString )
13999 , m_wildcardPattern( toLower( name ), CaseSensitive::No )
14000 {}
14001
14002 bool TestSpec::NamePattern::matches( TestCaseInfo const& testCase ) const {
14003 return m_wildcardPattern.matches( toLower( testCase.name ) );

Callers

nothing calls this directly

Calls 1

toLowerFunction · 0.85

Tested by

no test coverage detected