| 14873 | } |
| 14874 | |
| 14875 | std::string TestSpecParser::preprocessPattern() { |
| 14876 | std::string token = m_patternName; |
| 14877 | for (std::size_t i = 0; i < m_escapeChars.size(); ++i) |
| 14878 | token = token.substr(0, m_escapeChars[i] - i) + token.substr(m_escapeChars[i] - i + 1); |
| 14879 | m_escapeChars.clear(); |
| 14880 | if (startsWith(token, "exclude:")) { |
| 14881 | m_exclusion = true; |
| 14882 | token = token.substr(8); |
| 14883 | } |
| 14884 | |
| 14885 | m_patternName.clear(); |
| 14886 | m_realPatternPos = 0; |
| 14887 | |
| 14888 | return token; |
| 14889 | } |
| 14890 | |
| 14891 | void TestSpecParser::addNamePattern() { |
| 14892 | auto token = preprocessPattern(); |
nothing calls this directly
no test coverage detected