| 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(); |