1 // (C) Copyright Daniel James 2011. 2 // Distributed under the Boost Software License, Version 1.0. (See accompanying 3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) 4 5 // See http://www.boost.org/libs/iostreams for documentation. 6 7 #include <boost/iostreams/detail/path.hpp> 8 #include <boost/filesystem/path.hpp> 9 10 #include <boost/test/test_tools.hpp> 11 #include <boost/test/unit_test.hpp> 12 path_test()13void path_test() 14 { 15 boost::filesystem::path orig("a/b"); 16 boost::iostreams::detail::path p(orig); 17 p = orig; 18 } 19 init_unit_test_suite(int,char * [])20boost::unit_test::test_suite* init_unit_test_suite(int, char* []) 21 { 22 boost::unit_test::test_suite* test = BOOST_TEST_SUITE("mapped_file test"); 23 test->add(BOOST_TEST_CASE(&path_test)); 24 return test; 25 } 26