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

Method NamePattern

unittests/catch.hpp:10401–10403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10399 TestSpec::ExcludedPattern::~ExcludedPattern() = default;
10400
10401 TestSpec::NamePattern::NamePattern( std::string const& name )
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 }

Callers

nothing calls this directly

Calls 1

toLowerFunction · 0.85

Tested by

no test coverage detected