| 72 | std::string platform(BOOST_PLATFORM); |
| 73 | |
| 74 | void check_path(const path& source, const wstring& expected, const char* file, int line) |
| 75 | { |
| 76 | if (source == expected) |
| 77 | return; |
| 78 | |
| 79 | ++::boost::detail::test_errors(); |
| 80 | |
| 81 | std::cout << file; |
| 82 | std::wcout << L'(' << line << L"): source.wstring(): \"" |
| 83 | << source.wstring() |
| 84 | << L"\" != expected: \"" << expected |
| 85 | << L"\"\n"; |
| 86 | } |
| 87 | |
| 88 | #ifdef BOOST_FILESYSTEM_WINDOWS_API |
| 89 | void check_native(const path& p, const string&, const wstring& expected, const char* file, int line) |