MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / matches

Method matches

unittests/catch.hpp:10404–10406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10402 : m_wildcardPattern( toLower( name ), CaseSensitive::No )
10403 {}
10404 bool TestSpec::NamePattern::matches( TestCaseInfo const& testCase ) const {
10405 return m_wildcardPattern.matches( toLower( testCase.name ) );
10406 }
10407
10408 TestSpec::TagPattern::TagPattern( std::string const& tag ) : m_tag( toLower( tag ) ) {}
10409 bool TestSpec::TagPattern::matches( TestCaseInfo const& testCase ) const {

Callers 1

matchTestFunction · 0.80

Calls 4

toLowerFunction · 0.85
endsWithFunction · 0.85
startsWithFunction · 0.85
containsFunction · 0.85

Tested by

no test coverage detected