| 14862 | } |
| 14863 | |
| 14864 | std::string TestSpecParser::preprocessPattern() { |
| 14865 | std::string token = m_patternName; |
| 14866 | for (std::size_t i = 0; i < m_escapeChars.size(); ++i) |
| 14867 | token = token.substr(0, m_escapeChars[i] - i) + token.substr(m_escapeChars[i] - i + 1); |
| 14868 | m_escapeChars.clear(); |
| 14869 | if (startsWith(token, "exclude:")) { |
| 14870 | m_exclusion = true; |
| 14871 | token = token.substr(8); |
| 14872 | } |
| 14873 | |
| 14874 | m_patternName.clear(); |
| 14875 | m_realPatternPos = 0; |
| 14876 | |
| 14877 | return token; |
| 14878 | } |
| 14879 | |
| 14880 | void TestSpecParser::addNamePattern() { |
| 14881 | auto token = preprocessPattern(); |
nothing calls this directly
no test coverage detected