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