| 14570 | } |
| 14571 | |
| 14572 | std::string TestSpecParser::preprocessPattern() { |
| 14573 | std::string token = m_patternName; |
| 14574 | for (std::size_t i = 0; i < m_escapeChars.size(); ++i) |
| 14575 | token = token.substr(0, m_escapeChars[i] - i) + token.substr(m_escapeChars[i] - i + 1); |
| 14576 | m_escapeChars.clear(); |
| 14577 | if (startsWith(token, "exclude:")) { |
| 14578 | m_exclusion = true; |
| 14579 | token = token.substr(8); |
| 14580 | } |
| 14581 | |
| 14582 | m_patternName.clear(); |
| 14583 | |
| 14584 | return token; |
| 14585 | } |
| 14586 | |
| 14587 | void TestSpecParser::addNamePattern() { |
| 14588 | auto token = preprocessPattern(); |
nothing calls this directly
no test coverage detected