NOTE: gtests expects the name to have no special characters.
| 32 | |
| 33 | // NOTE: gtests expects the name to have no special characters. |
| 34 | static std::string sanitizeTestName(const std::string& name) |
| 35 | { |
| 36 | std::string nameOnly = Path::GetFileNameWithoutExtension(name); |
| 37 | std::string res; |
| 38 | for (char c : nameOnly) |
| 39 | { |
| 40 | if (isalnum(static_cast<unsigned char>(c))) |
| 41 | res += c; |
| 42 | } |
| 43 | return res; |
| 44 | } |
| 45 | |
| 46 | static std::vector<ReplayTestData> GetReplayFiles() |
| 47 | { |
no test coverage detected