| 12008 | std::string TestSpecParser::subString() const { return m_arg.substr( m_start, m_pos - m_start ); } |
| 12009 | |
| 12010 | void TestSpecParser::addFilter() { |
| 12011 | if( !m_currentFilter.m_patterns.empty() ) { |
| 12012 | m_testSpec.m_filters.push_back( m_currentFilter ); |
| 12013 | m_currentFilter = TestSpec::Filter(); |
| 12014 | } |
| 12015 | } |
| 12016 | |
| 12017 | TestSpec parseTestSpec( std::string const& arg ) { |
| 12018 | return TestSpecParser( ITagAliasRegistry::get() ).parse( arg ).testSpec(); |