| 64 | //========================================================================= |
| 65 | |
| 66 | void TestStringEncoder() |
| 67 | { |
| 68 | TSTRING str = _T("this is a non-quoted string"); |
| 69 | TSTRING strQ = _T("here's a quote:\"and a slash:\\ "); |
| 70 | TSTRING strJQ = _T("\""); |
| 71 | TSTRING strJS = _T("\\"); |
| 72 | TSTRING strWeird = _T("\\\"\"\\\"\\\\\"\"\"\""); |
| 73 | |
| 74 | OutputString(str); |
| 75 | OutputString(strQ); |
| 76 | OutputString(strJQ); |
| 77 | OutputString(strJS); |
| 78 | OutputString(strWeird); |
| 79 | } |
| 80 | |
| 81 | //========================================================================= |
| 82 | // UTIL FUNCTION CODE |
nothing calls this directly
no test coverage detected