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

Method addFilter

unittests/catch.hpp:10507–10512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10505 std::string TestSpecParser::subString() const { return m_arg.substr( m_start, m_pos - m_start ); }
10506
10507 void TestSpecParser::addFilter() {
10508 if( !m_currentFilter.m_patterns.empty() ) {
10509 m_testSpec.m_filters.push_back( m_currentFilter );
10510 m_currentFilter = TestSpec::Filter();
10511 }
10512 }
10513
10514 TestSpec parseTestSpec( std::string const& arg ) {
10515 return TestSpecParser( ITagAliasRegistry::get() ).parse( arg ).testSpec();

Callers

nothing calls this directly

Calls 2

FilterClass · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected