| 89 | void check_native(const path& p, const string&, const wstring& expected, const char* file, int line) |
| 90 | #else |
| 91 | void check_native(const path& p, const string& expected, const wstring&, const char* file, int line) |
| 92 | #endif |
| 93 | { |
| 94 | if (p.native() == expected) |
| 95 | return; |
| 96 | |
| 97 | ++::boost::detail::test_errors(); |
| 98 | |
| 99 | std::cout << file << '(' << line << "): native() is not equal expected\n" |
| 100 | " native---: " |
| 101 | << std::hex; |
| 102 | path::string_type nat(p.native()); |
| 103 | for (path::string_type::const_iterator it = nat.begin(); it != nat.end(); ++it) |
| 104 | std::cout << long(*it) << ' '; |
| 105 | std::cout << "\n expected-: "; |
| 106 | for (path::string_type::const_iterator it = expected.begin(); it != expected.end(); ++it) |
| 107 | std::cout << long(*it) << ' '; |
| 108 | std::cout << std::dec << std::endl; |
| 109 | } |
| 110 | |
| 111 | template< class T1, class T2 > |
| 112 | void check_equal(const T1& value, const T2& expected, const char* file, int line) |