| 72 | }; |
| 73 | |
| 74 | static bool CheckConvertToUnixSlashes(std::string const& input, |
| 75 | std::string const& output) |
| 76 | { |
| 77 | std::string result = input; |
| 78 | kwsys::SystemTools::ConvertToUnixSlashes(result); |
| 79 | if (result != output) { |
| 80 | std::cerr << "Problem with ConvertToUnixSlashes - input: " << input |
| 81 | << " output: " << result << " expected: " << output << std::endl; |
| 82 | return false; |
| 83 | } |
| 84 | return true; |
| 85 | } |
| 86 | |
| 87 | static char const* checkEscapeChars[][4] = { |
| 88 | { "1 foo 2 bar 2", "12", "\\", "\\1 foo \\2 bar \\2" }, |
no outgoing calls
no test coverage detected
searching dependent graphs…