| 267 | } |
| 268 | |
| 269 | int testEncoding(int, char*[]) |
| 270 | { |
| 271 | char const* loc = setlocale(LC_ALL, ""); |
| 272 | if (loc) { |
| 273 | std::cout << "Locale: " << loc << std::endl; |
| 274 | } else { |
| 275 | std::cout << "Locale: None" << std::endl; |
| 276 | } |
| 277 | |
| 278 | int ret = 0; |
| 279 | |
| 280 | ret |= testHelloWorldEncoding(); |
| 281 | ret |= testRobustEncoding(); |
| 282 | ret |= testCommandLineArguments(); |
| 283 | ret |= testWithNulls(); |
| 284 | ret |= testToWindowsExtendedPath(); |
| 285 | |
| 286 | return ret; |
| 287 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…