| 160 | } |
| 161 | |
| 162 | void testLongString() |
| 163 | { |
| 164 | int length = 15000; |
| 165 | std::ostringstream ss; |
| 166 | ss << "1234567890ABCDEF-%s {0} \t\r\n"; |
| 167 | ss << length; |
| 168 | std::string test = ss.str(); |
| 169 | for (size_t i = 0; i < length - test.size() - 1; ++i) |
| 170 | ss << "X"; |
| 171 | |
| 172 | ss << "\n"; |
| 173 | test = ss.str(); |
| 174 | |
| 175 | OutputDebugStringA(test.c_str()); |
| 176 | } |
| 177 | |
| 178 | void Output(const std::string& filename) |
| 179 | { |