| 2640 | // make_preferred_tests ------------------------------------------------------------// |
| 2641 | |
| 2642 | void make_preferred_tests() |
| 2643 | { |
| 2644 | std::cout << "make_preferred_tests..." << std::endl; |
| 2645 | |
| 2646 | if (platform == "Windows") |
| 2647 | { |
| 2648 | #if BOOST_FILESYSTEM_VERSION == 3 |
| 2649 | BOOST_TEST(path("//abc\\def/ghi").make_preferred().native() == path("\\\\abc\\def\\ghi").native()); |
| 2650 | #else |
| 2651 | BOOST_TEST(path("//abc\\def/ghi").make_preferred().native() == path("//abc\\def\\ghi").native()); |
| 2652 | #endif |
| 2653 | } |
| 2654 | else |
| 2655 | { |
| 2656 | BOOST_TEST(path("//abc\\def/ghi").make_preferred().native() == path("//abc\\def/ghi").native()); |
| 2657 | } |
| 2658 | } |
| 2659 | |
| 2660 | // generic_path_tests --------------------------------------------------------------// |
| 2661 | |