summaryrefslogtreecommitdiff
path: root/libs/filesystem/v3/test
diff options
context:
space:
mode:
Diffstat (limited to 'libs/filesystem/v3/test')
-rw-r--r--libs/filesystem/v3/test/Jamfile.v235
-rw-r--r--libs/filesystem/v3/test/convenience_test.cpp180
-rw-r--r--libs/filesystem/v3/test/deprecated_test.cpp251
-rw-r--r--libs/filesystem/v3/test/design_use_cases.cpp81
-rw-r--r--libs/filesystem/v3/test/equivalent.cpp39
-rw-r--r--libs/filesystem/v3/test/fstream_test.cpp173
-rw-r--r--libs/filesystem/v3/test/large_file_support_test.cpp45
-rw-r--r--libs/filesystem/v3/test/locale_info.cpp88
-rw-r--r--libs/filesystem/v3/test/long_path_test.cpp61
-rw-r--r--libs/filesystem/v3/test/msvc/common.vsprops21
-rw-r--r--libs/filesystem/v3/test/msvc/convenience_test/convenience_test.vcproj195
-rw-r--r--libs/filesystem/v3/test/msvc/deprecated_test/deprecated_test.vcproj195
-rw-r--r--libs/filesystem/v3/test/msvc/error_demo/error_demo.vcproj191
-rw-r--r--libs/filesystem/v3/test/msvc/filesystem-v3.sln173
-rw-r--r--libs/filesystem/v3/test/msvc/filesystem_dll/filesystem_dll.vcproj227
-rw-r--r--libs/filesystem/v3/test/msvc/fstream_test/fstream_test.vcproj195
-rw-r--r--libs/filesystem/v3/test/msvc/operations_test/operations_test.vcproj194
-rw-r--r--libs/filesystem/v3/test/msvc/operations_unit_test/operations_unit_test.vcproj197
-rw-r--r--libs/filesystem/v3/test/msvc/path_test/path_test.vcproj195
-rw-r--r--libs/filesystem/v3/test/msvc/path_test_dynamic_link/path_test_dynamic_linkl.vcproj201
-rw-r--r--libs/filesystem/v3/test/msvc/path_unit_test/path_unit_test.vcproj195
-rw-r--r--libs/filesystem/v3/test/msvc/simple_ls/simple_ls.vcproj201
-rw-r--r--libs/filesystem/v3/test/msvc/system_dll/system_dll.vcproj199
-rw-r--r--libs/filesystem/v3/test/msvc/tchar_example/tchar_example.vcproj212
-rw-r--r--libs/filesystem/v3/test/msvc/tut0/tut0.vcproj190
-rw-r--r--libs/filesystem/v3/test/msvc/tut1/tut1.vcproj193
-rw-r--r--libs/filesystem/v3/test/msvc/tut2/tut2.vcproj189
-rw-r--r--libs/filesystem/v3/test/msvc/tut3/tut3.vcproj187
-rw-r--r--libs/filesystem/v3/test/msvc/tut4/tut4.vcproj189
-rw-r--r--libs/filesystem/v3/test/msvc/wide_test/wide_test.vcproj191
-rw-r--r--libs/filesystem/v3/test/msvc10/common.props20
-rw-r--r--libs/filesystem/v3/test/msvc10/convenience_test/convenience_test.vcxproj107
-rw-r--r--libs/filesystem/v3/test/msvc10/deprecated_test/deprecated_test.vcxproj107
-rw-r--r--libs/filesystem/v3/test/msvc10/file_status/file_status.vcxproj100
-rw-r--r--libs/filesystem/v3/test/msvc10/filesystem-v3.sln190
-rw-r--r--libs/filesystem/v3/test/msvc10/filesystem_dll/filesystem_dll.vcxproj110
-rw-r--r--libs/filesystem/v3/test/msvc10/fstream_test/fstream_test.vcxproj107
-rw-r--r--libs/filesystem/v3/test/msvc10/locale_info/locale_info.vcxproj96
-rw-r--r--libs/filesystem/v3/test/msvc10/long_path_test/long_path_test.vcxproj100
-rw-r--r--libs/filesystem/v3/test/msvc10/operations_test/operations_test.vcxproj106
-rw-r--r--libs/filesystem/v3/test/msvc10/operations_unit_test/operations_unit_test.vcxproj109
-rw-r--r--libs/filesystem/v3/test/msvc10/path_test/path_test.vcxproj107
-rw-r--r--libs/filesystem/v3/test/msvc10/path_unit_test/path_unit_test.vcxproj107
-rw-r--r--libs/filesystem/v3/test/msvc10/stems/stems.vcxproj92
-rw-r--r--libs/filesystem/v3/test/msvc10/system_dll/system_dll.vcxproj97
-rw-r--r--libs/filesystem/v3/test/msvc10/tut1/tut1.vcxproj101
-rw-r--r--libs/filesystem/v3/test/msvc10/tut2/tut2.vcxproj97
-rw-r--r--libs/filesystem/v3/test/msvc10/tut3/tut3.vcxproj95
-rw-r--r--libs/filesystem/v3/test/msvc10/tut4/tut4.vcxproj97
-rw-r--r--libs/filesystem/v3/test/msvc10/tut5/tut5.vcxproj92
-rw-r--r--libs/filesystem/v3/test/msvc10/tut6a/tut6a.vcxproj92
-rw-r--r--libs/filesystem/v3/test/msvc10/tut6b/tut6b.vcxproj92
-rw-r--r--libs/filesystem/v3/test/msvc10/tut6c/tut6c.vcxproj92
-rw-r--r--libs/filesystem/v3/test/msvc10/windows_attributes/windows_attributes.vcxproj92
-rw-r--r--libs/filesystem/v3/test/operations_test.cpp2005
-rw-r--r--libs/filesystem/v3/test/operations_unit_test.cpp265
-rw-r--r--libs/filesystem/v3/test/path_test.cpp1811
-rw-r--r--libs/filesystem/v3/test/path_unit_test.cpp1037
-rw-r--r--libs/filesystem/v3/test/test_codecvt.hpp79
-rw-r--r--libs/filesystem/v3/test/windows_attributes.cpp108
60 files changed, 0 insertions, 12593 deletions
diff --git a/libs/filesystem/v3/test/Jamfile.v2 b/libs/filesystem/v3/test/Jamfile.v2
deleted file mode 100644
index b076ffe8d2..0000000000
--- a/libs/filesystem/v3/test/Jamfile.v2
+++ /dev/null
@@ -1,35 +0,0 @@
-# Boost Filesystem Library test Jamfile
-
-# (C) Copyright Beman Dawes 2002-2006
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
-
-project
- : requirements
- <library>/boost/filesystem//boost_filesystem
- <library>/boost/system//boost_system
- <toolset>msvc:<asynch-exceptions>on
- ;
-
-# Some tests are run both statically and as shared libraries since it is helpful
-# to know if failures in shared library tests are related to sharing or not.
-
- test-suite "filesystem" :
- [ run path_unit_test.cpp : : : <link>shared ]
- [ run path_unit_test.cpp : : : <link>static : path_unit_test_static ]
- [ run path_test.cpp : : : <link>shared ]
- [ run path_test.cpp : : : <link>static : path_test_static ]
- [ run operations_unit_test.cpp : : : <link>shared ]
- [ run operations_unit_test.cpp : : : <link>static : operations_unit_test_static ]
- [ run operations_test.cpp : : : <link>shared ]
- [ run operations_test.cpp : : : <link>static : operations_test_static ]
- [ run fstream_test.cpp ]
- [ run convenience_test.cpp ]
- [ run large_file_support_test.cpp ]
- [ run deprecated_test.cpp ]
- [ run ../example/simple_ls.cpp ]
- [ run ../example/file_status.cpp ]
-
-# [ compile ../example/mbcopy.cpp ]
-# [ compile ../example/mbpath.cpp ]
- ;
diff --git a/libs/filesystem/v3/test/convenience_test.cpp b/libs/filesystem/v3/test/convenience_test.cpp
deleted file mode 100644
index 17675a6826..0000000000
--- a/libs/filesystem/v3/test/convenience_test.cpp
+++ /dev/null
@@ -1,180 +0,0 @@
-// libs/filesystem/test/convenience_test.cpp -----------------------------------------//
-
-// Copyright Beman Dawes, 2002
-// Copyright Vladimir Prus, 2002
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-
-// See library home page at http://www.boost.org/libs/filesystem
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-#include <boost/config/warning_disable.hpp>
-
-// See deprecated_test for tests of deprecated features
-#ifndef BOOST_FILESYSTEM_NO_DEPRECATED
-# define BOOST_FILESYSTEM_NO_DEPRECATED
-#endif
-#ifndef BOOST_SYSTEM_NO_DEPRECATED
-# define BOOST_SYSTEM_NO_DEPRECATED
-#endif
-
-#include <boost/filesystem/convenience.hpp>
-namespace fs = boost::filesystem;
-using fs::path;
-namespace sys = boost::system;
-
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-#include <boost/bind.hpp>
-#include <fstream>
-#include <iostream>
-
-namespace
-{
- template< typename F >
- bool throws_fs_error(F func)
- {
- try { func(); }
-
- catch (const fs::filesystem_error &)
- {
- return true;
- }
- return false;
- }
-
- void create_recursive_iterator(const fs::path & ph)
- {
- fs::recursive_directory_iterator it(ph);
- }
-}
-
-// ------------------------------------------------------------------------------------//
-
-int cpp_main(int, char*[])
-{
-
-// create_directories() tests --------------------------------------------------------//
-
- BOOST_TEST(!fs::create_directories("")); // should be harmless
- BOOST_TEST(!fs::create_directories("/")); // ditto
-
- path unique_dir = fs::unique_path(); // unique name in case tests running in parallel
- path unique_yy = unique_dir / "yy";
- path unique_yya = unique_dir / "yya";
- path unique_yy_zz = unique_dir / "yy" / "zz";
-
- fs::remove_all(unique_dir); // make sure slate is blank
- BOOST_TEST(!fs::exists(unique_dir)); // reality check
-
- BOOST_TEST(fs::create_directories(unique_dir));
- BOOST_TEST(fs::exists(unique_dir));
- BOOST_TEST(fs::is_directory(unique_dir));
-
- BOOST_TEST(fs::create_directories(unique_yy_zz));
- BOOST_TEST(fs::exists(unique_dir));
- BOOST_TEST(fs::exists(unique_yy));
- BOOST_TEST(fs::exists(unique_yy_zz));
- BOOST_TEST(fs::is_directory(unique_dir));
- BOOST_TEST(fs::is_directory(unique_yy));
- BOOST_TEST(fs::is_directory(unique_yy_zz));
-
- path is_a_file(unique_dir / "uu");
- {
- std::ofstream f(is_a_file.string().c_str());
- BOOST_TEST(!!f);
- }
- BOOST_TEST(throws_fs_error(
- boost::bind(fs::create_directories, is_a_file)));
- BOOST_TEST(throws_fs_error(
- boost::bind(fs::create_directories, is_a_file / "aa")));
-
-// recursive_directory_iterator tests ----------------------------------------//
-
- sys::error_code ec;
- fs::recursive_directory_iterator it("/no-such-path", ec);
- BOOST_TEST(ec);
-
- BOOST_TEST(throws_fs_error(
- boost::bind(create_recursive_iterator, "/no-such-path")));
-
- fs::remove(unique_dir / "uu");
-
-#ifdef BOOST_WINDOWS_API
- // These tests depends on ordering of directory entries, and that's guaranteed
- // on Windows but not necessarily on other operating systems
- {
- std::ofstream f(unique_yya.string().c_str());
- BOOST_TEST(!!f);
- }
-
- for (it = fs::recursive_directory_iterator(unique_dir);
- it != fs::recursive_directory_iterator(); ++it)
- { std::cout << it->path() << '\n'; }
-
- it = fs::recursive_directory_iterator(unique_dir);
- BOOST_TEST(it->path() == unique_yy);
- BOOST_TEST(it.level() == 0);
- ++it;
- BOOST_TEST(it->path() == unique_yy_zz);
- BOOST_TEST(it.level() == 1);
- it.pop();
- BOOST_TEST(it->path() == unique_yya);
- BOOST_TEST(it.level() == 0);
- it++;
- BOOST_TEST(it == fs::recursive_directory_iterator());
-
- it = fs::recursive_directory_iterator(unique_dir);
- BOOST_TEST(it->path() == unique_yy);
- it.no_push();
- ++it;
- BOOST_TEST(it->path() == unique_yya);
- ++it;
- BOOST_TEST(it == fs::recursive_directory_iterator());
-
- fs::remove(unique_yya);
-#endif
-
- it = fs::recursive_directory_iterator(unique_yy_zz);
- BOOST_TEST(it == fs::recursive_directory_iterator());
-
- it = fs::recursive_directory_iterator(unique_dir);
- BOOST_TEST(it->path() == unique_yy);
- BOOST_TEST(it.level() == 0);
- ++it;
- BOOST_TEST(it->path() == unique_yy_zz);
- BOOST_TEST(it.level() == 1);
- it++;
- BOOST_TEST(it == fs::recursive_directory_iterator());
-
- it = fs::recursive_directory_iterator(unique_dir);
- BOOST_TEST(it->path() == unique_yy);
- it.no_push();
- ++it;
- BOOST_TEST(it == fs::recursive_directory_iterator());
-
- it = fs::recursive_directory_iterator(unique_dir);
- BOOST_TEST(it->path() == unique_yy);
- ++it;
- it.pop();
- BOOST_TEST(it == fs::recursive_directory_iterator());
-
- ec.clear();
- BOOST_TEST(!ec);
- // check that two argument failed constructor creates the end iterator
- BOOST_TEST(fs::recursive_directory_iterator("nosuchdir", ec)
- == fs::recursive_directory_iterator());
- BOOST_TEST(ec);
-
- fs::remove_all(unique_dir); // clean up behind ourselves
-
- return ::boost::report_errors();
-}
diff --git a/libs/filesystem/v3/test/deprecated_test.cpp b/libs/filesystem/v3/test/deprecated_test.cpp
deleted file mode 100644
index de82ff8b26..0000000000
--- a/libs/filesystem/v3/test/deprecated_test.cpp
+++ /dev/null
@@ -1,251 +0,0 @@
-// deprecated_test program --------------------------------------------------//
-
-// Copyright Beman Dawes 2002
-// Copyright Vladimir Prus 2002
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-// This test verifies that various deprecated names still work. This is
-// important to preserve existing code that uses the old names.
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-#define BOOST_FILESYSTEM_DEPRECATED
-
-#include <boost/filesystem.hpp>
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-
-namespace fs = boost::filesystem;
-using boost::filesystem::path;
-
-#define PATH_CHECK(a, b) check(a, b, __LINE__)
-
-namespace
-{
- std::string platform(BOOST_PLATFORM);
-
- void check(const fs::path & source,
- const std::string & expected, int line)
- {
- if (source.generic_string()== expected) return;
-
- ++::boost::detail::test_errors();
-
- std::cout << '(' << line << ") source.string(): \"" << source.string()
- << "\" != expected: \"" << expected
- << "\"" << std::endl;
- }
-
- void normalize_test()
- {
- PATH_CHECK(path("").normalize(), "");
- PATH_CHECK(path("/").normalize(), "/");
- PATH_CHECK(path("//").normalize(), "//");
- PATH_CHECK(path("///").normalize(), "/");
- PATH_CHECK(path("f").normalize(), "f");
- PATH_CHECK(path("foo").normalize(), "foo");
- PATH_CHECK(path("foo/").normalize(), "foo/.");
- PATH_CHECK(path("f/").normalize(), "f/.");
- PATH_CHECK(path("/foo").normalize(), "/foo");
- PATH_CHECK(path("foo/bar").normalize(), "foo/bar");
- PATH_CHECK(path("..").normalize(), "..");
- PATH_CHECK(path("../..").normalize(), "../..");
- PATH_CHECK(path("/..").normalize(), "/..");
- PATH_CHECK(path("/../..").normalize(), "/../..");
- PATH_CHECK(path("../foo").normalize(), "../foo");
- PATH_CHECK(path("foo/..").normalize(), ".");
- PATH_CHECK(path("foo/../").normalize(), "./.");
- PATH_CHECK((path("foo") / "..").normalize() , ".");
- PATH_CHECK(path("foo/...").normalize(), "foo/...");
- PATH_CHECK(path("foo/.../").normalize(), "foo/.../.");
- PATH_CHECK(path("foo/..bar").normalize(), "foo/..bar");
- PATH_CHECK(path("../f").normalize(), "../f");
- PATH_CHECK(path("/../f").normalize(), "/../f");
- PATH_CHECK(path("f/..").normalize(), ".");
- PATH_CHECK((path("f") / "..").normalize() , ".");
- PATH_CHECK(path("foo/../..").normalize(), "..");
- PATH_CHECK(path("foo/../../").normalize(), "../.");
- PATH_CHECK(path("foo/../../..").normalize(), "../..");
- PATH_CHECK(path("foo/../../../").normalize(), "../../.");
- PATH_CHECK(path("foo/../bar").normalize(), "bar");
- PATH_CHECK(path("foo/../bar/").normalize(), "bar/.");
- PATH_CHECK(path("foo/bar/..").normalize(), "foo");
- PATH_CHECK(path("foo/bar/../").normalize(), "foo/.");
- PATH_CHECK(path("foo/bar/../..").normalize(), ".");
- PATH_CHECK(path("foo/bar/../../").normalize(), "./.");
- PATH_CHECK(path("foo/bar/../blah").normalize(), "foo/blah");
- PATH_CHECK(path("f/../b").normalize(), "b");
- PATH_CHECK(path("f/b/..").normalize(), "f");
- PATH_CHECK(path("f/b/../").normalize(), "f/.");
- PATH_CHECK(path("f/b/../a").normalize(), "f/a");
- PATH_CHECK(path("foo/bar/blah/../..").normalize(), "foo");
- PATH_CHECK(path("foo/bar/blah/../../bletch").normalize(), "foo/bletch");
- PATH_CHECK(path("//net").normalize(), "//net");
- PATH_CHECK(path("//net/").normalize(), "//net/");
- PATH_CHECK(path("//..net").normalize(), "//..net");
- PATH_CHECK(path("//net/..").normalize(), "//net/..");
- PATH_CHECK(path("//net/foo").normalize(), "//net/foo");
- PATH_CHECK(path("//net/foo/").normalize(), "//net/foo/.");
- PATH_CHECK(path("//net/foo/..").normalize(), "//net/");
- PATH_CHECK(path("//net/foo/../").normalize(), "//net/.");
-
- PATH_CHECK(path("/net/foo/bar").normalize(), "/net/foo/bar");
- PATH_CHECK(path("/net/foo/bar/").normalize(), "/net/foo/bar/.");
- PATH_CHECK(path("/net/foo/..").normalize(), "/net");
- PATH_CHECK(path("/net/foo/../").normalize(), "/net/.");
-
- PATH_CHECK(path("//net//foo//bar").normalize(), "//net/foo/bar");
- PATH_CHECK(path("//net//foo//bar//").normalize(), "//net/foo/bar/.");
- PATH_CHECK(path("//net//foo//..").normalize(), "//net/");
- PATH_CHECK(path("//net//foo//..//").normalize(), "//net/.");
-
- PATH_CHECK(path("///net///foo///bar").normalize(), "/net/foo/bar");
- PATH_CHECK(path("///net///foo///bar///").normalize(), "/net/foo/bar/.");
- PATH_CHECK(path("///net///foo///..").normalize(), "/net");
- PATH_CHECK(path("///net///foo///..///").normalize(), "/net/.");
-
- if (platform == "Windows")
- {
- PATH_CHECK(path("c:..").normalize(), "c:..");
- PATH_CHECK(path("c:foo/..").normalize(), "c:");
-
- PATH_CHECK(path("c:foo/../").normalize(), "c:.");
-
- PATH_CHECK(path("c:/foo/..").normalize(), "c:/");
- PATH_CHECK(path("c:/foo/../").normalize(), "c:/.");
- PATH_CHECK(path("c:/..").normalize(), "c:/..");
- PATH_CHECK(path("c:/../").normalize(), "c:/../.");
- PATH_CHECK(path("c:/../..").normalize(), "c:/../..");
- PATH_CHECK(path("c:/../../").normalize(), "c:/../../.");
- PATH_CHECK(path("c:/../foo").normalize(), "c:/../foo");
- PATH_CHECK(path("c:/../foo/").normalize(), "c:/../foo/.");
- PATH_CHECK(path("c:/../../foo").normalize(), "c:/../../foo");
- PATH_CHECK(path("c:/../../foo/").normalize(), "c:/../../foo/.");
- PATH_CHECK(path("c:/..foo").normalize(), "c:/..foo");
- }
- else // POSIX
- {
- PATH_CHECK(path("c:..").normalize(), "c:..");
- PATH_CHECK(path("c:foo/..").normalize(), ".");
- PATH_CHECK(path("c:foo/../").normalize(), "./.");
- PATH_CHECK(path("c:/foo/..").normalize(), "c:");
- PATH_CHECK(path("c:/foo/../").normalize(), "c:/.");
- PATH_CHECK(path("c:/..").normalize(), ".");
- PATH_CHECK(path("c:/../").normalize(), "./.");
- PATH_CHECK(path("c:/../..").normalize(), "..");
- PATH_CHECK(path("c:/../../").normalize(), "../.");
- PATH_CHECK(path("c:/../foo").normalize(), "foo");
- PATH_CHECK(path("c:/../foo/").normalize(), "foo/.");
- PATH_CHECK(path("c:/../../foo").normalize(), "../foo");
- PATH_CHECK(path("c:/../../foo/").normalize(), "../foo/.");
- PATH_CHECK(path("c:/..foo").normalize(), "c:/..foo");
- }
- }
-
- // Compile-only tests not intended to be executed -----------------------------------//
-
- void compile_only()
- {
- fs::path p;
-
- fs::initial_path<fs::path>();
- fs::initial_path<fs::wpath>();
-
- p.file_string();
- p.directory_string();
- }
-
- // path_rename_test -----------------------------------------------------------------//
-
- void path_rename_test()
- {
- fs::path p("foo/bar/blah");
-
- BOOST_TEST_EQ(path("foo/bar/blah").remove_leaf(), "foo/bar");
- BOOST_TEST_EQ(p.leaf(), "blah");
- BOOST_TEST_EQ(p.branch_path(), "foo/bar");
- BOOST_TEST(p.has_leaf());
- BOOST_TEST(p.has_branch_path());
- BOOST_TEST(!p.is_complete());
-
- if (platform == "Windows")
- {
- BOOST_TEST_EQ(path("foo\\bar\\blah").remove_leaf(), "foo\\bar");
- p = "foo\\bar\\blah";
- BOOST_TEST_EQ(p.branch_path(), "foo\\bar");
- }
- }
-
-} // unnamed namespace
-
-
-//--------------------------------------------------------------------------------------//
-
-int cpp_main(int /*argc*/, char* /*argv*/[])
-{
- // The choice of platform is make at runtime rather than compile-time
- // so that compile errors for all platforms will be detected even though
- // only the current platform is runtime tested.
- platform = (platform == "Win32" || platform == "Win64" || platform == "Cygwin")
- ? "Windows"
- : "POSIX";
- std::cout << "Platform is " << platform << '\n';
-
- BOOST_TEST(fs::initial_path() == fs::current_path());
-
- //path::default_name_check(fs::no_check);
-
- fs::directory_entry de("foo/bar");
-
- de.replace_leaf("", fs::file_status(), fs::file_status());
-
- //de.leaf();
- //de.string();
-
- fs::path ng(" no-way, Jose");
- BOOST_TEST(!fs::is_regular(ng)); // verify deprecated name still works
- BOOST_TEST(!fs::symbolic_link_exists("nosuchfileordirectory"));
-
- path_rename_test();
- normalize_test();
-
-// extension() tests ---------------------------------------------------------//
-
- BOOST_TEST(fs::extension("a/b") == "");
- BOOST_TEST(fs::extension("a/b.txt") == ".txt");
- BOOST_TEST(fs::extension("a/b.") == ".");
- BOOST_TEST(fs::extension("a.b.c") == ".c");
- BOOST_TEST(fs::extension("a.b.c.") == ".");
- BOOST_TEST(fs::extension("") == "");
- BOOST_TEST(fs::extension("a/") == "");
-
-// basename() tests ----------------------------------------------------------//
-
- BOOST_TEST(fs::basename("b") == "b");
- BOOST_TEST(fs::basename("a/b.txt") == "b");
- BOOST_TEST(fs::basename("a/b.") == "b");
- BOOST_TEST(fs::basename("a.b.c") == "a.b");
- BOOST_TEST(fs::basename("a.b.c.") == "a.b.c");
- BOOST_TEST(fs::basename("") == "");
-
-// change_extension tests ---------------------------------------------------//
-
- BOOST_TEST(fs::change_extension("a.txt", ".tex").string() == "a.tex");
- BOOST_TEST(fs::change_extension("a.", ".tex").string() == "a.tex");
- BOOST_TEST(fs::change_extension("a", ".txt").string() == "a.txt");
- BOOST_TEST(fs::change_extension("a.b.txt", ".tex").string() == "a.b.tex");
- // see the rationale in html docs for explanation why this works
- BOOST_TEST(fs::change_extension("", ".png").string() == ".png");
-
- return ::boost::report_errors();
-}
diff --git a/libs/filesystem/v3/test/design_use_cases.cpp b/libs/filesystem/v3/test/design_use_cases.cpp
deleted file mode 100644
index 49b0c28c08..0000000000
--- a/libs/filesystem/v3/test/design_use_cases.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-#include <string>
-#include <iostream>
-
-// Minimal class path
-
-class path
-{
-public:
- path( const char * )
- {
- std::cout << "path( const char * )\n";
- }
- path( const std::string & )
- {
- std::cout << "path( std::string & )\n";
- }
-
-// for maximum efficiency, either signature must work
-# ifdef BY_VALUE
- operator const std::string() const
-# else
- operator const std::string&() const
-# endif
- {
- std::cout << "operator string\n";
- return m_path;
- }
-
-#ifdef NAMED_CONVERSION
- std::string string() const
- {
- std::cout << "std::string string() const\n";
- return m_path;
- }
-#endif
-
-private:
- std::string m_path;
-};
-
-bool operator==( const path &, const path & )
-{
- std::cout << "operator==( const path &, const path & )\n";
- return true;
-}
-
-// These are the critical use cases. If any of these don't compile, usability
-// is unacceptably degraded.
-
-void f( const path & )
-{
- std::cout << "f( const path & )\n";
-}
-
-int main()
-{
- f( "foo" );
- f( std::string( "foo" ) );
- f( path( "foo" ) );
-
- std::cout << '\n';
-
- std::string s1( path( "foo" ) );
- std::string s2 = path( "foo" );
- s2 = path( "foo" );
-
-#ifdef NAMED_CONVERSION
- s2 = path( "foo" ).string();
-#endif
-
- std::cout << '\n';
-
- // these must call bool path( const path &, const path & );
- path( "foo" ) == path( "foo" );
- path( "foo" ) == "foo";
- path( "foo" ) == std::string( "foo" );
- "foo" == path( "foo" );
- std::string( "foo" ) == path( "foo" );
-
- return 0;
-}
diff --git a/libs/filesystem/v3/test/equivalent.cpp b/libs/filesystem/v3/test/equivalent.cpp
deleted file mode 100644
index be3089afd6..0000000000
--- a/libs/filesystem/v3/test/equivalent.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-// equivalent program -------------------------------------------------------//
-
-// Copyright (c) 2004 Beman Dawes
-
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
-// at http://www.boost.org/LICENSE_1_0.txt)
-
-// See library home page at http://www.boost.org/libs/filesystem
-
-//----------------------------------------------------------------------------//
-
-#include <boost/filesystem/operations.hpp>
-#include <iostream>
-#include <exception>
-
-int main( int argc, char * argv[] )
-{
- boost::filesystem::path::default_name_check( boost::filesystem::native );
- if ( argc != 3 )
- {
- std::cout << "Usage: equivalent path1 path2\n";
- return 2;
- }
-
- bool eq;
- try
- {
- eq = boost::filesystem::equivalent( argv[1], argv[2] );
- }
- catch ( const std::exception & ex )
- {
- std::cout << ex.what() << "\n";
- return 3;
- }
-
- std::cout << (eq ? "Paths are equivalent\n" : "Paths are not equivalent\n");
- return !eq;
-}
diff --git a/libs/filesystem/v3/test/fstream_test.cpp b/libs/filesystem/v3/test/fstream_test.cpp
deleted file mode 100644
index d194033ff8..0000000000
--- a/libs/filesystem/v3/test/fstream_test.cpp
+++ /dev/null
@@ -1,173 +0,0 @@
-// fstream_test.cpp ------------------------------------------------------------------//
-
-// Copyright Beman Dawes 2002
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-#include <boost/config/warning_disable.hpp>
-
-// See deprecated_test for tests of deprecated features
-#ifndef BOOST_FILESYSTEM_NO_DEPRECATED
-# define BOOST_FILESYSTEM_NO_DEPRECATED
-#endif
-#ifndef BOOST_SYSTEM_NO_DEPRECATED
-# define BOOST_SYSTEM_NO_DEPRECATED
-#endif
-
-#include <boost/filesystem/fstream.hpp>
-#include <boost/filesystem/operations.hpp>
-#include <string>
-#include <iostream>
-#include <cstdio> // for std::remove
-
-#include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
-
-namespace fs = boost::filesystem;
-
-#include <boost/config.hpp>
-#ifdef BOOST_NO_STDC_NAMESPACE
- namespace std { using ::remove; }
-#endif
-
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-
-#if defined(_MSC_VER)
-# pragma warning(push) // Save warning settings.
-# pragma warning(disable : 4428) // Disable universal-character-name encountered in source warning.
-#endif
-
-namespace
-{
- bool cleanup = true;
-
- void test(const fs::path & p)
- {
- fs::remove(p);
- {
- std::cout << " in test 1\n";
- fs::filebuf fb1;
- fb1.open(p, std::ios_base::out);
- BOOST_TEST(fb1.is_open());
- }
- {
- std::cout << " in test 2\n";
- fs::filebuf fb2;
- fb2.open(p, std::ios_base::in);
- BOOST_TEST(fb2.is_open());
- }
- {
- std::cout << " in test 3\n";
- fs::ifstream tfs(p);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 4\n";
- fs::ifstream tfs(p / p.filename()); // should fail
- BOOST_TEST(!tfs.is_open());
- }
- {
- std::cout << " in test 5\n";
- fs::ifstream tfs(p, std::ios_base::in);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 6\n";
- fs::ifstream tfs;
- tfs.open(p);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 7\n";
- fs::ifstream tfs;
- tfs.open(p, std::ios_base::in);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 8\n";
- fs::ofstream tfs(p);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 9\n";
- fs::ofstream tfs(p, std::ios_base::out);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 10\n";
- fs::ofstream tfs;
- tfs.open(p);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 11\n";
- fs::ofstream tfs;
- tfs.open(p, std::ios_base::out);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 12\n";
- fs::fstream tfs(p);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 13\n";
- fs::fstream tfs(p, std::ios_base::in|std::ios_base::out);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 14\n";
- fs::fstream tfs;
- tfs.open(p);
- BOOST_TEST(tfs.is_open());
- }
- {
- std::cout << " in test 15\n";
- fs::fstream tfs;
- tfs.open(p, std::ios_base::in|std::ios_base::out);
- BOOST_TEST(tfs.is_open());
- }
-
- if (cleanup)
- fs::remove(p);
-
- } // test
-} // unnamed namespace
-
-int cpp_main(int argc, char*[])
-{
- if (argc > 1) cleanup = false;
-
- std::cout << "BOOST_FILESYSTEM_C_STR defined as \""
- << BOOST_STRINGIZE(BOOST_FILESYSTEM_C_STR) << "\"\n";
-
- // test narrow characters
- std::cout << "narrow character tests:\n";
- test("v3_fstream_test");
-
-
- // So that tests are run with known encoding, use Boost UTF-8 codecvt
- std::locale global_loc = std::locale();
- std::locale loc(global_loc, new fs::detail::utf8_codecvt_facet);
- fs::path::imbue(loc);
-
- // test with some wide characters
- // \u2780 is circled 1 against white background == e2 9e 80 in UTF-8
- // \u2781 is circled 2 against white background == e2 9e 81 in UTF-8
- // \u263A is a white smiling face
- std::cout << "\nwide character tests:\n";
- test(L"fstream_test_\u2780\u263A");
-
- return ::boost::report_errors();
-}
diff --git a/libs/filesystem/v3/test/large_file_support_test.cpp b/libs/filesystem/v3/test/large_file_support_test.cpp
deleted file mode 100644
index 287490efea..0000000000
--- a/libs/filesystem/v3/test/large_file_support_test.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-// Boost large_file_support_test.cpp ---------------------------------------//
-
-// Copyright Beman Dawes 2004.
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-
-// See library home page at http://www.boost.org/libs/filesystem
-
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-// See deprecated_test for tests of deprecated features
-#define BOOST_FILESYSTEM_NO_DEPRECATED
-#define BOOST_SYSTEM_NO_DEPRECATED
-
-#include <boost/filesystem/operations.hpp>
-namespace fs = boost::filesystem;
-
-#include <iostream>
-
-int main()
-{
- if ( fs::detail::possible_large_file_size_support() )
- {
- std::cout << "It appears that file sizes greater that 2 gigabytes are possible\n"
- "for this configuration on this platform since the operating system\n"
- "does use a large enough integer type to report large file sizes.\n\n"
- "Whether or not such support is actually present depends on the OS\n";
- return 0;
- }
- std::cout << "The operating system is using an integer type to report file sizes\n"
- "that can not represent file sizes greater that 2 gigabytes (31-bits).\n"
- "Thus the Filesystem Library will not correctly deal with such large\n"
- "files. If you think that this operatiing system should be able to\n"
- "support large files, please report the problem to the Boost developers\n"
- "mailing list.\n";
- return 1;
-}
diff --git a/libs/filesystem/v3/test/locale_info.cpp b/libs/filesystem/v3/test/locale_info.cpp
deleted file mode 100644
index db57bb1588..0000000000
--- a/libs/filesystem/v3/test/locale_info.cpp
+++ /dev/null
@@ -1,88 +0,0 @@
-// locale_info.cpp ---------------------------------------------------------//
-
-// Copyright Beman Dawes 2011
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-#include <locale>
-#include <iostream>
-#include <exception>
-#include <cstdlib>
-using namespace std;
-
-#ifdef _MSC_VER
-# pragma warning(push)
-# pragma warning(disable: 4996) // ... Function call with parameters that may be unsafe
-#endif
-
-namespace
-{
- void facet_info(const locale& loc, const char* msg)
- {
- cout << "has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >("
- << msg << ") is "
- << (has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc)
- ? "true\n"
- : "false\n");
- }
-
- void default_info()
- {
- try
- {
- locale loc;
- cout << "\nlocale default construction OK" << endl;
- facet_info(loc, "locale()");
- }
- catch (const exception& ex)
- {
- cout << "\nlocale default construction threw: " << ex.what() << endl;
- }
- }
-
- void null_string_info()
- {
- try
- {
- locale loc("");
- cout << "\nlocale(\"\") construction OK" << endl;
- facet_info(loc, "locale(\"\")");
- }
- catch (const exception& ex)
- {
- cout << "\nlocale(\"\") construction threw: " << ex.what() << endl;
- }
- }
-
- void classic_info()
- {
- try
- {
- locale loc(locale::classic());
- cout << "\nlocale(locale::classic()) copy construction OK" << endl;
- facet_info(loc, "locale::classic()");
- }
- catch (const exception& ex)
- {
- cout << "\nlocale(locale::clasic()) copy construction threw: " << ex.what() << endl;
- }
- }
-}
-
-int main()
-{
- const char* lang = getenv("LANG");
- cout << "\nLANG environmental variable is "
- << (lang ? lang : "not present") << endl;
-
- default_info();
- null_string_info();
- classic_info();
-
- return 0;
-}
-
-#ifdef _MSC_VER
-# pragma warning(pop)
-#endif
diff --git a/libs/filesystem/v3/test/long_path_test.cpp b/libs/filesystem/v3/test/long_path_test.cpp
deleted file mode 100644
index 65be7cb4e1..0000000000
--- a/libs/filesystem/v3/test/long_path_test.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-// long_path_test.cpp ----------------------------------------------------------------//
-
-// Copyright Beman Dawes 2011
-
-// Distributed under the Boost Software License, Version 1.0.
-// http://www.boost.org/LICENSE_1_0.txt
-
-// See http://www.boost.org/libs/btree for documentation.
-
-// See http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config/warning_disable.hpp>
-
-#include <boost/filesystem.hpp>
-#include <iostream>
-#include <string>
-
-using namespace boost::filesystem;
-
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-
-namespace
-{
-} // unnamed namespace
-
-int cpp_main(int, char*[])
-{
-
- std::string prefix("d:\\temp\\");
- std::cout << "prefix is " << prefix << '\n';
-
- const std::size_t safe_size
- = 260 - prefix.size() - 100; // Windows MAX_PATH is 260
-
- std::string safe_x_string(safe_size, 'x');
- std::string safe_y_string(safe_size, 'y');
- std::string path_escape("\\\\?\\");
-
- path x_p(prefix + safe_x_string);
- path y_p(path_escape + prefix + safe_x_string + "\\" + safe_y_string);
-
- std::cout << "x_p.native().size() is " << x_p.native().size() << '\n';
- std::cout << "y_p.native().size() is " << y_p.native().size() << '\n';
-
- create_directory(x_p);
- BOOST_TEST(exists(x_p));
- create_directory(y_p);
- BOOST_TEST(exists(y_p));
-
- //std::cout << "directory x.../y... ready for testing, where ... is " << safe_size
- // << " repeats of x and y, respectively\n";
-
- BOOST_TEST(exists(x_p));
-
- //remove_all(x_p);
-
- return ::boost::report_errors();
-}
diff --git a/libs/filesystem/v3/test/msvc/common.vsprops b/libs/filesystem/v3/test/msvc/common.vsprops
deleted file mode 100644
index 9820ca15cf..0000000000
--- a/libs/filesystem/v3/test/msvc/common.vsprops
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="common"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="../../../../../.."
- PreprocessorDefinitions="BOOST_FILESYSTEM_VERSION=3;BOOST_SYSTEM_NO_DEPRECATED;BOOST_ALL_NO_LIB;BOOST_ALL_DYN_LINK"
- ExceptionHandling="2"
- DisableLanguageExtensions="false"
- WarningLevel="4"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalLibraryDirectories=""
- />
-</VisualStudioPropertySheet>
diff --git a/libs/filesystem/v3/test/msvc/convenience_test/convenience_test.vcproj b/libs/filesystem/v3/test/msvc/convenience_test/convenience_test.vcproj
deleted file mode 100644
index 49435cf50b..0000000000
--- a/libs/filesystem/v3/test/msvc/convenience_test/convenience_test.vcproj
+++ /dev/null
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="convenience_test"
- ProjectGUID="{08986FB5-0C83-4BC4-92DF-05E12E1C03C1}"
- RootNamespace="convenience_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\convenience_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/deprecated_test/deprecated_test.vcproj b/libs/filesystem/v3/test/msvc/deprecated_test/deprecated_test.vcproj
deleted file mode 100644
index c0b3ecdc4b..0000000000
--- a/libs/filesystem/v3/test/msvc/deprecated_test/deprecated_test.vcproj
+++ /dev/null
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="deprecated_test"
- ProjectGUID="{D73BC50F-956E-4A44-BF9F-A8BB80DF0000}"
- RootNamespace="deprecated_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\deprecated_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/error_demo/error_demo.vcproj b/libs/filesystem/v3/test/msvc/error_demo/error_demo.vcproj
deleted file mode 100644
index 91e29843b6..0000000000
--- a/libs/filesystem/v3/test/msvc/error_demo/error_demo.vcproj
+++ /dev/null
@@ -1,191 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="error_demo"
- ProjectGUID="{709A954B-4F1E-4375-A418-BCBFFE598715}"
- RootNamespace="error_demo"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\example\error_demo.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/filesystem-v3.sln b/libs/filesystem/v3/test/msvc/filesystem-v3.sln
deleted file mode 100644
index 344008b924..0000000000
--- a/libs/filesystem/v3/test/msvc/filesystem-v3.sln
+++ /dev/null
@@ -1,173 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual C++ Express 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "path_unit_test", "path_unit_test\path_unit_test.vcproj", "{3C77F610-2E31-4087-9DF2-7CD45198A02D}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "operations_unit_test", "operations_unit_test\operations_unit_test.vcproj", "{5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "operations_test", "operations_test\operations_test.vcproj", "{8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "path_test", "path_test\path_test.vcproj", "{F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "system_dll", "system_dll\system_dll.vcproj", "{F94CCADD-A90B-480C-A304-C19D015D36B1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filesystem_dll", "filesystem_dll\filesystem_dll.vcproj", "{FFD738F7-96F0-445C-81EA-551665EF53D1}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "convenience_test", "convenience_test\convenience_test.vcproj", "{08986FB5-0C83-4BC4-92DF-05E12E1C03C1}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fstream_test", "fstream_test\fstream_test.vcproj", "{A9939CD7-BE1C-4334-947C-4C320D49B3CA}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "deprecated_test", "deprecated_test\deprecated_test.vcproj", "{D73BC50F-956E-4A44-BF9F-A8BB80DF0000}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simple_ls", "simple_ls\simple_ls.vcproj", "{6B8EC880-702E-418A-BC63-CA46C6CC7B27}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "error_demo", "error_demo\error_demo.vcproj", "{709A954B-4F1E-4375-A418-BCBFFE598715}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut1", "tut1\tut1.vcproj", "{6376B8E4-7FD4-466B-978E-E8DA6E938689}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut3", "tut3\tut3.vcproj", "{4FF64FA7-6806-401D-865C-79DD064D4A9E}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut2", "tut2\tut2.vcproj", "{CD69B175-389E-4F8F-85DC-03C56A47CD1D}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut4", "tut4\tut4.vcproj", "{256EA89A-E073-4CE8-B675-BE2FBC6B2691}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hebrew_example", "hebrew_example\hebrew_example.vcproj", "{F9F236A2-8B57-415A-8397-7145144400F5}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "enable_if_test", "enable_if_test\enable_if_test.vcproj", "{03FC7556-1052-45FF-A162-90D595713EAB}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Debug|Win32.ActiveCfg = Debug|Win32
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Debug|Win32.Build.0 = Debug|Win32
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Release|Win32.ActiveCfg = Release|Win32
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Release|Win32.Build.0 = Release|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Debug|Win32.ActiveCfg = Debug|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Debug|Win32.Build.0 = Debug|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Release|Win32.ActiveCfg = Release|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Release|Win32.Build.0 = Release|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Debug|Win32.ActiveCfg = Debug|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Debug|Win32.Build.0 = Debug|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Release|Win32.ActiveCfg = Release|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Release|Win32.Build.0 = Release|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Debug|Win32.ActiveCfg = Debug|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Debug|Win32.Build.0 = Debug|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Release|Win32.ActiveCfg = Release|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Release|Win32.Build.0 = Release|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Debug|Win32.ActiveCfg = Debug|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Debug|Win32.Build.0 = Debug|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Release|Win32.ActiveCfg = Release|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Release|Win32.Build.0 = Release|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Debug|Win32.ActiveCfg = Debug|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Debug|Win32.Build.0 = Debug|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Release|Win32.ActiveCfg = Release|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Release|Win32.Build.0 = Release|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Debug|Win32.ActiveCfg = Debug|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Debug|Win32.Build.0 = Debug|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Release|Win32.ActiveCfg = Release|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Release|Win32.Build.0 = Release|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Debug|Win32.ActiveCfg = Debug|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Debug|Win32.Build.0 = Debug|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Release|Win32.ActiveCfg = Release|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Release|Win32.Build.0 = Release|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Debug|Win32.ActiveCfg = Debug|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Debug|Win32.Build.0 = Debug|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Release|Win32.ActiveCfg = Release|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Release|Win32.Build.0 = Release|Win32
- {6B8EC880-702E-418A-BC63-CA46C6CC7B27}.Debug|Win32.ActiveCfg = Debug|Win32
- {6B8EC880-702E-418A-BC63-CA46C6CC7B27}.Debug|Win32.Build.0 = Debug|Win32
- {6B8EC880-702E-418A-BC63-CA46C6CC7B27}.Release|Win32.ActiveCfg = Release|Win32
- {6B8EC880-702E-418A-BC63-CA46C6CC7B27}.Release|Win32.Build.0 = Release|Win32
- {709A954B-4F1E-4375-A418-BCBFFE598715}.Debug|Win32.ActiveCfg = Debug|Win32
- {709A954B-4F1E-4375-A418-BCBFFE598715}.Debug|Win32.Build.0 = Debug|Win32
- {709A954B-4F1E-4375-A418-BCBFFE598715}.Release|Win32.ActiveCfg = Release|Win32
- {709A954B-4F1E-4375-A418-BCBFFE598715}.Release|Win32.Build.0 = Release|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Debug|Win32.ActiveCfg = Debug|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Debug|Win32.Build.0 = Debug|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Release|Win32.ActiveCfg = Release|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Release|Win32.Build.0 = Release|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Debug|Win32.ActiveCfg = Debug|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Debug|Win32.Build.0 = Debug|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Release|Win32.ActiveCfg = Release|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Release|Win32.Build.0 = Release|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Debug|Win32.ActiveCfg = Debug|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Debug|Win32.Build.0 = Debug|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Release|Win32.ActiveCfg = Release|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Release|Win32.Build.0 = Release|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Debug|Win32.ActiveCfg = Debug|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Debug|Win32.Build.0 = Debug|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Release|Win32.ActiveCfg = Release|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Release|Win32.Build.0 = Release|Win32
- {F9F236A2-8B57-415A-8397-7145144400F5}.Debug|Win32.ActiveCfg = Debug|Win32
- {F9F236A2-8B57-415A-8397-7145144400F5}.Debug|Win32.Build.0 = Debug|Win32
- {F9F236A2-8B57-415A-8397-7145144400F5}.Release|Win32.ActiveCfg = Release|Win32
- {F9F236A2-8B57-415A-8397-7145144400F5}.Release|Win32.Build.0 = Release|Win32
- {03FC7556-1052-45FF-A162-90D595713EAB}.Debug|Win32.ActiveCfg = Debug|Win32
- {03FC7556-1052-45FF-A162-90D595713EAB}.Release|Win32.ActiveCfg = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/libs/filesystem/v3/test/msvc/filesystem_dll/filesystem_dll.vcproj b/libs/filesystem/v3/test/msvc/filesystem_dll/filesystem_dll.vcproj
deleted file mode 100644
index 1120bf3fd5..0000000000
--- a/libs/filesystem/v3/test/msvc/filesystem_dll/filesystem_dll.vcproj
+++ /dev/null
@@ -1,227 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="filesystem_dll"
- ProjectGUID="{FFD738F7-96F0-445C-81EA-551665EF53D1}"
- RootNamespace="filesystem_dll"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FILESYSTEM_DLL_EXPORTS"
- MinimalRebuild="true"
- ExceptionHandling="2"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;FILESYSTEM_DLL_EXPORTS"
- ExceptionHandling="2"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\src\codecvt_error_category.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\operations.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\path.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\path_traits.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\portability.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\unique_path.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\utf8_codecvt_facet.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\windows_file_codecvt.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/fstream_test/fstream_test.vcproj b/libs/filesystem/v3/test/msvc/fstream_test/fstream_test.vcproj
deleted file mode 100644
index 6eb91af5ad..0000000000
--- a/libs/filesystem/v3/test/msvc/fstream_test/fstream_test.vcproj
+++ /dev/null
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="fstream_test"
- ProjectGUID="{A9939CD7-BE1C-4334-947C-4C320D49B3CA}"
- RootNamespace="fstream_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\fstream_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/operations_test/operations_test.vcproj b/libs/filesystem/v3/test/msvc/operations_test/operations_test.vcproj
deleted file mode 100644
index 5e0cac2c72..0000000000
--- a/libs/filesystem/v3/test/msvc/operations_test/operations_test.vcproj
+++ /dev/null
@@ -1,194 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="operations_test"
- ProjectGUID="{8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}"
- RootNamespace="operations_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="BOOST_FILEYSTEM_INCLUDE_IOSTREAM"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot; -x"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot; -x"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\operations_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/operations_unit_test/operations_unit_test.vcproj b/libs/filesystem/v3/test/msvc/operations_unit_test/operations_unit_test.vcproj
deleted file mode 100644
index a5f95ed74a..0000000000
--- a/libs/filesystem/v3/test/msvc/operations_unit_test/operations_unit_test.vcproj
+++ /dev/null
@@ -1,197 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="operations_unit_test"
- ProjectGUID="{5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}"
- RootNamespace="operations_unit_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\operations_unit_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/path_test/path_test.vcproj b/libs/filesystem/v3/test/msvc/path_test/path_test.vcproj
deleted file mode 100644
index 1131adfa5d..0000000000
--- a/libs/filesystem/v3/test/msvc/path_test/path_test.vcproj
+++ /dev/null
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="path_test"
- ProjectGUID="{F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}"
- RootNamespace="path_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="BOOST_FILESYSTEM_PATH_CTOR_COUNT;WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\path_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/path_test_dynamic_link/path_test_dynamic_linkl.vcproj b/libs/filesystem/v3/test/msvc/path_test_dynamic_link/path_test_dynamic_linkl.vcproj
deleted file mode 100644
index 9a754ef7c9..0000000000
--- a/libs/filesystem/v3/test/msvc/path_test_dynamic_link/path_test_dynamic_linkl.vcproj
+++ /dev/null
@@ -1,201 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="path_test_dynamic_link"
- ProjectGUID="{54347DE3-6AA2-4466-A2EC-7176E0EC1110}"
- RootNamespace="path_test_dynamic_link"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\..\..\..\.."
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- ExceptionHandling="2"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories="..\..\..\..\.."
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;NDEBUG;_CONSOLE"
- ExceptionHandling="2"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\path_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/path_unit_test/path_unit_test.vcproj b/libs/filesystem/v3/test/msvc/path_unit_test/path_unit_test.vcproj
deleted file mode 100644
index 0f39d3bc59..0000000000
--- a/libs/filesystem/v3/test/msvc/path_unit_test/path_unit_test.vcproj
+++ /dev/null
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="path_unit_test"
- ProjectGUID="{3C77F610-2E31-4087-9DF2-7CD45198A02D}"
- RootNamespace="path_unit_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\path_unit_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/simple_ls/simple_ls.vcproj b/libs/filesystem/v3/test/msvc/simple_ls/simple_ls.vcproj
deleted file mode 100644
index 3d52d4becd..0000000000
--- a/libs/filesystem/v3/test/msvc/simple_ls/simple_ls.vcproj
+++ /dev/null
@@ -1,201 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="simple_ls"
- ProjectGUID="{6B8EC880-702E-418A-BC63-CA46C6CC7B27}"
- RootNamespace="simple_ls"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\..\..\..\.."
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories="..\..\..\..\.."
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\example\simple_ls.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/system_dll/system_dll.vcproj b/libs/filesystem/v3/test/msvc/system_dll/system_dll.vcproj
deleted file mode 100644
index 792371fd34..0000000000
--- a/libs/filesystem/v3/test/msvc/system_dll/system_dll.vcproj
+++ /dev/null
@@ -1,199 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="system_dll"
- ProjectGUID="{F94CCADD-A90B-480C-A304-C19D015D36B1}"
- RootNamespace="system_dll"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="2"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_ALL_DYN_LINK;WIN32;_DEBUG;_WINDOWS;_USRDLL;SYSTEM_DLL_EXPORTS"
- MinimalRebuild="true"
- ExceptionHandling="2"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="2"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_ALL_DYN_LINK;WIN32;NDEBUG;_WINDOWS;_USRDLL;SYSTEM_DLL_EXPORTS"
- ExceptionHandling="2"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\..\..\system\src\error_code.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/tchar_example/tchar_example.vcproj b/libs/filesystem/v3/test/msvc/tchar_example/tchar_example.vcproj
deleted file mode 100644
index 80548e2e8c..0000000000
--- a/libs/filesystem/v3/test/msvc/tchar_example/tchar_example.vcproj
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tchar_example"
- ProjectGUID="{2D4CD761-6DF6-40AC-B4A5-F169D5F93226}"
- RootNamespace="tchar_example"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(TEMP)\$(SolutionName)\$(ConfigurationName)"
- IntermediateDirectory="$(TEMP)\$(SolutionName)\$(ProjectName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- Description="Executing test $(TargetName).exe..."
- CommandLine="&quot;$(TargetDir)\$(TargetName).exe&quot;"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\..\system\src\error_code.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\operations.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\path.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\example\tchar.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/tut0/tut0.vcproj b/libs/filesystem/v3/test/msvc/tut0/tut0.vcproj
deleted file mode 100644
index fea6600ba4..0000000000
--- a/libs/filesystem/v3/test/msvc/tut0/tut0.vcproj
+++ /dev/null
@@ -1,190 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tut0"
- ProjectGUID="{6B5ABD07-0289-484D-BD96-6F1BC92677D3}"
- RootNamespace="tut0"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\example\tut0.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/tut1/tut1.vcproj b/libs/filesystem/v3/test/msvc/tut1/tut1.vcproj
deleted file mode 100644
index d288e52720..0000000000
--- a/libs/filesystem/v3/test/msvc/tut1/tut1.vcproj
+++ /dev/null
@@ -1,193 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tut1"
- ProjectGUID="{6376B8E4-7FD4-466B-978E-E8DA6E938689}"
- RootNamespace="tut1"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="4"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\example\tut1.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/tut2/tut2.vcproj b/libs/filesystem/v3/test/msvc/tut2/tut2.vcproj
deleted file mode 100644
index 47d157d8d7..0000000000
--- a/libs/filesystem/v3/test/msvc/tut2/tut2.vcproj
+++ /dev/null
@@ -1,189 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tut2"
- ProjectGUID="{CD69B175-389E-4F8F-85DC-03C56A47CD1D}"
- RootNamespace="tut2"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\example\tut2.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/tut3/tut3.vcproj b/libs/filesystem/v3/test/msvc/tut3/tut3.vcproj
deleted file mode 100644
index 37964b0efb..0000000000
--- a/libs/filesystem/v3/test/msvc/tut3/tut3.vcproj
+++ /dev/null
@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tut3"
- ProjectGUID="{4FF64FA7-6806-401D-865C-79DD064D4A9E}"
- RootNamespace="tut3"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\example\tut3.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/tut4/tut4.vcproj b/libs/filesystem/v3/test/msvc/tut4/tut4.vcproj
deleted file mode 100644
index 307b9b7cc0..0000000000
--- a/libs/filesystem/v3/test/msvc/tut4/tut4.vcproj
+++ /dev/null
@@ -1,189 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tut4"
- ProjectGUID="{256EA89A-E073-4CE8-B675-BE2FBC6B2691}"
- RootNamespace="tut4"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories=""
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\..\example\tut4.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc/wide_test/wide_test.vcproj b/libs/filesystem/v3/test/msvc/wide_test/wide_test.vcproj
deleted file mode 100644
index d16960254e..0000000000
--- a/libs/filesystem/v3/test/msvc/wide_test/wide_test.vcproj
+++ /dev/null
@@ -1,191 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="wide_test"
- ProjectGUID="{DE12E87D-87C1-4FF3-AF16-85097F2A5184}"
- RootNamespace="wide_test"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="1"
- InheritedPropertySheets="..\common.vsprops"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\wide_test.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/libs/filesystem/v3/test/msvc10/common.props b/libs/filesystem/v3/test/msvc10/common.props
deleted file mode 100644
index a341a589c5..0000000000
--- a/libs/filesystem/v3/test/msvc10/common.props
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir>$(TEMP)\$(SolutionName)\$(Configuration)\</OutDir>
- <IntDir>$(TEMP)\$(SolutionName)\$(ProjectName)\$(Configuration)\</IntDir>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <ClCompile>
- <AdditionalIncludeDirectories>../../../../../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>BOOST_FILESYSTEM_VERSION=3;BOOST_SYSTEM_NO_DEPRECATED;BOOST_ALL_NO_LIB;BOOST_ALL_DYN_LINK;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <ExceptionHandling>Async</ExceptionHandling>
- <DisableLanguageExtensions>false</DisableLanguageExtensions>
- <WarningLevel>Level4</WarningLevel>
- </ClCompile>
- <Link>
- <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- </Link>
- </ItemDefinitionGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/convenience_test/convenience_test.vcxproj b/libs/filesystem/v3/test/msvc10/convenience_test/convenience_test.vcxproj
deleted file mode 100644
index 437ebf6b90..0000000000
--- a/libs/filesystem/v3/test/msvc10/convenience_test/convenience_test.vcxproj
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{08986FB5-0C83-4BC4-92DF-05E12E1C03C1}</ProjectGuid>
- <RootNamespace>convenience_test</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\convenience_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/deprecated_test/deprecated_test.vcxproj b/libs/filesystem/v3/test/msvc10/deprecated_test/deprecated_test.vcxproj
deleted file mode 100644
index c16b17707a..0000000000
--- a/libs/filesystem/v3/test/msvc10/deprecated_test/deprecated_test.vcxproj
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{D73BC50F-956E-4A44-BF9F-A8BB80DF0000}</ProjectGuid>
- <RootNamespace>deprecated_test</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_FILESYSTEM_DYN_LINK;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\deprecated_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/file_status/file_status.vcxproj b/libs/filesystem/v3/test/msvc10/file_status/file_status.vcxproj
deleted file mode 100644
index dc8adc23dd..0000000000
--- a/libs/filesystem/v3/test/msvc10/file_status/file_status.vcxproj
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{43C4B4D8-0893-4C86-B9FD-6A7DEB1A4426}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>file_status</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <PostBuildEvent>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- <Message>Executing test $(TargetName).exe...</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <PostBuildEvent>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- <Message>Executing test $(TargetName).exe...</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\file_status.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/filesystem-v3.sln b/libs/filesystem/v3/test/msvc10/filesystem-v3.sln
deleted file mode 100644
index 7f92726173..0000000000
--- a/libs/filesystem/v3/test/msvc10/filesystem-v3.sln
+++ /dev/null
@@ -1,190 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual C++ Express 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "path_unit_test", "path_unit_test\path_unit_test.vcxproj", "{3C77F610-2E31-4087-9DF2-7CD45198A02D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "operations_unit_test", "operations_unit_test\operations_unit_test.vcxproj", "{5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "operations_test", "operations_test\operations_test.vcxproj", "{8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "path_test", "path_test\path_test.vcxproj", "{F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "system_dll", "system_dll\system_dll.vcxproj", "{F94CCADD-A90B-480C-A304-C19D015D36B1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filesystem_dll", "filesystem_dll\filesystem_dll.vcxproj", "{FFD738F7-96F0-445C-81EA-551665EF53D1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "convenience_test", "convenience_test\convenience_test.vcxproj", "{08986FB5-0C83-4BC4-92DF-05E12E1C03C1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fstream_test", "fstream_test\fstream_test.vcxproj", "{A9939CD7-BE1C-4334-947C-4C320D49B3CA}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "deprecated_test", "deprecated_test\deprecated_test.vcxproj", "{D73BC50F-956E-4A44-BF9F-A8BB80DF0000}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut1", "tut1\tut1.vcxproj", "{6376B8E4-7FD4-466B-978E-E8DA6E938689}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut3", "tut3\tut3.vcxproj", "{4FF64FA7-6806-401D-865C-79DD064D4A9E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut2", "tut2\tut2.vcxproj", "{CD69B175-389E-4F8F-85DC-03C56A47CD1D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut4", "tut4\tut4.vcxproj", "{256EA89A-E073-4CE8-B675-BE2FBC6B2691}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "windows_attributes", "windows_attributes\windows_attributes.vcxproj", "{FC5C770F-3017-4021-8DAF-C5DCA3FDF005}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut5", "tut5\tut5.vcxproj", "{5C9B3380-3C6E-45CC-986A-16D245E27E58}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut6a", "tut6a\tut6a.vcxproj", "{C781F9C4-31D4-4509-B031-84DB598B207D}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut6b", "tut6b\tut6b.vcxproj", "{4A77CA6A-8E72-4CC6-9FE7-2C555C51815C}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tut6c", "tut6c\tut6c.vcxproj", "{17C6DD1B-EF6F-4561-B4FF-CF39F975ED29}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "stems", "stems\stems.vcxproj", "{23C735E1-0195-467F-BE9F-314829402FCF}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "long_path_test", "long_path_test\long_path_test.vcxproj", "{1A6A7DAF-8705-4B2B-83B5-93F84A63496C}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "file_status", "file_status\file_status.vcxproj", "{43C4B4D8-0893-4C86-B9FD-6A7DEB1A4426}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "locale_info", "locale_info\locale_info.vcxproj", "{3667C35E-78D5-43D4-AAC2-349145E4341D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "thread_test", "thread_test\thread_test.vcxproj", "{20E2805D-9634-46CE-B979-21CCBBD16EA3}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "symlinked_cpp", "symlinked_cpp\symlinked_cpp.vcxproj", "{E37919AE-1A38-4E61-8E5E-FE4F981C6BFD}"
- ProjectSection(ProjectDependencies) = postProject
- {F94CCADD-A90B-480C-A304-C19D015D36B1} = {F94CCADD-A90B-480C-A304-C19D015D36B1}
- {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1}
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Debug|Win32.ActiveCfg = Debug|Win32
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Debug|Win32.Build.0 = Debug|Win32
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Release|Win32.ActiveCfg = Release|Win32
- {3C77F610-2E31-4087-9DF2-7CD45198A02D}.Release|Win32.Build.0 = Release|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Debug|Win32.ActiveCfg = Debug|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Debug|Win32.Build.0 = Debug|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Release|Win32.ActiveCfg = Release|Win32
- {5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}.Release|Win32.Build.0 = Release|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Debug|Win32.ActiveCfg = Debug|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Debug|Win32.Build.0 = Debug|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Release|Win32.ActiveCfg = Release|Win32
- {8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}.Release|Win32.Build.0 = Release|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Debug|Win32.ActiveCfg = Debug|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Debug|Win32.Build.0 = Debug|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Release|Win32.ActiveCfg = Release|Win32
- {F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}.Release|Win32.Build.0 = Release|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Debug|Win32.ActiveCfg = Debug|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Debug|Win32.Build.0 = Debug|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Release|Win32.ActiveCfg = Release|Win32
- {F94CCADD-A90B-480C-A304-C19D015D36B1}.Release|Win32.Build.0 = Release|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Debug|Win32.ActiveCfg = Debug|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Debug|Win32.Build.0 = Debug|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Release|Win32.ActiveCfg = Release|Win32
- {FFD738F7-96F0-445C-81EA-551665EF53D1}.Release|Win32.Build.0 = Release|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Debug|Win32.ActiveCfg = Debug|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Debug|Win32.Build.0 = Debug|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Release|Win32.ActiveCfg = Release|Win32
- {08986FB5-0C83-4BC4-92DF-05E12E1C03C1}.Release|Win32.Build.0 = Release|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Debug|Win32.ActiveCfg = Debug|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Debug|Win32.Build.0 = Debug|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Release|Win32.ActiveCfg = Release|Win32
- {A9939CD7-BE1C-4334-947C-4C320D49B3CA}.Release|Win32.Build.0 = Release|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Debug|Win32.ActiveCfg = Debug|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Debug|Win32.Build.0 = Debug|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Release|Win32.ActiveCfg = Release|Win32
- {D73BC50F-956E-4A44-BF9F-A8BB80DF0000}.Release|Win32.Build.0 = Release|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Debug|Win32.ActiveCfg = Debug|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Debug|Win32.Build.0 = Debug|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Release|Win32.ActiveCfg = Release|Win32
- {6376B8E4-7FD4-466B-978E-E8DA6E938689}.Release|Win32.Build.0 = Release|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Debug|Win32.ActiveCfg = Debug|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Debug|Win32.Build.0 = Debug|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Release|Win32.ActiveCfg = Release|Win32
- {4FF64FA7-6806-401D-865C-79DD064D4A9E}.Release|Win32.Build.0 = Release|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Debug|Win32.ActiveCfg = Debug|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Debug|Win32.Build.0 = Debug|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Release|Win32.ActiveCfg = Release|Win32
- {CD69B175-389E-4F8F-85DC-03C56A47CD1D}.Release|Win32.Build.0 = Release|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Debug|Win32.ActiveCfg = Debug|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Debug|Win32.Build.0 = Debug|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Release|Win32.ActiveCfg = Release|Win32
- {256EA89A-E073-4CE8-B675-BE2FBC6B2691}.Release|Win32.Build.0 = Release|Win32
- {FC5C770F-3017-4021-8DAF-C5DCA3FDF005}.Debug|Win32.ActiveCfg = Debug|Win32
- {FC5C770F-3017-4021-8DAF-C5DCA3FDF005}.Debug|Win32.Build.0 = Debug|Win32
- {FC5C770F-3017-4021-8DAF-C5DCA3FDF005}.Release|Win32.ActiveCfg = Release|Win32
- {FC5C770F-3017-4021-8DAF-C5DCA3FDF005}.Release|Win32.Build.0 = Release|Win32
- {5C9B3380-3C6E-45CC-986A-16D245E27E58}.Debug|Win32.ActiveCfg = Debug|Win32
- {5C9B3380-3C6E-45CC-986A-16D245E27E58}.Debug|Win32.Build.0 = Debug|Win32
- {5C9B3380-3C6E-45CC-986A-16D245E27E58}.Release|Win32.ActiveCfg = Release|Win32
- {5C9B3380-3C6E-45CC-986A-16D245E27E58}.Release|Win32.Build.0 = Release|Win32
- {C781F9C4-31D4-4509-B031-84DB598B207D}.Debug|Win32.ActiveCfg = Debug|Win32
- {C781F9C4-31D4-4509-B031-84DB598B207D}.Debug|Win32.Build.0 = Debug|Win32
- {C781F9C4-31D4-4509-B031-84DB598B207D}.Release|Win32.ActiveCfg = Release|Win32
- {C781F9C4-31D4-4509-B031-84DB598B207D}.Release|Win32.Build.0 = Release|Win32
- {4A77CA6A-8E72-4CC6-9FE7-2C555C51815C}.Debug|Win32.ActiveCfg = Debug|Win32
- {4A77CA6A-8E72-4CC6-9FE7-2C555C51815C}.Debug|Win32.Build.0 = Debug|Win32
- {4A77CA6A-8E72-4CC6-9FE7-2C555C51815C}.Release|Win32.ActiveCfg = Release|Win32
- {4A77CA6A-8E72-4CC6-9FE7-2C555C51815C}.Release|Win32.Build.0 = Release|Win32
- {17C6DD1B-EF6F-4561-B4FF-CF39F975ED29}.Debug|Win32.ActiveCfg = Debug|Win32
- {17C6DD1B-EF6F-4561-B4FF-CF39F975ED29}.Debug|Win32.Build.0 = Debug|Win32
- {17C6DD1B-EF6F-4561-B4FF-CF39F975ED29}.Release|Win32.ActiveCfg = Release|Win32
- {17C6DD1B-EF6F-4561-B4FF-CF39F975ED29}.Release|Win32.Build.0 = Release|Win32
- {23C735E1-0195-467F-BE9F-314829402FCF}.Debug|Win32.ActiveCfg = Debug|Win32
- {23C735E1-0195-467F-BE9F-314829402FCF}.Debug|Win32.Build.0 = Debug|Win32
- {23C735E1-0195-467F-BE9F-314829402FCF}.Release|Win32.ActiveCfg = Release|Win32
- {23C735E1-0195-467F-BE9F-314829402FCF}.Release|Win32.Build.0 = Release|Win32
- {1A6A7DAF-8705-4B2B-83B5-93F84A63496C}.Debug|Win32.ActiveCfg = Debug|Win32
- {1A6A7DAF-8705-4B2B-83B5-93F84A63496C}.Debug|Win32.Build.0 = Debug|Win32
- {1A6A7DAF-8705-4B2B-83B5-93F84A63496C}.Release|Win32.ActiveCfg = Release|Win32
- {1A6A7DAF-8705-4B2B-83B5-93F84A63496C}.Release|Win32.Build.0 = Release|Win32
- {43C4B4D8-0893-4C86-B9FD-6A7DEB1A4426}.Debug|Win32.ActiveCfg = Debug|Win32
- {43C4B4D8-0893-4C86-B9FD-6A7DEB1A4426}.Debug|Win32.Build.0 = Debug|Win32
- {43C4B4D8-0893-4C86-B9FD-6A7DEB1A4426}.Release|Win32.ActiveCfg = Release|Win32
- {43C4B4D8-0893-4C86-B9FD-6A7DEB1A4426}.Release|Win32.Build.0 = Release|Win32
- {3667C35E-78D5-43D4-AAC2-349145E4341D}.Debug|Win32.ActiveCfg = Debug|Win32
- {3667C35E-78D5-43D4-AAC2-349145E4341D}.Debug|Win32.Build.0 = Debug|Win32
- {3667C35E-78D5-43D4-AAC2-349145E4341D}.Release|Win32.ActiveCfg = Release|Win32
- {3667C35E-78D5-43D4-AAC2-349145E4341D}.Release|Win32.Build.0 = Release|Win32
- {20E2805D-9634-46CE-B979-21CCBBD16EA3}.Debug|Win32.ActiveCfg = Debug|Win32
- {20E2805D-9634-46CE-B979-21CCBBD16EA3}.Debug|Win32.Build.0 = Debug|Win32
- {20E2805D-9634-46CE-B979-21CCBBD16EA3}.Release|Win32.ActiveCfg = Release|Win32
- {20E2805D-9634-46CE-B979-21CCBBD16EA3}.Release|Win32.Build.0 = Release|Win32
- {E37919AE-1A38-4E61-8E5E-FE4F981C6BFD}.Debug|Win32.ActiveCfg = Debug|Win32
- {E37919AE-1A38-4E61-8E5E-FE4F981C6BFD}.Debug|Win32.Build.0 = Debug|Win32
- {E37919AE-1A38-4E61-8E5E-FE4F981C6BFD}.Release|Win32.ActiveCfg = Release|Win32
- {E37919AE-1A38-4E61-8E5E-FE4F981C6BFD}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/libs/filesystem/v3/test/msvc10/filesystem_dll/filesystem_dll.vcxproj b/libs/filesystem/v3/test/msvc10/filesystem_dll/filesystem_dll.vcxproj
deleted file mode 100644
index 64d97fc53b..0000000000
--- a/libs/filesystem/v3/test/msvc10/filesystem_dll/filesystem_dll.vcxproj
+++ /dev/null
@@ -1,110 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{FFD738F7-96F0-445C-81EA-551665EF53D1}</ProjectGuid>
- <RootNamespace>filesystem_dll</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TEMP)\$(SolutionName)\$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TEMP)\$(SolutionName)\$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;FILESYSTEM_DLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <ExceptionHandling>Async</ExceptionHandling>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FILESYSTEM_DLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <ExceptionHandling>Async</ExceptionHandling>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\src\codecvt_error_category.cpp" />
- <ClCompile Include="..\..\..\src\operations.cpp" />
- <ClCompile Include="..\..\..\src\path.cpp" />
- <ClCompile Include="..\..\..\src\path_traits.cpp" />
- <ClCompile Include="..\..\..\src\portability.cpp" />
- <ClCompile Include="..\..\..\src\unique_path.cpp" />
- <ClCompile Include="..\..\..\src\utf8_codecvt_facet.cpp" />
- <ClCompile Include="..\..\..\src\windows_file_codecvt.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/fstream_test/fstream_test.vcxproj b/libs/filesystem/v3/test/msvc10/fstream_test/fstream_test.vcxproj
deleted file mode 100644
index 90ed1fb262..0000000000
--- a/libs/filesystem/v3/test/msvc10/fstream_test/fstream_test.vcxproj
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{A9939CD7-BE1C-4334-947C-4C320D49B3CA}</ProjectGuid>
- <RootNamespace>fstream_test</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\fstream_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/locale_info/locale_info.vcxproj b/libs/filesystem/v3/test/msvc10/locale_info/locale_info.vcxproj
deleted file mode 100644
index e2ce0eb6bc..0000000000
--- a/libs/filesystem/v3/test/msvc10/locale_info/locale_info.vcxproj
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{3667C35E-78D5-43D4-AAC2-349145E4341D}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>locale_info</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <PostBuildEvent>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <PostBuildEvent>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\locale_info.cpp" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/long_path_test/long_path_test.vcxproj b/libs/filesystem/v3/test/msvc10/long_path_test/long_path_test.vcxproj
deleted file mode 100644
index c8cc1910bb..0000000000
--- a/libs/filesystem/v3/test/msvc10/long_path_test/long_path_test.vcxproj
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{1A6A7DAF-8705-4B2B-83B5-93F84A63496C}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>long_path_test</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <PostBuildEvent>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- <Message>Executing test $(TargetName).exe...</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <PostBuildEvent>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- <Message>Executing test $(TargetName).exe...</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\long_path_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/operations_test/operations_test.vcxproj b/libs/filesystem/v3/test/msvc10/operations_test/operations_test.vcxproj
deleted file mode 100644
index b7bd47aea7..0000000000
--- a/libs/filesystem/v3/test/msvc10/operations_test/operations_test.vcxproj
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{8BB7E604-46EF-42BE-ABB5-D7044B3E8A40}</ProjectGuid>
- <RootNamespace>operations_test</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>BOOST_FILEYSTEM_INCLUDE_IOSTREAM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe" -x</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe" -x</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\operations_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/operations_unit_test/operations_unit_test.vcxproj b/libs/filesystem/v3/test/msvc10/operations_unit_test/operations_unit_test.vcxproj
deleted file mode 100644
index 2bc35c34d0..0000000000
--- a/libs/filesystem/v3/test/msvc10/operations_unit_test/operations_unit_test.vcxproj
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{5DAF595A-4640-4F86-8A5F-E54E3E4CE7D0}</ProjectGuid>
- <RootNamespace>operations_unit_test</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\operations_unit_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/path_test/path_test.vcxproj b/libs/filesystem/v3/test/msvc10/path_test/path_test.vcxproj
deleted file mode 100644
index 9f2698402e..0000000000
--- a/libs/filesystem/v3/test/msvc10/path_test/path_test.vcxproj
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{F3D230C4-9185-4C2B-AB0E-0F0D28D8268C}</ProjectGuid>
- <RootNamespace>path_test</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>BOOST_FILESYSTEM_PATH_CTOR_COUNT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\path_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/path_unit_test/path_unit_test.vcxproj b/libs/filesystem/v3/test/msvc10/path_unit_test/path_unit_test.vcxproj
deleted file mode 100644
index c1203bbd85..0000000000
--- a/libs/filesystem/v3/test/msvc10/path_unit_test/path_unit_test.vcxproj
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{3C77F610-2E31-4087-9DF2-7CD45198A02D}</ProjectGuid>
- <RootNamespace>path_unit_test</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- <PostBuildEvent>
- <Message>Executing test $(TargetName).exe...</Message>
- <Command>"$(TargetDir)\$(TargetName).exe"</Command>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\path_unit_test.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/stems/stems.vcxproj b/libs/filesystem/v3/test/msvc10/stems/stems.vcxproj
deleted file mode 100644
index 6ed20eebdd..0000000000
--- a/libs/filesystem/v3/test/msvc10/stems/stems.vcxproj
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{23C735E1-0195-467F-BE9F-314829402FCF}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>stems</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\stems.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/system_dll/system_dll.vcxproj b/libs/filesystem/v3/test/msvc10/system_dll/system_dll.vcxproj
deleted file mode 100644
index dd8a490207..0000000000
--- a/libs/filesystem/v3/test/msvc10/system_dll/system_dll.vcxproj
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{F94CCADD-A90B-480C-A304-C19D015D36B1}</ProjectGuid>
- <RootNamespace>system_dll</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TEMP)\$(SolutionName)\$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TEMP)\$(SolutionName)\$(ProjectName)\$(Configuration)\</IntDir>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TEMP)\$(SolutionName)\$(Configuration)\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TEMP)\$(SolutionName)\$(ProjectName)\$(Configuration)\</IntDir>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>BOOST_ALL_NO_LIB;BOOST_ALL_DYN_LINK;WIN32;_DEBUG;_WINDOWS;_USRDLL;SYSTEM_DLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <ExceptionHandling>Async</ExceptionHandling>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>BOOST_ALL_NO_LIB;BOOST_ALL_DYN_LINK;WIN32;NDEBUG;_WINDOWS;_USRDLL;SYSTEM_DLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <ExceptionHandling>Async</ExceptionHandling>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Windows</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\..\..\system\src\error_code.cpp" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut1/tut1.vcxproj b/libs/filesystem/v3/test/msvc10/tut1/tut1.vcxproj
deleted file mode 100644
index 4c2db0a437..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut1/tut1.vcxproj
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{6376B8E4-7FD4-466B-978E-E8DA6E938689}</ProjectGuid>
- <RootNamespace>tut1</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut1.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut2/tut2.vcxproj b/libs/filesystem/v3/test/msvc10/tut2/tut2.vcxproj
deleted file mode 100644
index 4e550c9e0c..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut2/tut2.vcxproj
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{CD69B175-389E-4F8F-85DC-03C56A47CD1D}</ProjectGuid>
- <RootNamespace>tut2</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut2.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut3/tut3.vcxproj b/libs/filesystem/v3/test/msvc10/tut3/tut3.vcxproj
deleted file mode 100644
index ddce9f8ca9..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut3/tut3.vcxproj
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{4FF64FA7-6806-401D-865C-79DD064D4A9E}</ProjectGuid>
- <RootNamespace>tut3</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut3.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut4/tut4.vcxproj b/libs/filesystem/v3/test/msvc10/tut4/tut4.vcxproj
deleted file mode 100644
index 9f838c2877..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut4/tut4.vcxproj
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{256EA89A-E073-4CE8-B675-BE2FBC6B2691}</ProjectGuid>
- <RootNamespace>tut4</RootNamespace>
- <Keyword>Win32Proj</Keyword>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>MaxSpeed</Optimization>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>Console</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <TargetMachine>MachineX86</TargetMachine>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut4.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut5/tut5.vcxproj b/libs/filesystem/v3/test/msvc10/tut5/tut5.vcxproj
deleted file mode 100644
index bab4052952..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut5/tut5.vcxproj
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{5C9B3380-3C6E-45CC-986A-16D245E27E58}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>tut5</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut5.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut6a/tut6a.vcxproj b/libs/filesystem/v3/test/msvc10/tut6a/tut6a.vcxproj
deleted file mode 100644
index 2794be5dbf..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut6a/tut6a.vcxproj
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{C781F9C4-31D4-4509-B031-84DB598B207D}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>tut6a</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut6a.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut6b/tut6b.vcxproj b/libs/filesystem/v3/test/msvc10/tut6b/tut6b.vcxproj
deleted file mode 100644
index b2be1370a9..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut6b/tut6b.vcxproj
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{4A77CA6A-8E72-4CC6-9FE7-2C555C51815C}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>tut6b</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut6b.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/tut6c/tut6c.vcxproj b/libs/filesystem/v3/test/msvc10/tut6c/tut6c.vcxproj
deleted file mode 100644
index e06f948fbb..0000000000
--- a/libs/filesystem/v3/test/msvc10/tut6c/tut6c.vcxproj
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{17C6DD1B-EF6F-4561-B4FF-CF39F975ED29}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>tut6c</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\..\example\tut6c.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/msvc10/windows_attributes/windows_attributes.vcxproj b/libs/filesystem/v3/test/msvc10/windows_attributes/windows_attributes.vcxproj
deleted file mode 100644
index cd0e68e88a..0000000000
--- a/libs/filesystem/v3/test/msvc10/windows_attributes/windows_attributes.vcxproj
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{FC5C770F-3017-4021-8DAF-C5DCA3FDF005}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>windows_attributes</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\common.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\windows_attributes.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\filesystem_dll\filesystem_dll.vcxproj">
- <Project>{ffd738f7-96f0-445c-81ea-551665ef53d1}</Project>
- </ProjectReference>
- <ProjectReference Include="..\system_dll\system_dll.vcxproj">
- <Project>{f94ccadd-a90b-480c-a304-c19d015d36b1}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/libs/filesystem/v3/test/operations_test.cpp b/libs/filesystem/v3/test/operations_test.cpp
deleted file mode 100644
index 610f27fca1..0000000000
--- a/libs/filesystem/v3/test/operations_test.cpp
+++ /dev/null
@@ -1,2005 +0,0 @@
-// Boost operations_test.cpp ---------------------------------------------------------//
-
-// Copyright Beman Dawes 2002, 2009.
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-#include <boost/config/warning_disable.hpp>
-
-// See deprecated_test for tests of deprecated features
-#ifndef BOOST_FILESYSTEM_NO_DEPRECATED
-# define BOOST_FILESYSTEM_NO_DEPRECATED
-#endif
-#ifndef BOOST_SYSTEM_NO_DEPRECATED
-# define BOOST_SYSTEM_NO_DEPRECATED
-#endif
-
-#include <boost/filesystem/operations.hpp>
-#include <boost/cerrno.hpp>
-namespace fs = boost::filesystem;
-
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-
-using boost::system::error_code;
-using boost::system::system_category;
-using boost::system::system_error;
-
-#include <fstream>
-#include <iostream>
-
-using std::cout;
-using std::endl;
-
-#include <string>
-#include <vector>
-#include <algorithm>
-#include <cstring> // for strncmp, etc.
-#include <ctime>
-#include <cstdlib> // for system(), getenv(), etc.
-
-#ifdef BOOST_WINDOWS_API
-# include <windows.h>
-
-inline std::wstring convert(const char* c)
-{
- std::string s(c);
-
- return std::wstring(s.begin(), s.end());
-}
-
-inline int setenv(const char* name, const fs::path::value_type* val, int)
-{
- return SetEnvironmentVariableW(convert(name).c_str(), val);
-}
-
-inline int setenv(const char* name, const char* val, int)
-{
- return SetEnvironmentVariableW(convert(name).c_str(), convert(val).c_str());
-}
-
-inline int unsetenv(const char* name)
-{
- return SetEnvironmentVariableW(convert(name).c_str(), 0);
-}
-
-#else
-
-#include <stdlib.h> // allow unqualifed calls to env funcs on SunOS
-
-#endif
-
-// on Windows, except for standard libaries known to have wchar_t overloads for
-// file stream I/O, use path::string() to get a narrow character c_str()
-#if defined(BOOST_WINDOWS_API) \
- && (!defined(_CPPLIB_VER) || _CPPLIB_VER < 405) // not Dinkumware || no wide overloads
-# define BOOST_FILESYSTEM_C_STR string().c_str() // use narrow, since wide not available
-#else // use the native c_str, which will be narrow on POSIX, wide on Windows
-# define BOOST_FILESYSTEM_C_STR c_str()
-#endif
-
-#define CHECK_EXCEPTION(Functor,Expect) throws_fs_error(Functor,Expect,__LINE__)
-
-namespace
-{
- typedef int errno_t;
- std::string platform(BOOST_PLATFORM);
- bool report_throws = false;
- bool cleanup = true;
- bool skip_long_windows_tests = false;
-
- fs::directory_iterator end_itr;
- fs::path dir;
- fs::path d1;
- fs::path d2;
- fs::path f0;
- fs::path f1;
- fs::path d1f1;
-
- bool create_symlink_ok(true);
-
- fs::path ng(" no-way, Jose");
-
- unsigned short language_id; // 0 except for Windows
-
- const char* temp_dir_name = "v3_operations_test";
-
- void create_file(const fs::path & ph, const std::string & contents = std::string())
- {
- std::ofstream f(ph.BOOST_FILESYSTEM_C_STR);
- if (!f)
- throw fs::filesystem_error("operations_test create_file",
- ph, error_code(errno, system_category()));
- if (!contents.empty()) f << contents;
- }
-
- void verify_file(const fs::path & ph, const std::string & expected)
- {
- std::ifstream f(ph.BOOST_FILESYSTEM_C_STR);
- if (!f)
- throw fs::filesystem_error("operations_test verify_file",
- ph, error_code(errno, system_category()));
- std::string contents;
- f >> contents;
- if (contents != expected)
- throw fs::filesystem_error("operations_test verify_file contents \""
- + contents + "\" != \"" + expected + "\"", ph, error_code());
- }
-
- template< typename F >
- bool throws_fs_error(F func, errno_t en, int line)
- {
- try { func(); }
-
- catch (const fs::filesystem_error & ex)
- {
- if (report_throws)
- {
- // use the what() convenience function to display exceptions
- cout << "\n" << ex.what() << "\n";
- }
- if (en == 0
- || en == ex.code().default_error_condition().value()) return true;
- cout
- << "\nWarning: line " << line
- << " exception reports default_error_condition().value() "
- << ex.code().default_error_condition().value()
- << ", should be " << en
- << "\n value() is " << ex.code().value()
- << endl;
- return true;
- }
- return false;
- }
-
- boost::system::error_category* poison_category_aux() { return 0; }
- boost::system::error_category& poison_category() { return *poison_category_aux(); }
-
- // compile-only two argument "do-the-right-thing" tests
- // verifies that all overload combinations compile without error
- void do_not_call()
- {
- fs::path p;
- std::string s;
- const char* a = 0;
- fs::copy_file(p, p);
- fs::copy_file(s, p);
- fs::copy_file(a, p);
- fs::copy_file(p, s);
- fs::copy_file(p, a);
- fs::copy_file(s, s);
- fs::copy_file(a, s);
- fs::copy_file(s, a);
- fs::copy_file(a, a);
- }
-
- void bad_file_size()
- {
- fs::file_size(" No way, Jose");
- }
-
- void bad_directory_size()
- {
- fs::file_size(fs::current_path());
- }
-
- fs::path bad_create_directory_path;
- void bad_create_directory()
- {
- fs::create_directory(bad_create_directory_path);
- }
-
- void bad_equivalent()
- {
- fs::equivalent("no-such-path", "another-not-present-path");
- }
-
- fs::path bad_remove_dir;
- void bad_remove()
- {
- fs::remove(bad_remove_dir);
- }
-
- class renamer
- {
- public:
- renamer(const fs::path & p1, const fs::path & p2)
- : from(p1), to(p2) {}
- void operator()()
- {
- fs::rename(from, to);
- }
- private:
- fs::path from;
- fs::path to;
- };
-
- //------------------------------ debugging aids --------------------------------------//
-
- std::ostream& operator<<(std::ostream& os, const fs::file_status& s)
- {
- if (s.type() == fs::status_error) { os << "status_error"; }
- else if (s.type() == fs::file_not_found) { os << "file_not_found"; }
- else if (s.type() == fs::regular_file) { os << "regular_file"; }
- else if (s.type() == fs::directory_file) { os << "directory_file"; }
- else if (s.type() == fs::symlink_file) { os << "symlink_file"; }
- else if (s.type() == fs::block_file) { os << "block_file"; }
- else if (s.type() == fs::character_file) { os << "character_file"; }
- else if (s.type() == fs::fifo_file) { os << "fifo_file"; }
- else if (s.type() == fs::socket_file) { os << "socket_file"; }
- else if (s.type() == fs::reparse_file) { os << "reparse_file"; }
- else if (s.type() == fs::type_unknown) { os << "type_unknown"; }
- else { os << "_detail_directory_symlink"; }
- return os;
- }
-
- void dump_tree(const fs::path & root)
- {
- cout << "dumping tree rooted at " << root << endl;
- for (fs::recursive_directory_iterator it (root, fs::symlink_option::recurse);
- it != fs::recursive_directory_iterator();
- ++it)
- {
- for (int i = 0; i <= it.level(); ++i)
- cout << " ";
-
- cout << it->path();
- if (fs::is_symlink(it->path()))
- {
- cout << " [symlink]" << endl;
- }
- else
- cout << endl;
- }
- }
-
- // exception_tests() ---------------------------------------------------------------//
-
- void exception_tests()
- {
- cout << "exception_tests..." << endl;
- bool exception_thrown;
-
- // catch runtime_error by value
-
- cout << " catch runtime_error by value" << endl;
- exception_thrown = false;
- try
- {
- fs::create_directory("no-such-dir/foo/bar");
- }
- catch (std::runtime_error x)
- {
- exception_thrown = true;
- if (report_throws) cout << x.what() << endl;
- if (platform == "Windows" && language_id == 0x0409) // English (United States)
- // the stdcxx standard library apparently appends additional info
- // to what(), so check only the initial portion:
- BOOST_TEST(std::strncmp(x.what(),
- "boost::filesystem::create_directory",
- sizeof("boost::filesystem::create_directory")-1) == 0);
- }
- BOOST_TEST(exception_thrown);
-
- // catch system_error by value
-
- cout << " catch system_error by value" << endl;
- exception_thrown = false;
- try
- {
- fs::create_directory("no-such-dir/foo/bar");
- }
- catch (system_error x)
- {
- exception_thrown = true;
- if (report_throws) cout << x.what() << endl;
- if (platform == "Windows" && language_id == 0x0409) // English (United States)
- BOOST_TEST(std::strcmp(x.what(),
- "boost::filesystem::create_directory: The system cannot find the path specified") == 0);
- }
- BOOST_TEST(exception_thrown);
-
- // catch filesystem_error by value
-
- cout << " catch filesystem_error by value" << endl;
- exception_thrown = false;
- try
- {
- fs::create_directory("no-such-dir/foo/bar");
- }
- catch (fs::filesystem_error x)
- {
- exception_thrown = true;
- if (report_throws) cout << x.what() << endl;
- if (platform == "Windows" && language_id == 0x0409) // English (United States)
- {
- bool ok (std::strcmp(x.what(),
- "boost::filesystem::create_directory: The system cannot find the path specified: \"no-such-dir/foo/bar\"") == 0);
- BOOST_TEST(ok);
- if (!ok)
- {
- cout << "what returns \"" << x.what() << "\"" << endl;
- }
- }
- }
- BOOST_TEST(exception_thrown);
-
- // catch filesystem_error by const reference
-
- cout << " catch filesystem_error by const reference" << endl;
- exception_thrown = false;
- try
- {
- fs::create_directory("no-such-dir/foo/bar");
- }
- catch (const fs::filesystem_error & x)
- {
- exception_thrown = true;
- if (report_throws) cout << x.what() << endl;
- if (platform == "Windows" && language_id == 0x0409) // English (United States)
- {
- bool ok (std::strcmp(x.what(),
- "boost::filesystem::create_directory: The system cannot find the path specified: \"no-such-dir/foo/bar\"") == 0);
- BOOST_TEST(ok);
- if (!ok)
- {
- cout << "what returns \"" << x.what() << "\"" << endl;
- }
- }
- }
- BOOST_TEST(exception_thrown);
-
- // the bound functions should throw, so CHECK_EXCEPTION() should return true
-
- BOOST_TEST(CHECK_EXCEPTION(bad_file_size, ENOENT));
-
- if (platform == "Windows")
- BOOST_TEST(CHECK_EXCEPTION(bad_directory_size, ENOENT));
- else
- BOOST_TEST(CHECK_EXCEPTION(bad_directory_size, 0));
-
- // test path::exception members
- try { fs::file_size(ng); } // will throw
-
- catch (const fs::filesystem_error & ex)
- {
- BOOST_TEST(ex.path1().string() == " no-way, Jose");
- }
-
- cout << " exception_tests complete" << endl;
- }
-
- // create a directory tree that can be used by subsequent tests ---------------------//
- //
- // dir
- // d1
- // d1f1 // an empty file
- // f0 // an empty file
- // f1 // a file containing "file-f1"
-
- void create_tree()
- {
- cout << "creating test directories and files in " << dir << endl;
-
- // create directory d1
- BOOST_TEST(!fs::create_directory(dir));
- BOOST_TEST(!fs::is_symlink(dir));
- BOOST_TEST(!fs::is_symlink("nosuchfileordirectory"));
- d1 = dir / "d1";
- BOOST_TEST(fs::create_directory(d1));
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(fs::is_directory(d1));
- BOOST_TEST(fs::is_empty(d1));
-
- // create an empty file named "d1f1"
- d1f1 = d1 / "d1f1";
- create_file(d1f1, "");
- BOOST_TEST(fs::exists(d1f1));
- BOOST_TEST(!fs::is_directory(d1f1));
- BOOST_TEST(fs::is_regular_file(d1f1));
- BOOST_TEST(fs::is_empty(d1f1));
- BOOST_TEST(fs::file_size(d1f1) == 0);
- BOOST_TEST(fs::hard_link_count(d1f1) == 1);
-
- // create an empty file named "f0"
- f0 = dir / "f0";
- create_file(f0, "");
- BOOST_TEST(fs::exists(f0));
- BOOST_TEST(!fs::is_directory(f0));
- BOOST_TEST(fs::is_regular_file(f0));
- BOOST_TEST(fs::is_empty(f0));
- BOOST_TEST(fs::file_size(f0) == 0);
- BOOST_TEST(fs::hard_link_count(f0) == 1);
-
- // create a file named "f1"
- f1 = dir / "f1";
- create_file(f1, "file-f1");
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(!fs::is_directory(f1));
- BOOST_TEST(fs::is_regular_file(f1));
- BOOST_TEST(fs::file_size(f1) == 7);
- verify_file(f1, "file-f1");
- }
-
- // directory_iterator_tests --------------------------------------------------------//
-
- void directory_iterator_tests()
- {
- cout << "directory_iterator_tests..." << endl;
-
- bool dir_itr_exception(false);
- try { fs::directory_iterator it(""); }
- catch (const fs::filesystem_error &) { dir_itr_exception = true; }
- BOOST_TEST(dir_itr_exception);
-
- error_code ec;
-
- BOOST_TEST(!ec);
- fs::directory_iterator it("", ec);
- BOOST_TEST(ec);
-
- dir_itr_exception = false;
- try { fs::directory_iterator it("nosuchdirectory"); }
- catch (const fs::filesystem_error &) { dir_itr_exception = true; }
- BOOST_TEST(dir_itr_exception);
-
- ec.clear();
- fs::directory_iterator it2("nosuchdirectory", ec);
- BOOST_TEST(ec);
-
- dir_itr_exception = false;
- try
- {
- error_code ec;
- fs::directory_iterator it("nosuchdirectory", ec);
- BOOST_TEST(ec);
- BOOST_TEST(ec == boost::system::errc::no_such_file_or_directory);
- }
- catch (const fs::filesystem_error &) { dir_itr_exception = true; }
- BOOST_TEST(!dir_itr_exception);
-
- // create a second directory named d2
- d2 = dir / "d2";
- fs::create_directory(d2);
- BOOST_TEST(fs::exists(d2));
- BOOST_TEST(fs::is_directory(d2));
-
- // test the basic operation of directory_iterators, and test that
- // stepping one iterator doesn't affect a different iterator.
- {
- typedef std::vector<fs::directory_entry> vec_type;
- vec_type vec;
-
- fs::directory_iterator it1(dir);
- BOOST_TEST(it1 != fs::directory_iterator());
- BOOST_TEST(fs::exists(it1->status()));
- vec.push_back(*it1);
- BOOST_TEST(*it1 == vec[0]);
-
- fs::directory_iterator it2(dir);
- BOOST_TEST(it2 != fs::directory_iterator());
- BOOST_TEST(*it1 == *it2);
-
- ++it1;
- BOOST_TEST(it1 != fs::directory_iterator());
- BOOST_TEST(fs::exists(it1->status()));
- BOOST_TEST(it1 != it2);
- BOOST_TEST(*it1 != vec[0]);
- BOOST_TEST(*it2 == vec[0]);
- vec.push_back(*it1);
-
- ++it1;
- BOOST_TEST(it1 != fs::directory_iterator());
- BOOST_TEST(fs::exists(it1->status()));
- BOOST_TEST(it1 != it2);
- BOOST_TEST(*it2 == vec[0]);
- vec.push_back(*it1);
-
- ++it1;
- BOOST_TEST(it1 != fs::directory_iterator());
- BOOST_TEST(fs::exists(it1->status()));
- BOOST_TEST(it1 != it2);
- BOOST_TEST(*it2 == vec[0]);
- vec.push_back(*it1);
-
- ++it1;
- BOOST_TEST(it1 == fs::directory_iterator());
-
- BOOST_TEST(*it2 == vec[0]);
- ec.clear();
- it2.increment(ec);
- BOOST_TEST(!ec);
- BOOST_TEST(it2 != fs::directory_iterator());
- BOOST_TEST(it1 == fs::directory_iterator());
- BOOST_TEST(*it2 == vec[1]);
- ++it2;
- BOOST_TEST(*it2 == vec[2]);
- BOOST_TEST(it1 == fs::directory_iterator());
- ++it2;
- BOOST_TEST(*it2 == vec[3]);
- ++it2;
- BOOST_TEST(it1 == fs::directory_iterator());
- BOOST_TEST(it2 == fs::directory_iterator());
-
- // sort vec and check that the right directory entries were found
- std::sort(vec.begin(), vec.end());
-
- BOOST_TEST_EQ(vec[0].path().filename().string(), std::string("d1"));
- BOOST_TEST_EQ(vec[1].path().filename().string(), std::string("d2"));
- BOOST_TEST_EQ(vec[2].path().filename().string(), std::string("f0"));
- BOOST_TEST_EQ(vec[3].path().filename().string(), std::string("f1"));
- }
-
- { // *i++ must meet the standard's InputIterator requirements
- fs::directory_iterator dir_itr(dir);
- BOOST_TEST(dir_itr != fs::directory_iterator());
- fs::path p = dir_itr->path();
- BOOST_TEST((*dir_itr++).path() == p);
- BOOST_TEST(dir_itr != fs::directory_iterator());
- BOOST_TEST(dir_itr->path() != p);
-
- // test case reported in comment to SourceForge bug tracker [937606]
- fs::directory_iterator it(dir);
- const fs::path p1 = (*it++).path();
- BOOST_TEST(it != fs::directory_iterator());
- const fs::path p2 = (*it++).path();
- BOOST_TEST(p1 != p2);
- ++it;
- ++it;
- BOOST_TEST(it == fs::directory_iterator());
- }
-
- // Windows has a tricky special case when just the root-name is given,
- // causing the rest of the path to default to the current directory.
- // Reported as S/F bug [ 1259176 ]
- if (platform == "Windows")
- {
- fs::path root_name_path(fs::current_path().root_name());
- fs::directory_iterator it(root_name_path);
- BOOST_TEST(it != fs::directory_iterator());
-// BOOST_TEST(fs::exists((*it).path()));
- BOOST_TEST(fs::exists(it->path()));
- BOOST_TEST(it->path().parent_path() == root_name_path);
- bool found(false);
- do
- {
- if (it->path().filename() == temp_dir_name) found = true;
- } while (++it != fs::directory_iterator());
- BOOST_TEST(found);
- }
-
- // there was an inital bug in directory_iterator that caused premature
- // close of an OS handle. This block will detect regression.
- {
- fs::directory_iterator di;
- {
- di = fs::directory_iterator(dir);
- }
- BOOST_TEST(++di != fs::directory_iterator());
- }
-
- cout << " directory_iterator_tests complete" << endl;
- }
-
- // recursive_directory_iterator_tests ----------------------------------------------//
-
- int walk_tree(bool recursive)
- {
- int d1f1_count = 0;
- for (fs::recursive_directory_iterator it (dir,
- recursive ? fs::symlink_option::recurse : fs::symlink_option::no_recurse);
- it != fs::recursive_directory_iterator();
- ++it)
- {
- if (it->path().filename() == "d1f1")
- ++d1f1_count;
- }
- return d1f1_count;
- }
-
- void recursive_directory_iterator_tests()
- {
- cout << "recursive_directory_iterator_tests..." << endl;
- BOOST_TEST(walk_tree(false) == 1);
- if (create_symlink_ok)
- BOOST_TEST(walk_tree(true) > 1);
-
- // test iterator increment with error_code argument
- boost::system::error_code ec;
- int d1f1_count = 0;
- for (fs::recursive_directory_iterator it (dir, fs::symlink_option::no_recurse);
- it != fs::recursive_directory_iterator();
- it.increment(ec))
- {
- if (it->path().filename() == "d1f1")
- ++d1f1_count;
- }
- BOOST_TEST(!ec);
- BOOST_TEST(d1f1_count == 1);
-
- cout << " recursive_directory_iterator_tests complete" << endl;
- }
-
- // iterator_status_tests -----------------------------------------------------------//
-
- void iterator_status_tests()
- {
- cout << "iterator_status_tests..." << endl;
-
- error_code ec;
- // harmless if these fail:
- fs::create_symlink(dir/"f0", dir/"f0_symlink", ec);
- fs::create_symlink(dir/"no such file", dir/"dangling_symlink", ec);
- fs::create_directory_symlink(dir/"d1", dir/"d1_symlink", ec);
- fs::create_directory_symlink(dir/"no such directory",
- dir/"dangling_directory_symlink", ec);
-
- for (fs::directory_iterator it(dir);
- it != fs::directory_iterator(); ++it)
- {
- BOOST_TEST(fs::status(it->path()).type() == it->status().type());
- BOOST_TEST(fs::symlink_status(it->path()).type() == it->symlink_status().type());
- if (it->path().filename() == "d1")
- {
- BOOST_TEST(fs::is_directory(it->status()));
- BOOST_TEST(fs::is_directory(it->symlink_status()));
- }
- else if (it->path().filename() == "d2")
- {
- BOOST_TEST(fs::is_directory(it->status()));
- BOOST_TEST(fs::is_directory(it->symlink_status()));
- }
- else if (it->path().filename() == "f0")
- {
- BOOST_TEST(fs::is_regular_file(it->status()));
- BOOST_TEST(fs::is_regular_file(it->symlink_status()));
- }
- else if (it->path().filename() == "f1")
- {
- BOOST_TEST(fs::is_regular_file(it->status()));
- BOOST_TEST(fs::is_regular_file(it->symlink_status()));
- }
- else if (it->path().filename() == "f0_symlink")
- {
- BOOST_TEST(fs::is_regular_file(it->status()));
- BOOST_TEST(fs::is_symlink(it->symlink_status()));
- }
- else if (it->path().filename() == "dangling_symlink")
- {
- BOOST_TEST(it->status().type() == fs::file_not_found);
- BOOST_TEST(fs::is_symlink(it->symlink_status()));
- }
- else if (it->path().filename() == "d1_symlink")
- {
- BOOST_TEST(fs::is_directory(it->status()));
- BOOST_TEST(fs::is_symlink(it->symlink_status()));
- }
- else if (it->path().filename() == "dangling_directory_symlink")
- {
- BOOST_TEST(it->status().type() == fs::file_not_found);
- BOOST_TEST(fs::is_symlink(it->symlink_status()));
- }
- //else
- // cout << " Note: unexpected directory entry " << it->path().filename() << endl;
- }
- }
-
- // recursive_iterator_status_tests -------------------------------------------------//
-
- void recursive_iterator_status_tests()
- {
- cout << "recursive_iterator_status_tests..." << endl;
- for (fs::recursive_directory_iterator it (dir);
- it != fs::recursive_directory_iterator();
- ++it)
- {
- BOOST_TEST(fs::status(it->path()).type() == it->status().type());
- BOOST_TEST(fs::symlink_status(it->path()).type() == it->symlink_status().type());
- }
- }
-
- // create_hard_link_tests ----------------------------------------------------------//
-
- void create_hard_link_tests()
- {
- cout << "create_hard_link_tests..." << endl;
-
- fs::path from_ph(dir / "f3");
- fs::path f1(dir / "f1");
-
- BOOST_TEST(!fs::exists(from_ph));
- BOOST_TEST(fs::exists(f1));
- bool create_hard_link_ok(true);
- try { fs::create_hard_link(f1, from_ph); }
- catch (const fs::filesystem_error & ex)
- {
- create_hard_link_ok = false;
- cout
- << " *** For information only ***\n"
- " create_hard_link() attempt failed\n"
- " filesystem_error.what() reports: " << ex.what() << "\n"
- " create_hard_link() may not be supported on this file system\n";
- }
-
- if (create_hard_link_ok)
- {
- cout
- << " *** For information only ***\n"
- " create_hard_link() succeeded\n";
- BOOST_TEST(fs::exists(from_ph));
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(fs::equivalent(from_ph, f1));
- BOOST_TEST(fs::hard_link_count(from_ph) == 2);
- BOOST_TEST(fs::hard_link_count(f1) == 2);
- }
-
- // Although tests may be running on a FAT or other file system that does
- // not support hard links, that is unusual enough that it is considered
- // a test failure.
- BOOST_TEST(create_hard_link_ok);
-
- error_code ec;
- fs::create_hard_link(fs::path("doesnotexist"),
- fs::path("shouldnotwork"), ec);
- BOOST_TEST(ec);
- }
-
- // create_symlink_tests ------------------------------------------------------------//
-
- void create_symlink_tests()
- {
- cout << "create_symlink_tests..." << endl;
-
- fs::path from_ph(dir / "f4");
- fs::path f1(dir / "f1");
- BOOST_TEST(!fs::exists(from_ph));
- BOOST_TEST(fs::exists(f1));
- try { fs::create_symlink(f1, from_ph); }
- catch (const fs::filesystem_error & ex)
- {
- create_symlink_ok = false;
- cout
- << " *** For information only ***\n"
- " create_symlink() attempt failed\n"
- " filesystem_error.what() reports: " << ex.what() << "\n"
- " create_symlink() may not be supported on this operating system or file system\n";
- }
-
- if (create_symlink_ok)
- {
- cout
- << " *** For information only ***\n"
- " create_symlink() succeeded\n";
- BOOST_TEST(fs::exists(from_ph));
- BOOST_TEST(fs::is_symlink(from_ph));
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(fs::equivalent(from_ph, f1));
- BOOST_TEST(fs::read_symlink(from_ph) == f1);
-
- fs::file_status stat = fs::symlink_status(from_ph);
- BOOST_TEST(fs::exists(stat));
- BOOST_TEST(!fs::is_directory(stat));
- BOOST_TEST(!fs::is_regular_file(stat));
- BOOST_TEST(!fs::is_other(stat));
- BOOST_TEST(fs::is_symlink(stat));
-
- stat = fs::status(from_ph);
- BOOST_TEST(fs::exists(stat));
- BOOST_TEST(!fs::is_directory(stat));
- BOOST_TEST(fs::is_regular_file(stat));
- BOOST_TEST(!fs::is_other(stat));
- BOOST_TEST(!fs::is_symlink(stat));
-
- // since create_symlink worked, copy_symlink should also work
- fs::path symlink2_ph(dir / "symlink2");
- fs::copy_symlink(from_ph, symlink2_ph);
- stat = fs::symlink_status(symlink2_ph);
- BOOST_TEST(fs::is_symlink(stat));
- BOOST_TEST(fs::exists(stat));
- BOOST_TEST(!fs::is_directory(stat));
- BOOST_TEST(!fs::is_regular_file(stat));
- BOOST_TEST(!fs::is_other(stat));
- }
-
- error_code ec = error_code();
- fs::create_symlink("doesnotexist", "", ec);
- BOOST_TEST(ec);
- }
-
- // permissions_tests ---------------------------------------------------------------//
-
- void permissions_tests()
- {
- cout << "permissions_tests..." << endl;
-
- fs::path p(dir / "permissions.txt");
- create_file(p);
-
- if (platform == "POSIX")
- {
- cout << " fs::status(p).permissions() " << std::oct << fs::status(p).permissions()
- << std::dec << endl;
- BOOST_TEST((fs::status(p).permissions() & 0600) == 0600); // 0644, 0664 sometimes returned
-
- fs::permissions(p, fs::owner_all);
- BOOST_TEST(fs::status(p).permissions() == fs::owner_all);
-
- fs::permissions(p, fs::add_perms | fs::group_all);
- BOOST_TEST(fs::status(p).permissions() == (fs::owner_all | fs::group_all));
-
- fs::permissions(p, fs::remove_perms | fs::group_all);
- BOOST_TEST(fs::status(p).permissions() == fs::owner_all);
-
- // some POSIX platforms cache permissions during directory iteration, some don't
- // so test that iteration finds the correct permissions
- for (fs::directory_iterator itr(dir); itr != fs::directory_iterator(); ++itr)
- if (itr->path().filename() == fs::path("permissions.txt"))
- BOOST_TEST(itr->status().permissions() == fs::owner_all);
- }
- else // Windows
- {
- BOOST_TEST(fs::status(p).permissions() == 0666);
- fs::permissions(p, fs::remove_perms | fs::group_write);
- BOOST_TEST(fs::status(p).permissions() == 0444);
- fs::permissions(p, fs::add_perms | fs::group_write);
- BOOST_TEST(fs::status(p).permissions() == 0666);
- }
- }
-
- // rename_tests --------------------------------------------------------------------//
-
- void rename_tests()
- {
- cout << "rename_tests..." << endl;
-
- fs::path f1(dir / "f1");
- BOOST_TEST(fs::exists(f1));
-
- // error: rename a non-existent old file
- BOOST_TEST(!fs::exists(d1 / "f99"));
- BOOST_TEST(!fs::exists(d1 / "f98"));
- renamer n1a(d1 / "f99", d1 / "f98");
- BOOST_TEST(CHECK_EXCEPTION(n1a, ENOENT));
- renamer n1b(fs::path(""), d1 / "f98");
- BOOST_TEST(CHECK_EXCEPTION(n1b, ENOENT));
-
- // error: rename an existing file to ""
- renamer n2(f1, "");
- BOOST_TEST(CHECK_EXCEPTION(n2, ENOENT));
-
- // rename an existing file to an existent file
- create_file(dir / "ff1", "ff1");
- create_file(dir / "ff2", "ff2");
- fs::rename(dir / "ff2", dir / "ff1");
- BOOST_TEST(fs::exists(dir / "ff1"));
- verify_file(dir / "ff1", "ff2");
- BOOST_TEST(!fs::exists(dir / "ff2"));
-
- // rename an existing file to itself
- BOOST_TEST(fs::exists(dir / "f1"));
- fs::rename(dir / "f1", dir / "f1");
- BOOST_TEST(fs::exists(dir / "f1"));
-
- // error: rename an existing directory to an existing non-empty directory
- BOOST_TEST(fs::exists(dir / "f1"));
- BOOST_TEST(fs::exists(d1 / "f2"));
- // several POSIX implementations (cygwin, openBSD) report ENOENT instead of EEXIST,
- // so we don't verify error type on the following test.
- renamer n3b(dir, d1);
- BOOST_TEST(CHECK_EXCEPTION(n3b, 0));
-
- // error: move existing file to a nonexistent parent directory
- BOOST_TEST(!fs::is_directory(dir / "f1"));
- BOOST_TEST(!fs::exists(dir / "d3/f3"));
- renamer n4a(dir / "f1", dir / "d3/f3");
- BOOST_TEST(CHECK_EXCEPTION(n4a, ENOENT));
-
- // rename existing file in same directory
- BOOST_TEST(fs::exists(d1 / "f2"));
- BOOST_TEST(!fs::exists(d1 / "f50"));
- fs::rename(d1 / "f2", d1 / "f50");
- BOOST_TEST(!fs::exists(d1 / "f2"));
- BOOST_TEST(fs::exists(d1 / "f50"));
- fs::rename(d1 / "f50", d1 / "f2");
- BOOST_TEST(fs::exists(d1 / "f2"));
- BOOST_TEST(!fs::exists(d1 / "f50"));
-
- // move and rename an existing file to a different directory
- fs::rename(d1 / "f2", d2 / "f3");
- BOOST_TEST(!fs::exists(d1 / "f2"));
- BOOST_TEST(!fs::exists(d2 / "f2"));
- BOOST_TEST(fs::exists(d2 / "f3"));
- BOOST_TEST(!fs::is_directory(d2 / "f3"));
- verify_file(d2 / "f3", "file-f1");
- fs::rename(d2 / "f3", d1 / "f2");
- BOOST_TEST(fs::exists(d1 / "f2"));
-
- // error: move existing directory to nonexistent parent directory
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(!fs::exists(dir / "d3/d5"));
- BOOST_TEST(!fs::exists(dir / "d3"));
- renamer n5a(d1, dir / "d3/d5");
- BOOST_TEST(CHECK_EXCEPTION(n5a, ENOENT));
-
- // rename existing directory
- fs::path d3(dir / "d3");
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(fs::exists(d1 / "f2"));
- BOOST_TEST(!fs::exists(d3));
- fs::rename(d1, d3);
- BOOST_TEST(!fs::exists(d1));
- BOOST_TEST(fs::exists(d3));
- BOOST_TEST(fs::is_directory(d3));
- BOOST_TEST(!fs::exists(d1 / "f2"));
- BOOST_TEST(fs::exists(d3 / "f2"));
- fs::rename(d3, d1);
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(fs::exists(d1 / "f2"));
- BOOST_TEST(!fs::exists(d3));
-
- // rename and move d1 to d2 / "d20"
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(!fs::exists(d2 / "d20"));
- BOOST_TEST(fs::exists(d1 / "f2"));
- fs::rename(d1, d2 / "d20");
- BOOST_TEST(!fs::exists(d1));
- BOOST_TEST(fs::exists(d2 / "d20"));
- BOOST_TEST(fs::exists(d2 / "d20" / "f2"));
- fs::rename(d2 / "d20", d1);
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(!fs::exists(d2 / "d20"));
- BOOST_TEST(fs::exists(d1 / "f2"));
- }
-
- // predicate_and_status_tests ------------------------------------------------------//
-
- void predicate_and_status_tests()
- {
- cout << "predicate_and_status_tests..." << endl;
-
- BOOST_TEST(!fs::exists(ng));
- BOOST_TEST(!fs::is_directory(ng));
- BOOST_TEST(!fs::is_regular_file(ng));
- BOOST_TEST(!fs::is_symlink(ng));
- fs::file_status stat(fs::status(ng));
- BOOST_TEST(fs::type_present(stat));
- BOOST_TEST(fs::permissions_present(stat));
- BOOST_TEST(fs::status_known(stat));
- BOOST_TEST(!fs::exists(stat));
- BOOST_TEST(!fs::is_directory(stat));
- BOOST_TEST(!fs::is_regular_file(stat));
- BOOST_TEST(!fs::is_other(stat));
- BOOST_TEST(!fs::is_symlink(stat));
- stat = fs::status("");
- BOOST_TEST(fs::type_present(stat));
- BOOST_TEST(fs::permissions_present(stat));
- BOOST_TEST(fs::status_known(stat));
- BOOST_TEST(!fs::exists(stat));
- BOOST_TEST(!fs::is_directory(stat));
- BOOST_TEST(!fs::is_regular_file(stat));
- BOOST_TEST(!fs::is_other(stat));
- BOOST_TEST(!fs::is_symlink(stat));
- }
-
- // create_directory_tests ----------------------------------------------------------//
-
- void create_directory_tests()
- {
- cout << "create_directory_tests..." << endl;
-
- // create a directory, then check it for consistency
- // take extra care to report problems, since if this fails
- // many subsequent tests will fail
- try
- {
- fs::create_directory(dir);
- }
-
- catch (const fs::filesystem_error & x)
- {
- cout << x.what() << "\n\n"
- "***** Creating directory " << dir << " failed. *****\n"
- "***** This is a serious error that will prevent further tests *****\n"
- "***** from returning useful results. Further testing is aborted. *****\n\n";
- std::exit(1);
- }
-
- catch (...)
- {
- cout << "\n\n"
- "***** Creating directory " << dir << " failed. *****\n"
- "***** This is a serious error that will prevent further tests *****\n"
- "***** from returning useful results. Further testing is aborted. *****\n\n";
- std::exit(1);
- }
-
- BOOST_TEST(fs::exists(dir));
- BOOST_TEST(fs::is_empty(dir));
- BOOST_TEST(fs::is_directory(dir));
- BOOST_TEST(!fs::is_regular_file(dir));
- BOOST_TEST(!fs::is_other(dir));
- BOOST_TEST(!fs::is_symlink(dir));
- fs::file_status stat = fs::status(dir);
- BOOST_TEST(fs::exists(stat));
- BOOST_TEST(fs::is_directory(stat));
- BOOST_TEST(!fs::is_regular_file(stat));
- BOOST_TEST(!fs::is_other(stat));
- BOOST_TEST(!fs::is_symlink(stat));
-
- cout << " create_directory_tests complete" << endl;
- }
-
- // current_directory_tests ---------------------------------------------------------//
-
- void current_directory_tests()
- {
- cout << "current_directory_tests..." << endl;
-
- // set the current directory, then check it for consistency
- fs::path original_dir = fs::current_path();
- BOOST_TEST(dir != original_dir);
- fs::current_path(dir);
- BOOST_TEST(fs::current_path() == dir);
- BOOST_TEST(fs::current_path() != original_dir);
- fs::current_path(original_dir);
- BOOST_TEST(fs::current_path() == original_dir);
- BOOST_TEST(fs::current_path() != dir);
-
- // make sure the overloads work
- fs::current_path(dir.c_str());
- BOOST_TEST(fs::current_path() == dir);
- BOOST_TEST(fs::current_path() != original_dir);
- fs::current_path(original_dir.string());
- BOOST_TEST(fs::current_path() == original_dir);
- BOOST_TEST(fs::current_path() != dir);
- }
-
- // create_directories_tests --------------------------------------------------------//
-
- void create_directories_tests()
- {
- cout << "create_directories_tests..." << endl;
-
- fs::path p = dir / "level1" / "level2";
-
- BOOST_TEST(!fs::exists(p));
- BOOST_TEST(fs::create_directories(p));
- BOOST_TEST(fs::exists(p));
- BOOST_TEST(fs::is_directory(p));
- }
-
- // resize_file_tests ---------------------------------------------------------------//
-
- void resize_file_tests()
- {
- cout << "resize_file_tests..." << endl;
-
- fs::path p(dir / "resize_file_test.txt");
-
- fs::remove(p);
- create_file(p, "1234567890");
-
- BOOST_TEST(fs::exists(p));
- BOOST_TEST_EQ(fs::file_size(p), 10U);
- fs::resize_file(p, 5);
- BOOST_TEST(fs::exists(p));
- BOOST_TEST_EQ(fs::file_size(p), 5U);
- fs::resize_file(p, 15);
- BOOST_TEST(fs::exists(p));
- BOOST_TEST_EQ(fs::file_size(p), 15U);
-
- error_code ec;
- fs::resize_file("no such file", 15, ec);
- BOOST_TEST(ec);
- }
-
- // status_of_nonexistent_tests -----------------------------------------------------//
-
- void status_of_nonexistent_tests()
- {
- cout << "status_of_nonexistent_tests..." << endl;
- fs::path p ("nosuch");
- BOOST_TEST(!fs::exists(p));
- BOOST_TEST(!fs::is_regular_file(p));
- BOOST_TEST(!fs::is_directory(p));
- BOOST_TEST(!fs::is_symlink(p));
- BOOST_TEST(!fs::is_other(p));
-
- fs::file_status s = fs::status(p);
- BOOST_TEST(!fs::exists(s));
- BOOST_TEST_EQ(s.type(), fs::file_not_found);
- BOOST_TEST(fs::type_present(s));
- BOOST_TEST(!fs::is_regular_file(s));
- BOOST_TEST(!fs::is_directory(s));
- BOOST_TEST(!fs::is_symlink(s));
- BOOST_TEST(!fs::is_other(s));
- }
-
- // status_error_reporting_tests ----------------------------------------------------//
-
- void status_error_reporting_tests()
- {
- cout << "status_error_reporting_tests..." << endl;
-
- error_code ec;
-
- // test status, ec, for existing file
- ec.assign(-1,poison_category());
- BOOST_TEST(ec.value() == -1);
- BOOST_TEST(&ec.category() == &poison_category());
- fs::file_status s = fs::status(".",ec);
- BOOST_TEST(ec.value() == 0);
- BOOST_TEST(ec.category() == system_category());
- BOOST_TEST(fs::exists(s));
- BOOST_TEST(fs::is_directory(s));
-
- // test status, ec, for non-existing file
- fs::path p ("nosuch");
- ec.assign(-1,poison_category());
- s = fs::status(p,ec);
- BOOST_TEST(ec.value() != 0);
- BOOST_TEST(ec.category() == system_category());
-
- BOOST_TEST(!fs::exists(s));
- BOOST_TEST_EQ(s.type(), fs::file_not_found);
- BOOST_TEST(fs::type_present(s));
- BOOST_TEST(!fs::is_regular_file(s));
- BOOST_TEST(!fs::is_directory(s));
- BOOST_TEST(!fs::is_symlink(s));
- BOOST_TEST(!fs::is_other(s));
-
- // test queries, ec, for existing file
- ec.assign(-1,poison_category());
- BOOST_TEST(fs::exists(".", ec));
- BOOST_TEST(ec.value() == 0);
- BOOST_TEST(ec.category() == system_category());
- ec.assign(-1,poison_category());
- BOOST_TEST(!fs::is_regular_file(".", ec));
- BOOST_TEST(ec.value() == 0);
- BOOST_TEST(ec.category() == system_category());
- ec.assign(-1,poison_category());
- BOOST_TEST(fs::is_directory(".", ec));
- BOOST_TEST(ec.value() == 0);
- BOOST_TEST(ec.category() == system_category());
-
- // test queries, ec, for non-existing file
- ec.assign(-1,poison_category());
- BOOST_TEST(!fs::exists(p, ec));
- BOOST_TEST(ec.value() != 0);
- BOOST_TEST(ec.category() == system_category());
- ec.assign(-1,poison_category());
- BOOST_TEST(!fs::is_regular_file(p, ec));
- BOOST_TEST(ec.value() != 0);
- BOOST_TEST(ec.category() == system_category());
- ec.assign(-1,poison_category());
- BOOST_TEST(!fs::is_directory(p, ec));
- BOOST_TEST(ec.value() != 0);
- BOOST_TEST(ec.category() == system_category());
- }
-
- // remove_tests --------------------------------------------------------------------//
-
- void remove_tests(const fs::path& dir)
- {
- cout << "remove_tests..." << endl;
-
- // remove() file
- fs::path f1 = dir / "shortlife";
- BOOST_TEST(!fs::exists(f1));
- create_file(f1, "");
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(!fs::is_directory(f1));
- BOOST_TEST(fs::remove(f1));
- BOOST_TEST(!fs::exists(f1));
- BOOST_TEST(!fs::remove("no-such-file"));
- BOOST_TEST(!fs::remove("no-such-directory/no-such-file"));
-
- // remove() directory
- fs::path d1 = dir / "shortlife_dir";
- BOOST_TEST(!fs::exists(d1));
- fs::create_directory(d1);
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(fs::is_directory(d1));
- BOOST_TEST(fs::is_empty(d1));
- bad_remove_dir = dir;
- BOOST_TEST(CHECK_EXCEPTION(bad_remove, ENOTEMPTY));
- BOOST_TEST(fs::remove(d1));
- BOOST_TEST(!fs::exists(d1));
- }
-
- // remove_symlink_tests ------------------------------------------------------------//
-
- void remove_symlink_tests()
- {
- cout << "remove_symlink_tests..." << endl;
-
- // remove() dangling symbolic link
- fs::path link("dangling_link");
- fs::remove(link); // remove any residue from past tests
- BOOST_TEST(!fs::is_symlink(link));
- BOOST_TEST(!fs::exists(link));
- fs::create_symlink("nowhere", link);
- BOOST_TEST(!fs::exists(link));
- BOOST_TEST(fs::is_symlink(link));
- BOOST_TEST(fs::remove(link));
- BOOST_TEST(!fs::is_symlink(link));
-
- // remove() self-refering symbolic link
- link = "link_to_self";
- fs::remove(link); // remove any residue from past tests
- BOOST_TEST(!fs::is_symlink(link));
- BOOST_TEST(!fs::exists(link));
- fs::create_symlink(link, link);
- BOOST_TEST(fs::remove(link));
- BOOST_TEST(!fs::exists(link));
- BOOST_TEST(!fs::is_symlink(link));
-
- // remove() cyclic symbolic link
- link = "link_to_a";
- fs::path link2("link_to_b");
- fs::remove(link); // remove any residue from past tests
- fs::remove(link2); // remove any residue from past tests
- BOOST_TEST(!fs::is_symlink(link));
- BOOST_TEST(!fs::exists(link));
- fs::create_symlink(link, link2);
- fs::create_symlink(link2, link);
- BOOST_TEST(fs::remove(link));
- BOOST_TEST(fs::remove(link2));
- BOOST_TEST(!fs::exists(link));
- BOOST_TEST(!fs::exists(link2));
- BOOST_TEST(!fs::is_symlink(link));
-
- // remove() symbolic link to file
- fs::path f1 = "link_target";
- fs::remove(f1); // remove any residue from past tests
- BOOST_TEST(!fs::exists(f1));
- create_file(f1, "");
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(!fs::is_directory(f1));
- BOOST_TEST(fs::is_regular_file(f1));
- link = "non_dangling_link";
- fs::create_symlink(f1, link);
- BOOST_TEST(fs::exists(link));
- BOOST_TEST(!fs::is_directory(link));
- BOOST_TEST(fs::is_regular_file(link));
- BOOST_TEST(fs::is_symlink(link));
- BOOST_TEST(fs::remove(link));
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(!fs::exists(link));
- BOOST_TEST(!fs::is_symlink(link));
- BOOST_TEST(fs::remove(f1));
- BOOST_TEST(!fs::exists(f1));
- }
-
- // absolute_tests -----------------------------------------------------------------//
-
- void absolute_tests()
- {
- cout << "absolute_tests..." << endl;
-
- BOOST_TEST_EQ(fs::absolute(""), fs::current_path() );
- BOOST_TEST_EQ(fs::absolute("", ""), fs::current_path() );
- BOOST_TEST_EQ(fs::absolute(fs::current_path() / "foo/bar"), fs::current_path() / "foo/bar");
- BOOST_TEST_EQ(fs::absolute("foo"), fs::current_path() / "foo");
- BOOST_TEST_EQ(fs::absolute("foo", fs::current_path()), fs::current_path() / "foo");
- BOOST_TEST_EQ(fs::absolute("bar", "foo"), fs::current_path() / "foo" / "bar");
- BOOST_TEST_EQ(fs::absolute("/foo"), fs::current_path().root_path().string() + "foo");
-
-# ifdef BOOST_WINDOWS_API
- BOOST_TEST_EQ(fs::absolute("a:foo", "b:/bar"), "a:/bar/foo");
-# endif
-
- // these tests were moved from elsewhere, so may duplicate some of the above tests
-
- // p.empty()
- BOOST_TEST_EQ(fs::absolute(fs::path(), "//foo/bar"), "//foo/bar");
- if (platform == "Windows")
- {
- BOOST_TEST_EQ(fs::absolute(fs::path(), "a:/bar"), "a:/bar");
- }
-
- // p.has_root_name()
- // p.has_root_directory()
- BOOST_TEST_EQ(fs::absolute(fs::path("//foo/bar"), "//uvw/xyz"), "//foo/bar");
- if (platform == "Windows")
- {
- BOOST_TEST_EQ(fs::absolute(fs::path("a:/bar"), "b:/xyz"), "a:/bar");
- }
- // !p.has_root_directory()
- BOOST_TEST_EQ(fs::absolute(fs::path("//net"), "//xyz/"), "//net/");
- BOOST_TEST_EQ(fs::absolute(fs::path("//net"), "//xyz/abc"), "//net/abc");
- BOOST_TEST_EQ(fs::absolute(fs::path("//net"), "//xyz/abc/def"), "//net/abc/def");
- if (platform == "Windows")
- {
- BOOST_TEST_EQ(fs::absolute(fs::path("a:"), "b:/"), "a:/");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:"),"b:/abc"), "a:/abc");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:"),"b:/abc/def"), "a:/abc/def");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:foo"), "b:/"), "a:/foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:foo"), "b:/abc"), "a:/abc/foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:foo"), "b:/abc/def"), "a:/abc/def/foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:foo/bar"), "b:/"), "a:/foo/bar");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:foo/bar"), "b:/abc"), "a:/abc/foo/bar");
- BOOST_TEST_EQ(fs::absolute(fs::path("a:foo/bar"), "b:/abc/def"), "a:/abc/def/foo/bar");
- }
- // !p.has_root_name()
- // p.has_root_directory()
- BOOST_TEST_EQ(fs::absolute(fs::path("/"), "//xyz/"), "//xyz/");
- BOOST_TEST_EQ(fs::absolute(fs::path("/"), "//xyz/abc"), "//xyz/");
- BOOST_TEST_EQ(fs::absolute(fs::path("/foo"), "//xyz/"), "//xyz/foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("/foo"), "//xyz/abc"), "//xyz/foo");
- // !p.has_root_directory()
- BOOST_TEST_EQ(fs::absolute(fs::path("foo"), "//xyz/abc"), "//xyz/abc/foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("foo/bar"), "//xyz/abc"), "//xyz/abc/foo/bar");
- BOOST_TEST_EQ(fs::absolute(fs::path("."), "//xyz/abc"), "//xyz/abc/.");
- BOOST_TEST_EQ(fs::absolute(fs::path(".."), "//xyz/abc"), "//xyz/abc/..");
- BOOST_TEST_EQ(fs::absolute(fs::path("./foo"), "//xyz/abc"), "//xyz/abc/./foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("../foo"), "//xyz/abc"), "//xyz/abc/../foo");
- if (platform == "POSIX")
- {
- BOOST_TEST_EQ(fs::absolute(fs::path("foo"), "/abc"), "/abc/foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("foo/bar"), "/abc"), "/abc/foo/bar");
- BOOST_TEST_EQ(fs::absolute(fs::path("."), "/abc"), "/abc/.");
- BOOST_TEST_EQ(fs::absolute(fs::path(".."), "/abc"), "/abc/..");
- BOOST_TEST_EQ(fs::absolute(fs::path("./foo"), "/abc"), "/abc/./foo");
- BOOST_TEST_EQ(fs::absolute(fs::path("../foo"), "/abc"), "/abc/../foo");
- }
-
- }
-
- // canonical_basic_tests -----------------------------------------------------------//
-
- void canonical_basic_tests()
- {
- cout << "canonical_basic_tests..." << endl;
-
- // error handling
- error_code ec;
- ec.clear();
- fs::canonical("no-such-file", ec);
- BOOST_TEST(ec);
- ec.clear();
- fs::canonical("no-such-file", "x", ec);
- BOOST_TEST(ec);
- bool ok(false);
- try { fs::canonical("no-such-file"); }
- catch (const fs::filesystem_error&) { ok = true; }
- BOOST_TEST(ok);
-
- // non-symlink tests; also see canonical_symlink_tests()
- BOOST_TEST_EQ(fs::canonical(""), fs::current_path());
- BOOST_TEST_EQ(fs::canonical("", fs::current_path()), fs::current_path());
- BOOST_TEST_EQ(fs::canonical("", ""), fs::current_path());
- BOOST_TEST_EQ(fs::canonical(fs::current_path()), fs::current_path());
- BOOST_TEST_EQ(fs::canonical(fs::current_path(), ""), fs::current_path());
- BOOST_TEST_EQ(fs::canonical(fs::current_path(), "no-such-file"), fs::current_path());
-
- BOOST_TEST_EQ(fs::canonical("."), fs::current_path());
- BOOST_TEST_EQ(fs::canonical(".."), fs::current_path().parent_path());
- BOOST_TEST_EQ(fs::canonical("/"), fs::current_path().root_path());
-
- fs::path relative_dir(dir.filename());
- BOOST_TEST_EQ(fs::canonical(dir), dir);
- BOOST_TEST_EQ(fs::canonical(relative_dir), dir);
- BOOST_TEST_EQ(fs::canonical(dir / "f0"), dir / "f0");
- BOOST_TEST_EQ(fs::canonical(relative_dir / "f0"), dir / "f0");
- BOOST_TEST_EQ(fs::canonical(relative_dir / "./f0"), dir / "f0");
- BOOST_TEST_EQ(fs::canonical(relative_dir / "d1/../f0"), dir / "f0");
- }
-
- // canonical_symlink_tests -----------------------------------------------------------//
-
- void canonical_symlink_tests()
- {
- cout << "canonical_symlink_tests..." << endl;
-
- fs::path relative_dir(dir.filename());
- BOOST_TEST_EQ(fs::canonical(dir / "sym-d1/f2"), d1 / "f2");
- BOOST_TEST_EQ(fs::canonical(relative_dir / "sym-d1/f2"), d1 / "f2");
- }
-
- // copy_file_tests ------------------------------------------------------------------//
-
- void copy_file_tests(const fs::path& f1, const fs::path& d1)
- {
- cout << "copy_file_tests..." << endl;
-
- BOOST_TEST(fs::exists(f1));
- fs::remove(d1 / "f2"); // remove possible residue from prior testing
- BOOST_TEST(fs::exists(d1));
- BOOST_TEST(!fs::exists(d1 / "f2"));
- cout << " copy " << f1 << " to " << d1 / "f2" << endl;
- fs::copy_file(f1, d1 / "f2");
- cout << " copy complete" << endl;
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(fs::exists(d1 / "f2"));
- BOOST_TEST(!fs::is_directory(d1 / "f2"));
- verify_file(d1 / "f2", "file-f1");
-
- bool copy_ex_ok = false;
- try { fs::copy_file(f1, d1 / "f2"); }
- catch (const fs::filesystem_error &) { copy_ex_ok = true; }
- BOOST_TEST(copy_ex_ok);
-
- copy_ex_ok = false;
- try { fs::copy_file(f1, d1 / "f2", fs::copy_option::fail_if_exists); }
- catch (const fs::filesystem_error &) { copy_ex_ok = true; }
- BOOST_TEST(copy_ex_ok);
-
- create_file(d1 / "f2", "1234567890");
- BOOST_TEST_EQ(fs::file_size(d1 / "f2"), 10U);
- copy_ex_ok = true;
- try { fs::copy_file(f1, d1 / "f2", fs::copy_option::overwrite_if_exists); }
- catch (const fs::filesystem_error &) { copy_ex_ok = false; }
- BOOST_TEST(copy_ex_ok);
- BOOST_TEST_EQ(fs::file_size(d1 / "f2"), 7U);
- verify_file(d1 / "f2", "file-f1");
- }
-
- // symlink_status_tests -------------------------------------------------------------//
-
- void symlink_status_tests()
- {
- cout << "symlink_status_tests..." << endl;
-
- boost::system::error_code ec;
-
- fs::path dangling_sym(dir / "dangling-sym");
- fs::path dangling_directory_sym(dir / "dangling-directory-sym");
- fs::path sym_d1(dir / "sym-d1");
- fs::path symsym_d1(dir / "symsym-d1");
- fs::path sym_f1(dir / "sym-f1");
- fs::path symsym_f1(dir / "symsym-f1");
- fs::create_symlink("does not exist", dangling_sym);
- fs::create_directory_symlink("does not exist", dangling_directory_sym);
- fs::create_directory_symlink(d1, sym_d1);
- fs::create_directory_symlink(sym_d1, symsym_d1);
- fs::create_symlink(f1, sym_f1);
- fs::create_symlink(sym_f1, symsym_f1);
-
- // verify all cases detected as symlinks
- BOOST_TEST_EQ(fs::symlink_status(dangling_sym, ec).type(), fs::symlink_file);
- BOOST_TEST_EQ(fs::symlink_status(dangling_directory_sym, ec).type(), fs::symlink_file);
- BOOST_TEST_EQ(fs::symlink_status(sym_d1, ec).type(), fs::symlink_file);
- BOOST_TEST_EQ(fs::symlink_status(symsym_d1, ec).type(), fs::symlink_file);
- BOOST_TEST_EQ(fs::symlink_status(sym_f1, ec).type(), fs::symlink_file);
- BOOST_TEST_EQ(fs::symlink_status(symsym_f1, ec).type(), fs::symlink_file);
-
- // verify all cases resolve to the (possibly recursive) symlink target
- BOOST_TEST_EQ(fs::status(dangling_sym, ec).type(), fs::file_not_found);
- BOOST_TEST_EQ(fs::status(dangling_directory_sym, ec).type(), fs::file_not_found);
-
- BOOST_TEST_EQ(fs::status(sym_d1, ec).type(), fs::directory_file);
- BOOST_TEST_EQ(fs::status(sym_d1 / "d1f1", ec).type(), fs::regular_file);
- BOOST_TEST_EQ(fs::status(symsym_d1, ec).type(), fs::directory_file);
- BOOST_TEST_EQ(fs::status(symsym_d1 / "d1f1", ec).type(), fs::regular_file);
- BOOST_TEST_EQ(fs::status(sym_f1, ec).type(), fs::regular_file);
- BOOST_TEST_EQ(fs::status(symsym_f1, ec).type(), fs::regular_file);
-
-#ifdef BOOST_WINDOWS_API
-
- // On Windows, telling if a filesystem entry is a symlink, rather than some other
- // kind of reparse point such as a junction, requires some truely baroque code.
- // See ticket #4663, filesystem objects falsely identified as symlinks.
- // This test checks two directory entries created by Windows itself to verify
- // is_symlink() works correctly. Try "dir /A %HOMEPATH%\.." from the command line to
- // verify this test is valid on your version of Windows. It only works on Vista and
- // later.
-
- fs::path users(getenv("HOMEDRIVE"));
- BOOST_TEST(!users.empty());
- users /= "\\Users";
- BOOST_TEST(fs::exists(users));
- BOOST_TEST(fs::exists(users/"All Users"));
- BOOST_TEST(fs::exists(users/"Default User"));
- BOOST_TEST(fs::is_symlink(users/"All Users")); // dir /A reports <SYMLINKD>
- BOOST_TEST(!fs::is_symlink(users/"Default User")); // dir /A reports <JUNCTION> <JUNCTION>
-
-#endif
- }
-
- // copy_symlink_tests ---------------------------------------------------------------//
-
- void copy_symlink_tests(const fs::path& f1, const fs::path& d1)
- {
- cout << "copy_symlink_tests..." << endl;
-
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(fs::exists(d1));
- fs::path sym1(d1 / "symlink1");
- fs::remove(sym1); // remove possible residue from prior testing
- fs::create_symlink(f1, sym1);
- BOOST_TEST(fs::exists(sym1));
- BOOST_TEST(fs::is_symlink(sym1));
- fs::path sym2(d1 / "symlink2");
- fs::copy_symlink(sym1, sym2);
- BOOST_TEST(fs::exists(sym2));
- BOOST_TEST(fs::is_symlink(sym2));
- //fs::path sym3(d1 / "symlink3");
- //fs::copy(sym1, sym3);
- //BOOST_TEST(fs::exists(sym3));
- //BOOST_TEST(fs::is_symlink(sym3));
-
- bool copy_ex_ok = false;
- try { fs::copy_symlink("no-such-file", "new-symlink1"); }
- catch (const fs::filesystem_error &) { copy_ex_ok = true; }
- BOOST_TEST(copy_ex_ok);
-
- copy_ex_ok = false;
- try { fs::copy_symlink(f1, "new-symlink2"); } // should fail; f1 not symlink
- catch (const fs::filesystem_error &) { copy_ex_ok = true; }
- BOOST_TEST(copy_ex_ok);
- }
-
- // write_time_tests ----------------------------------------------------------------//
-
- void write_time_tests(const fs::path& dir)
- {
- cout << "write_time_tests..." << endl;
-
- fs::path f1 = dir / "foobar2";
- create_file(f1, "foobar2");
- BOOST_TEST(fs::exists(f1));
- BOOST_TEST(!fs::is_directory(f1));
- BOOST_TEST(fs::is_regular_file(f1));
- BOOST_TEST(fs::file_size(f1) == 7);
- verify_file(f1, "foobar2");
-
- // Some file system report last write time as local (FAT), while
- // others (NTFS) report it as UTC. The C standard does not specify
- // if time_t is local or UTC.
-
- std::time_t ft = fs::last_write_time(f1);
- cout << "\n UTC last_write_time() for a file just created is "
- << std::asctime(std::gmtime(&ft)) << endl;
-
- std::tm * tmp = std::localtime(&ft);
- cout << "\n Year is " << tmp->tm_year << endl;
- --tmp->tm_year;
- cout << " Change year to " << tmp->tm_year << endl;
- fs::last_write_time(f1, std::mktime(tmp));
- std::time_t ft2 = fs::last_write_time(f1);
- cout << " last_write_time() for the file is now "
- << std::asctime(std::gmtime(&ft2)) << endl;
- BOOST_TEST(ft != fs::last_write_time(f1));
-
- cout << "\n Reset to current time" << endl;
- fs::last_write_time(f1, ft);
- double time_diff = std::difftime(ft, fs::last_write_time(f1));
- cout
- << " original last_write_time() - current last_write_time() is "
- << time_diff << " seconds" << endl;
- BOOST_TEST(time_diff >= -60.0 && time_diff <= 60.0);
- }
-
- // platform_specific_tests ---------------------------------------------------------//
-
- void platform_specific_tests()
- {
- // Windows only tests
- if (platform == "Windows")
- {
- cout << "Window specific tests..." << endl;
- if (!skip_long_windows_tests)
- {
- cout << " (may take several seconds)"<< endl;
-
- BOOST_TEST(!fs::exists(fs::path("//share-not")));
- BOOST_TEST(!fs::exists(fs::path("//share-not/")));
- BOOST_TEST(!fs::exists(fs::path("//share-not/foo")));
- }
- cout << endl;
-
- BOOST_TEST(!fs::exists("tools/jam/src/:sys:stat.h")); // !exists() if ERROR_INVALID_NAME
- BOOST_TEST(!fs::exists(":sys:stat.h")); // !exists() if ERROR_INVALID_PARAMETER
- BOOST_TEST(dir.string().size() > 1
- && dir.string()[1] == ':'); // verify path includes drive
-
- BOOST_TEST(fs::system_complete("").empty());
- BOOST_TEST(fs::system_complete("/") == fs::initial_path().root_path());
- BOOST_TEST(fs::system_complete("foo")
- == fs::initial_path() / "foo");
-
- fs::path p1(fs::system_complete("/foo"));
- BOOST_TEST_EQ(p1.string().size(), 6U); // this failed during v3 development due to bug
- std::string s1(p1.string() );
- std::string s2(fs::initial_path().root_path().string()+"foo");
- BOOST_TEST_EQ(s1, s2);
-
- BOOST_TEST(fs::system_complete(fs::path(fs::initial_path().root_name()))
- == fs::initial_path());
- BOOST_TEST(fs::system_complete(fs::path(fs::initial_path().root_name().string()
- + "foo")).string() == fs::initial_path() / "foo");
- BOOST_TEST(fs::system_complete(fs::path("c:/")).generic_string()
- == "c:/");
- BOOST_TEST(fs::system_complete(fs::path("c:/foo")).generic_string()
- == "c:/foo");
- BOOST_TEST(fs::system_complete(fs::path("//share")).generic_string()
- == "//share");
- } // Windows
-
- else if (platform == "POSIX")
- {
- cout << "POSIX specific tests..." << endl;
- BOOST_TEST(fs::system_complete("").empty());
- BOOST_TEST(fs::initial_path().root_path().string() == "/");
- BOOST_TEST(fs::system_complete("/").string() == "/");
- BOOST_TEST(fs::system_complete("foo").string()
- == fs::initial_path().string()+"/foo");
- BOOST_TEST(fs::system_complete("/foo").string()
- == fs::initial_path().root_path().string()+"foo");
- } // POSIX
- }
-
- // initial_tests -------------------------------------------------------------------//
-
- void initial_tests()
- {
- cout << "initial_tests..." << endl;
-
- cout << " current_path().string() is\n \""
- << fs::initial_path().string()
- << "\"\n\n";
- BOOST_TEST(fs::initial_path() == fs::current_path());
- BOOST_TEST(fs::initial_path().is_absolute());
- BOOST_TEST(fs::current_path().is_absolute());
- BOOST_TEST(fs::initial_path().string()
- == fs::current_path().string());
- }
-
- // space_tests ---------------------------------------------------------------------//
-
- void space_tests()
- {
- cout << "space_tests..." << endl;
-
- // make some reasonable assuptions for testing purposes
- fs::space_info spi(fs::space(dir));
- BOOST_TEST(spi.capacity > 1000000);
- BOOST_TEST(spi.free > 1000);
- BOOST_TEST(spi.capacity > spi.free);
- BOOST_TEST(spi.free >= spi.available);
-
- // it is convenient to display space, but older VC++ versions choke
-# if !defined(BOOST_MSVC) || _MSC_VER >= 1300 // 1300 == VC++ 7.0
- cout << " capacity = " << spi.capacity << '\n';
- cout << " free = " << spi.free << '\n';
- cout << " available = " << spi.available << '\n';
-# endif
- }
-
- // equivalent_tests ----------------------------------------------------------------//
-
- void equivalent_tests(const fs::path& f1)
- {
- cout << "equivalent_tests..." << endl;
-
- BOOST_TEST(CHECK_EXCEPTION(bad_equivalent, ENOENT));
- BOOST_TEST(fs::equivalent(f1, dir / "f1"));
- BOOST_TEST(fs::equivalent(dir, d1 / ".."));
- BOOST_TEST(!fs::equivalent(f1, dir));
- BOOST_TEST(!fs::equivalent(dir, f1));
- BOOST_TEST(!fs::equivalent(d1, d2));
- BOOST_TEST(!fs::equivalent(dir, ng));
- BOOST_TEST(!fs::equivalent(ng, dir));
- BOOST_TEST(!fs::equivalent(f1, ng));
- BOOST_TEST(!fs::equivalent(ng, f1));
- }
-
- // temp_directory_path_tests -------------------------------------------------------//
- // contributed by Jeff Flinn
-
- struct guarded_env_var
- {
- struct previous_value
- {
- std::string m_name;
- std::string m_string;
- bool m_empty;
-
- previous_value(const char* name)
- : m_string(name)
- , m_empty (true)
- {
- if(const char* value = getenv(name))
- {
- m_string.assign(value);
- m_empty = false;
- }
- else
- {
- m_empty = true;
- }
- }
- ~previous_value()
- {
- m_empty? unsetenv(m_name.c_str())
- : setenv(m_name.c_str(), m_string.c_str(), 1);
- }
- };
-
- previous_value m_previous_value;
-
- guarded_env_var(const char* name, const fs::path::value_type* value)
- : m_previous_value(name)
- {
- value? setenv(name, value, 1) : unsetenv(name);
- }
- };
-
- void temp_directory_path_tests()
- {
- {
- cout << "temp_directory_path_tests..." << endl;
-
- BOOST_TEST(!fs::temp_directory_path().empty());
- BOOST_TEST(exists(fs::temp_directory_path()));
- fs::path ph = fs::temp_directory_path()/"temp_directory_path_test.txt";
- {
- if(exists(ph)) remove(ph);
- std::ofstream f(ph.BOOST_FILESYSTEM_C_STR);
- f << "passed";
- }
- BOOST_TEST(exists(ph));
- {
- std::ifstream f(ph.BOOST_FILESYSTEM_C_STR);
- std::string s;
- f >> s;
- BOOST_TEST(s == "passed");
- }
- remove(ph);
- BOOST_TEST(!exists(ph));
- }
-
- fs::path test_temp_dir = fs::initial_path();
-
-#if defined BOOST_POSIX_API
- {
- struct guarded_tmp_vars
- {
- guarded_env_var m_tmpdir ;
- guarded_env_var m_tmp ;
- guarded_env_var m_temp ;
- guarded_env_var m_tempdir;
-
- guarded_tmp_vars
- ( const fs::path::value_type* tmpdir
- , const fs::path::value_type* tmp
- , const fs::path::value_type* temp
- , const fs::path::value_type* tempdir
- )
- : m_tmpdir ("TMPDIR" , tmpdir )
- , m_tmp ("TMP" , tmp )
- , m_temp ("TEMP" , temp )
- , m_tempdir("TEMPDIR", tempdir)
- {}
- };
-
- {
- guarded_tmp_vars vars(test_temp_dir.c_str(), 0, 0, 0);
- fs::path ph = fs::temp_directory_path();
- BOOST_TEST(equivalent(test_temp_dir, ph));
- }
- {
- guarded_tmp_vars vars(0, test_temp_dir.c_str(), 0, 0);
- fs::path ph = fs::temp_directory_path();
- BOOST_TEST(equivalent(test_temp_dir, ph));
- }
- {
- guarded_tmp_vars vars(0, 0, test_temp_dir.c_str(), 0);
- fs::path ph = fs::temp_directory_path();
- BOOST_TEST(equivalent(test_temp_dir, ph));
- }
- {
- guarded_tmp_vars vars(0, 0, 0, test_temp_dir.c_str());
- fs::path ph = fs::temp_directory_path();
- BOOST_TEST(equivalent(test_temp_dir, ph));
- }
- }
-#endif
-
-#if defined BOOST_WINDOWS_API
- {
- struct guarded_tmp_vars
- {
- guarded_env_var m_tmp ;
- guarded_env_var m_temp ;
- guarded_env_var m_userprofile;
-
- guarded_tmp_vars
- ( const fs::path::value_type* tmp
- , const fs::path::value_type* temp
- , const fs::path::value_type* userprofile
- )
- : m_tmp ("TMP" , tmp )
- , m_temp ("TEMP" , temp )
- , m_userprofile("USERPROFILE", userprofile)
- {}
- };
-
- // should NEVER throw - the windows directory or current_path always exists
- {
- guarded_tmp_vars vars(0, 0, 0);
- fs::path ph = fs::temp_directory_path();
-
- BOOST_TEST(test_temp_dir != ph);
- }
-
- // should NEVER fail - the windows directory or current_path always exists
- {
- guarded_tmp_vars vars(0, 0, 0);
- error_code ec;
- fs::path ph = fs::temp_directory_path(ec);
- BOOST_TEST(!ec);
- }
-
- {
- guarded_tmp_vars vars(test_temp_dir.c_str(), 0, 0);
- fs::path ph = fs::temp_directory_path();
- BOOST_TEST(equivalent(test_temp_dir, ph));
- }
- {
- guarded_tmp_vars vars(0, test_temp_dir.c_str(), 0);
- fs::path ph = fs::temp_directory_path();
- BOOST_TEST(equivalent(test_temp_dir, ph));
- }
- {
- guarded_tmp_vars vars(0, 0, test_temp_dir.c_str());
- fs::path ph = fs::temp_directory_path();
- BOOST_TEST(equivalent(test_temp_dir, ph));
- }
- }
-#endif
- }
-
- // _tests --------------------------------------------------------------------------//
-
- void _tests()
- {
- cout << "_tests..." << endl;
- }
-
-} // unnamed namespace
-
- //------------------------------------------------------------------------------------//
- // //
- // main //
- // //
- //------------------------------------------------------------------------------------//
-
-int cpp_main(int argc, char* argv[])
-{
-// document state of critical macros
-#ifdef BOOST_POSIX_API
- cout << "BOOST_POSIX_API is defined\n";
-#endif
-#ifdef BOOST_WINDOWS_API
- cout << "BOOST_WINDOWS_API is defined\n";
-#endif
-
- for (; argc > 1; --argc, ++argv)
- {
- if (*argv[1]=='-' && *(argv[1]+1)=='t')
- report_throws = true;
- else if (*argv[1]=='-' && *(argv[1]+1)=='x')
- cleanup = false;
- else if (*argv[1]=='-' && *(argv[1]+1)=='w')
- skip_long_windows_tests = true;
- }
-
- // The choice of platform to test is make at runtime rather than compile-time
- // so that compile errors for all platforms will be detected even though
- // only the current platform is runtime tested.
-# if defined(BOOST_POSIX_API)
- platform = "POSIX";
-# elif defined(BOOST_WINDOWS_API)
- platform = "Windows";
-# if !defined(__MINGW32__) && !defined(__CYGWIN__)
- language_id = ::GetUserDefaultUILanguage();
-# else
- language_id = 0x0409; // Assume US English
-# endif
-# else
-# error neither BOOST_POSIX_API nor BOOST_WINDOWS_API is defined. See boost/system/api_config.hpp
-# endif
- cout << "API is " << platform << endl;
-
- dir = fs::initial_path() / temp_dir_name;
-
- if (fs::exists(dir))
- {
- cout << "remove residue from prior failed tests..." << endl;
- fs::remove_all(dir);
- }
- BOOST_TEST(!fs::exists(dir));
-
- // several functions give unreasonable results if uintmax_t isn't 64-bits
- cout << "sizeof(boost::uintmax_t) = " << sizeof(boost::uintmax_t) << '\n';
- BOOST_TEST(sizeof(boost::uintmax_t) >= 8);
-
- initial_tests();
- predicate_and_status_tests();
- exception_tests();
- platform_specific_tests();
- create_directory_tests();
- current_directory_tests();
- space_tests();
-
- // create a directory tree that can be used by subsequent tests
- //
- // dir
- // d1
- // d1f1 // an empty file
- // f0 // an empty file
- // f1 // a file containing "file f1"
- //
- create_tree();
-
- status_of_nonexistent_tests();
- status_error_reporting_tests();
- directory_iterator_tests();
- create_directories_tests(); // must run AFTER directory_iterator_tests
-
- bad_create_directory_path = f1;
- BOOST_TEST(CHECK_EXCEPTION(bad_create_directory, EEXIST));
- fs::file_status stat = fs::status(f1);
- BOOST_TEST(fs::status_known(stat));
- BOOST_TEST(fs::exists(stat));
- BOOST_TEST(!fs::is_directory(stat));
- BOOST_TEST(fs::is_regular_file(stat));
- BOOST_TEST(!fs::is_other(stat));
- BOOST_TEST(!fs::is_symlink(stat));
-
- equivalent_tests(f1);
- create_hard_link_tests();
- create_symlink_tests();
- resize_file_tests();
- absolute_tests();
- canonical_basic_tests();
- permissions_tests();
- copy_file_tests(f1, d1);
- if (create_symlink_ok) // only if symlinks supported
- {
- symlink_status_tests();
- copy_symlink_tests(f1, d1);
- canonical_symlink_tests();
- }
- iterator_status_tests(); // lots of cases by now, so a good time to test
-// dump_tree(dir);
- recursive_directory_iterator_tests();
- recursive_iterator_status_tests(); // lots of cases by now, so a good time to test
- rename_tests();
- remove_tests(dir);
- if (create_symlink_ok) // only if symlinks supported
- remove_symlink_tests();
- write_time_tests(dir);
-
- temp_directory_path_tests();
-
- cout << "testing complete" << endl;
-
- // post-test cleanup
- if (cleanup)
- {
- cout << "post-test removal of " << dir << endl;
- BOOST_TEST(fs::remove_all(dir) != 0);
- // above was added just to simplify testing, but it ended up detecting
- // a bug (failure to close an internal search handle).
- cout << "post-test removal complete" << endl;
- BOOST_TEST(!fs::exists(dir));
- BOOST_TEST(fs::remove_all(dir) == 0);
- }
-
- cout << "returning from main()" << endl;
- return ::boost::report_errors();
-} // main
diff --git a/libs/filesystem/v3/test/operations_unit_test.cpp b/libs/filesystem/v3/test/operations_unit_test.cpp
deleted file mode 100644
index b592fd93ed..0000000000
--- a/libs/filesystem/v3/test/operations_unit_test.cpp
+++ /dev/null
@@ -1,265 +0,0 @@
-// operations_unit_test.cpp ----------------------------------------------------------//
-
-// Copyright Beman Dawes 2008, 2009
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-// ------------------------------------------------------------------------------------//
-
-// This program is misnamed - it is really a smoke test rather than a unit_test
-
-// ------------------------------------------------------------------------------------//
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-#include <boost/config/warning_disable.hpp>
-
-// See deprecated_test for tests of deprecated features
-#ifndef BOOST_FILESYSTEM_NO_DEPRECATED
-# define BOOST_FILESYSTEM_NO_DEPRECATED
-#endif
-#ifndef BOOST_SYSTEM_NO_DEPRECATED
-# define BOOST_SYSTEM_NO_DEPRECATED
-#endif
-
-#include <boost/filesystem.hpp> // make sure filesystem.hpp works
-#include <boost/system/error_code.hpp>
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-#include <iostream>
-
-using namespace boost::filesystem;
-using namespace boost::system;
-using std::cout;
-using std::endl;
-using std::string;
-
-#define CHECK(x) check(x, __FILE__, __LINE__)
-
-namespace
-{
-
- void check(bool ok, const char* file, int line)
- {
- if (ok) return;
-
- ++::boost::detail::test_errors();
-
- cout << file << '(' << line << "): test failed\n";
- }
-
- // file_status_test ----------------------------------------------------------------//
-
- void file_status_test()
- {
- cout << "file_status test..." << endl;
-
- file_status s = status(".");
- int v = s.permissions();
- cout << " status(\".\") permissions are "
- << std::oct << (v & 0777) << std::dec << endl;
- CHECK((v & 0400) == 0400);
-
- s = symlink_status(".");
- v = s.permissions();
- cout << " symlink_status(\".\") permissions are "
- << std::oct << (v & 0777) << std::dec << endl;
- CHECK((v & 0400) == 0400);
- }
-
- // query_test ----------------------------------------------------------------------//
-
- void query_test()
- {
- cout << "query test..." << endl;
-
- error_code ec;
-
- CHECK(file_size("no-such-file", ec) == static_cast<boost::uintmax_t>(-1));
- CHECK(ec == errc::no_such_file_or_directory);
-
- CHECK(status("no-such-file") == file_status(file_not_found, no_perms));
-
- CHECK(exists("/"));
- CHECK(is_directory("/"));
- CHECK(!exists("no-such-file"));
-
- exists("/", ec);
- if (ec)
- {
- cout << "exists(\"/\", ec) resulted in non-zero ec.value()" << endl;
- cout << "ec value: " << ec.value() << ", message: "<< ec.message() << endl;
- }
- CHECK(!ec);
-
- CHECK(exists("/"));
- CHECK(is_directory("/"));
- CHECK(!is_regular_file("/"));
- CHECK(!boost::filesystem::is_empty("/"));
- CHECK(!is_other("/"));
- }
-
- // directory_iterator_test -----------------------------------------------//
-
- void directory_iterator_test()
- {
- cout << "directory_iterator_test..." << endl;
-
- directory_iterator end;
-
- directory_iterator it(".");
-
- CHECK(!it->path().empty());
-
- if (is_regular_file(it->status()))
- {
- CHECK(is_regular_file(it->symlink_status()));
- CHECK(!is_directory(it->status()));
- CHECK(!is_symlink(it->status()));
- CHECK(!is_directory(it->symlink_status()));
- CHECK(!is_symlink(it->symlink_status()));
- }
- else
- {
- CHECK(is_directory(it->status()));
- CHECK(is_directory(it->symlink_status()));
- CHECK(!is_regular_file(it->status()));
- CHECK(!is_regular_file(it->symlink_status()));
- CHECK(!is_symlink(it->status()));
- CHECK(!is_symlink(it->symlink_status()));
- }
-
- for (; it != end; ++it)
- {
-// cout << " " << it->path().string() << "\n";
- }
-
- cout << "directory_iterator_test complete" << endl;
- }
-
- // operations_test -------------------------------------------------------//
-
- void operations_test()
- {
- cout << "operations test..." << endl;
-
- error_code ec;
-
- CHECK(!create_directory("/", ec));
-
- CHECK(!boost::filesystem::remove("no-such-file-or-directory"));
- CHECK(!remove_all("no-such-file-or-directory"));
-
- space_info info = space("/");
-
- CHECK(info.available <= info.capacity);
-
- CHECK(equivalent("/", "/"));
- CHECK(!equivalent("/", "."));
-
- std::time_t ft = last_write_time(".");
- ft = -1;
- last_write_time(".", ft, ec);
- }
-
- // directory_entry_test ------------------------------------------------------------//
-
- void directory_entry_test()
- {
- cout << "directory_entry test..." << endl;
-
- directory_entry de("foo.bar",
- file_status(regular_file, owner_all), file_status(directory_file, group_all));
-
- CHECK(de.path() == "foo.bar");
- CHECK(de.status() == file_status(regular_file, owner_all));
- CHECK(de.symlink_status() == file_status(directory_file, group_all));
- CHECK(de < directory_entry("goo.bar"));
- CHECK(de == directory_entry("foo.bar"));
- CHECK(de != directory_entry("goo.bar"));
- de.replace_filename("bar.foo");
- CHECK(de.path() == "bar.foo");
- }
-
- // directory_entry_overload_test ---------------------------------------------------//
-
- void directory_entry_overload_test()
- {
- cout << "directory_entry overload test..." << endl;
-
- directory_iterator it(".");
- path p(*it);
- }
-
- // error_handling_test -------------------------------------------------------------//
-
- void error_handling_test()
- {
- cout << "error handling test..." << endl;
-
- bool threw(false);
- try
- {
- file_size("no-such-file");
- }
- catch (const boost::filesystem::filesystem_error & ex)
- {
- threw = true;
- cout << "\nas expected, attempt to get size of non-existent file threw a filesystem_error\n"
- "what() returns " << ex.what() << "\n";
- }
- catch (...)
- {
- cout << "\nunexpected exception type caught" << endl;
- }
-
- CHECK(threw);
-
- error_code ec;
- CHECK(!create_directory("/", ec));
- }
-
-} // unnamed namespace
-
-//--------------------------------------------------------------------------------------//
-// //
-// main //
-// //
-//--------------------------------------------------------------------------------------//
-
-int cpp_main(int, char*[])
-{
-// document state of critical macros
-#ifdef BOOST_POSIX_API
- cout << "BOOST_POSIX_API is defined\n";
-#endif
-#ifdef BOOST_WINDOWS_API
- cout << "BOOST_WINDOWS_API is defined\n";
-#endif
- cout << "BOOST_FILESYSTEM_DECL" << BOOST_STRINGIZE(=BOOST_FILESYSTEM_DECL) << "\n";
- cout << "BOOST_SYMBOL_VISIBLE" << BOOST_STRINGIZE(=BOOST_SYMBOL_VISIBLE) << "\n";
-
- cout << "current_path() is " << current_path().string() << endl;
-
- file_status_test();
- query_test();
- directory_iterator_test();
- operations_test();
- directory_entry_test();
- directory_entry_overload_test();
- error_handling_test();
-
- cout << unique_path() << endl;
- cout << unique_path("foo-%%%%%-%%%%%-bar") << endl;
-
- return ::boost::report_errors();
-}
diff --git a/libs/filesystem/v3/test/path_test.cpp b/libs/filesystem/v3/test/path_test.cpp
deleted file mode 100644
index c3e64a73c3..0000000000
--- a/libs/filesystem/v3/test/path_test.cpp
+++ /dev/null
@@ -1,1811 +0,0 @@
-// path_test program -----------------------------------------------------------------//
-
-// Copyright Beman Dawes 2002, 2008
-// Copyright Vladimir Prus 2002
-
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-
-// See library home page at http://www.boost.org/libs/filesystem
-
-// basic_path's stem(), extension(), and replace_extension() tests are based
-// on basename(), extension(), and change_extension() tests from the original
-// convenience_test.cpp by Vladimir Prus.
-
-//--------------------------------------------------------------------------------------//
-// //
-// Caution //
-// //
-// The class path relational operators (==, !=, <, etc.) on Windows treat slash and //
-// backslash as equal. Thus any tests on Windows where the difference between slash //
-// and backslash is significant should compare strings rather than paths. //
-// //
-// BOOST_TEST(path == path) // '\\' and '/' are equal //
-// BOOST_TEST(path == convertable to string) // '\\' and '/' are equal //
-// PATH_TEST_EQ(path, path) // '\\' and '/' are equal //
-// //
-// BOOST_TEST(path.string() == path.string()) // '\\' and '/' are not equal //
-// BOOST_TEST(path.string() == //
-// convertable to string) // '\\' and '/' are not equal //
-// PATH_TEST_EQ(path.string(), //
-// convertable to string) // '\\' and '/' are not equal //
-// //
-// The last of these is often what is needed, so the PATH_TEST_EQ macro is provided. //
-// It converts its first argument to a path, and then performs a .string() on it, //
-// eliminating much boilerplate .string() or even path(...).string() code. //
-// //
-// PATH_TEST_EQ(path, convertable to string) // '\\' and '/' are not equal //
-// //
-//--------------------------------------------------------------------------------------//
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-#include <boost/config/warning_disable.hpp>
-
-// See deprecated_test for tests of deprecated features
-#ifndef BOOST_FILESYSTEM_NO_DEPRECATED
-# define BOOST_FILESYSTEM_NO_DEPRECATED
-#endif
-#ifndef BOOST_SYSTEM_NO_DEPRECATED
-# define BOOST_SYSTEM_NO_DEPRECATED
-#endif
-
-#include <boost/filesystem/operations.hpp>
-#include <boost/utility.hpp>
-#include <iostream>
-#include <sstream>
-#include <string>
-#include <vector>
-#include <cstring>
-#include <cassert>
-
-namespace fs = boost::filesystem;
-using boost::filesystem::path;
-
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-
-#ifdef BOOST_WINDOWS_API
-# define BOOST_DIR_SEP "\\"
-#else
-# define BOOST_DIR_SEP "/"
-#endif
-
-#define PATH_TEST_EQ(a, b) check(a, b, __FILE__, __LINE__)
-
-namespace
-{
- std::string platform(BOOST_PLATFORM);
-
- void check(const fs::path & source,
- const std::string & expected, const char* file, int line)
- {
- if (source.string() == expected)
- return;
-
- std::cout << file
- << '(' << line << "): source: \"" << source.string()
- << "\" != expected: \"" << expected
- << "\"" << std::endl;
-
- ++::boost::detail::test_errors();
- }
-
- path p1("fe/fi/fo/fum");
- path p2(p1);
- path p3;
- path p4("foobar");
- path p5;
-
- // exception_tests -----------------------------------------------------------------//
-
- void exception_tests()
- {
- std::cout << "exception_tests..." << std::endl;
- const std::string str_1("string-1");
- boost::system::error_code ec(12345, boost::system::system_category());
- try { throw fs::filesystem_error(str_1, ec); }
- catch (const fs::filesystem_error & ex)
- {
- //std::cout << ex.what() << "*" << std::endl;
- //BOOST_TEST(std::strcmp(ex.what(),
- // "string-1: Unknown error") == 0);
- BOOST_TEST(ex.code() == ec);
- }
-
- try { throw fs::filesystem_error(str_1, "p1", "p2", ec); }
- catch (const fs::filesystem_error & ex)
- {
- //std::cout << ex.what() << "*" << std::endl;
- //BOOST_TEST(std::strcmp(ex.what(),
- // "string-1: Unknown error: \"p1\", \"p2\"") == 0);
- BOOST_TEST(ex.code() == ec);
- BOOST_TEST(ex.path1() == "p1");
- BOOST_TEST(ex.path2() == "p2");
- }
- }
-
- // overload_tests ------------------------------------------------------------------//
-
- // These verify various overloads don't cause compiler errors
- // They pre-date operations_unit_test.cpp
-
- void overload_tests()
- {
- std::cout << "overload_tests..." << std::endl;
-
- fs::exists(p1);
- fs::exists("foo");
- fs::exists(std::string("foo"));
-
- fs::exists(p1 / path("foo"));
- fs::exists(p1 / "foo");
- fs::exists(p1 / std::string("foo"));
-
- fs::exists("foo" / p1);
- fs::exists(std::string("foo") / p1);
-
- p4 /= path("foo");
- p4 /= "foo";
- p4 /= std::string("foo");
- }
-
- // iterator_tests ------------------------------------------------------------------//
-
- void iterator_tests()
- {
- std::cout << "iterator_tests..." << std::endl;
-
- path itr_ck = "";
- path::const_iterator itr = itr_ck.begin();
- BOOST_TEST(itr == itr_ck.end());
-
- itr_ck = "/";
- itr = itr_ck.begin();
- BOOST_TEST(itr->string() == "/");
- BOOST_TEST(++itr == itr_ck.end());
- BOOST_TEST((--itr)->string() == "/");
-
- itr_ck = "foo";
- BOOST_TEST(*itr_ck.begin() == std::string("foo"));
- BOOST_TEST(boost::next(itr_ck.begin()) == itr_ck.end());
- BOOST_TEST(*boost::prior(itr_ck.end()) == std::string("foo"));
- BOOST_TEST(boost::prior(itr_ck.end()) == itr_ck.begin());
-
- itr_ck = path("/foo");
- BOOST_TEST((itr_ck.begin())->string() == "/");
- BOOST_TEST(*boost::next(itr_ck.begin()) == std::string("foo"));
- BOOST_TEST(boost::next(boost::next(itr_ck.begin())) == itr_ck.end());
- BOOST_TEST(boost::next(itr_ck.begin()) == boost::prior(itr_ck.end()));
- BOOST_TEST(*boost::prior(itr_ck.end()) == std::string("foo"));
- BOOST_TEST(*boost::prior(boost::prior(itr_ck.end())) == std::string("/"));
- BOOST_TEST(boost::prior(boost::prior(itr_ck.end())) == itr_ck.begin());
-
- itr_ck = "/foo/bar";
- itr = itr_ck.begin();
- BOOST_TEST(itr->string() == "/");
- BOOST_TEST(*++itr == std::string("foo"));
- BOOST_TEST(*++itr == std::string("bar"));
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, "bar");
- PATH_TEST_EQ(*--itr, "foo");
- PATH_TEST_EQ(*--itr, "/");
-
- itr_ck = "../f"; // previously failed due to short name bug
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "..");
- PATH_TEST_EQ(*++itr, "f");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, "f");
- PATH_TEST_EQ(*--itr, "..");
-
- // POSIX says treat "/foo/bar/" as "/foo/bar/."
- itr_ck = "/foo/bar/";
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "/");
- PATH_TEST_EQ(*++itr, "foo");
- PATH_TEST_EQ(*++itr, "bar");
- PATH_TEST_EQ(*++itr, ".");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, ".");
- PATH_TEST_EQ(*--itr, "bar");
- PATH_TEST_EQ(*--itr, "foo");
- PATH_TEST_EQ(*--itr, "/");
-
- // POSIX says treat "/f/b/" as "/f/b/."
- itr_ck = "/f/b/";
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "/");
- PATH_TEST_EQ(*++itr, "f");
- PATH_TEST_EQ(*++itr, "b");
- PATH_TEST_EQ(*++itr, ".");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, ".");
- PATH_TEST_EQ(*--itr, "b");
- PATH_TEST_EQ(*--itr, "f");
- PATH_TEST_EQ(*--itr, "/");
-
- itr_ck = "//net";
- itr = itr_ck.begin();
- // two leading slashes are permitted by POSIX (as implementation defined),
- // while for Windows it is always well defined (as a network name)
- PATH_TEST_EQ(itr->string(), "//net");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, "//net");
-
- itr_ck = "//net/";
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "//net");
- PATH_TEST_EQ(*++itr, "/");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, "/");
- PATH_TEST_EQ(*--itr, "//net");
-
- itr_ck = "//foo///bar///";
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "//foo");
- PATH_TEST_EQ(*++itr, "/");
- PATH_TEST_EQ(*++itr, "bar");
- PATH_TEST_EQ(*++itr, ".");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, ".");
- PATH_TEST_EQ(*--itr, "bar");
- PATH_TEST_EQ(*--itr, "/");
- PATH_TEST_EQ(*--itr, "//foo");
-
- itr_ck = "///foo///bar///";
- itr = itr_ck.begin();
- // three or more leading slashes are to be treated as a single slash
- PATH_TEST_EQ(itr->string(), "/");
- PATH_TEST_EQ(*++itr, "foo");
- PATH_TEST_EQ(*++itr, "bar");
- PATH_TEST_EQ(*++itr, ".");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, ".");
- PATH_TEST_EQ(*--itr, "bar");
- PATH_TEST_EQ(*--itr, "foo");
- PATH_TEST_EQ(*--itr, "/");
-
- if (platform == "Windows")
- {
- itr_ck = "c:/";
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "c:");
- PATH_TEST_EQ(*++itr, std::string("/"));
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, "/");
- PATH_TEST_EQ(*--itr, "c:");
-
- itr_ck = "c:\\";
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "c:");
- PATH_TEST_EQ(*++itr, "/"); // test that iteration returns generic format
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, "/"); // test that iteration returns generic format
- PATH_TEST_EQ(*--itr, "c:");
-
- itr_ck = "c:/foo";
- itr = itr_ck.begin();
- BOOST_TEST(*itr == std::string("c:"));
- BOOST_TEST(*++itr == std::string("/"));
- BOOST_TEST(*++itr == std::string("foo"));
- BOOST_TEST(++itr == itr_ck.end());
- BOOST_TEST(*--itr == std::string("foo"));
- BOOST_TEST((--itr)->string() == "/");
- BOOST_TEST(*--itr == std::string("c:"));
-
- itr_ck = "c:\\foo";
- itr = itr_ck.begin();
- BOOST_TEST(*itr == std::string("c:"));
- BOOST_TEST(*++itr == std::string("\\"));
- BOOST_TEST(*++itr == std::string("foo"));
- BOOST_TEST(++itr == itr_ck.end());
- BOOST_TEST(*--itr == std::string("foo"));
- BOOST_TEST(*--itr == std::string("\\"));
- BOOST_TEST(*--itr == std::string("c:"));
-
- itr_ck = "\\\\\\foo\\\\\\bar\\\\\\";
- itr = itr_ck.begin();
- // three or more leading slashes are to be treated as a single slash
- PATH_TEST_EQ(itr->string(), "/");
- PATH_TEST_EQ(*++itr, "foo");
- PATH_TEST_EQ(*++itr, "bar");
- PATH_TEST_EQ(*++itr, ".");
- BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, ".");
- PATH_TEST_EQ(*--itr, "bar");
- PATH_TEST_EQ(*--itr, "foo");
- PATH_TEST_EQ(*--itr, "/");
-
- itr_ck = "c:foo";
- itr = itr_ck.begin();
- BOOST_TEST(*itr == std::string("c:"));
- BOOST_TEST(*++itr == std::string("foo"));
- BOOST_TEST(++itr == itr_ck.end());
- BOOST_TEST(*--itr == std::string("foo"));
- BOOST_TEST(*--itr == std::string("c:"));
-
- itr_ck = "c:foo/";
- itr = itr_ck.begin();
- BOOST_TEST(*itr == std::string("c:"));
- BOOST_TEST(*++itr == std::string("foo"));
- BOOST_TEST(*++itr == std::string("."));
- BOOST_TEST(++itr == itr_ck.end());
- BOOST_TEST(*--itr == std::string("."));
- BOOST_TEST(*--itr == std::string("foo"));
- BOOST_TEST(*--itr == std::string("c:"));
-
- itr_ck = path("c:");
- BOOST_TEST(*itr_ck.begin() == std::string("c:"));
- BOOST_TEST(next(itr_ck.begin()) == itr_ck.end());
- BOOST_TEST(prior(itr_ck.end()) == itr_ck.begin());
- BOOST_TEST(*prior(itr_ck.end()) == std::string("c:"));
-
- itr_ck = path("c:/");
- BOOST_TEST(*itr_ck.begin() == std::string("c:"));
- BOOST_TEST(*next(itr_ck.begin()) == std::string("/"));
- BOOST_TEST(next(next(itr_ck.begin())) == itr_ck.end());
- BOOST_TEST(prior(prior(itr_ck.end())) == itr_ck.begin());
- BOOST_TEST(*prior(itr_ck.end()) == std::string("/"));
- BOOST_TEST(*prior(prior(itr_ck.end())) == std::string("c:"));
-
- itr_ck = path("c:foo");
- BOOST_TEST(*itr_ck.begin() == std::string("c:"));
- BOOST_TEST(*next(itr_ck.begin()) == std::string("foo"));
- BOOST_TEST(next(next(itr_ck.begin())) == itr_ck.end());
- BOOST_TEST(prior(prior(itr_ck.end())) == itr_ck.begin());
- BOOST_TEST(*prior(itr_ck.end()) == std::string("foo"));
- BOOST_TEST(*prior(prior(itr_ck.end())) == std::string("c:"));
-
- itr_ck = path("c:/foo");
- BOOST_TEST(*itr_ck.begin() == std::string("c:"));
- BOOST_TEST(*next(itr_ck.begin()) == std::string("/"));
- BOOST_TEST(*next(next(itr_ck.begin())) == std::string("foo"));
- BOOST_TEST(next(next(next(itr_ck.begin()))) == itr_ck.end());
- BOOST_TEST(prior(prior(prior(itr_ck.end()))) == itr_ck.begin());
- BOOST_TEST(*prior(itr_ck.end()) == std::string("foo"));
- BOOST_TEST(*prior(prior(itr_ck.end())) == std::string("/"));
- BOOST_TEST(*prior(prior(prior(itr_ck.end()))) == std::string("c:"));
-
- itr_ck = path("//net");
- BOOST_TEST(*itr_ck.begin() == std::string("//net"));
- BOOST_TEST(next(itr_ck.begin()) == itr_ck.end());
- BOOST_TEST(prior(itr_ck.end()) == itr_ck.begin());
- BOOST_TEST(*prior(itr_ck.end()) == std::string("//net"));
-
- itr_ck = path("//net/");
- PATH_TEST_EQ(itr_ck.begin()->string(), "//net");
- PATH_TEST_EQ(next(itr_ck.begin())->string(), "/");
- BOOST_TEST(next(next(itr_ck.begin())) == itr_ck.end());
- BOOST_TEST(prior(prior(itr_ck.end())) == itr_ck.begin());
- PATH_TEST_EQ(prior(itr_ck.end())->string(), "/");
- PATH_TEST_EQ(prior(prior(itr_ck.end()))->string(), "//net");
-
- itr_ck = path("//net/foo");
- BOOST_TEST(*itr_ck.begin() == std::string("//net"));
- BOOST_TEST(*next(itr_ck.begin()) == std::string("/"));
- BOOST_TEST(*next(next(itr_ck.begin())) == std::string("foo"));
- BOOST_TEST(next(next(next(itr_ck.begin()))) == itr_ck.end());
- BOOST_TEST(prior(prior(prior(itr_ck.end()))) == itr_ck.begin());
- BOOST_TEST(*prior(itr_ck.end()) == std::string("foo"));
- BOOST_TEST(*prior(prior(itr_ck.end())) == std::string("/"));
- BOOST_TEST(*prior(prior(prior(itr_ck.end()))) == std::string("//net"));
-
- itr_ck = path("prn:");
- BOOST_TEST(*itr_ck.begin() == std::string("prn:"));
- BOOST_TEST(next(itr_ck.begin()) == itr_ck.end());
- BOOST_TEST(prior(itr_ck.end()) == itr_ck.begin());
- BOOST_TEST(*prior(itr_ck.end()) == std::string("prn:"));
- }
- else
- {
- itr_ck = "///";
- itr = itr_ck.begin();
- PATH_TEST_EQ(itr->string(), "/");
- BOOST_TEST(++itr == itr_ck.end());
- }
- }
-
- // non_member_tests ----------------------------------------------------------------//
-
- void non_member_tests()
- {
- std::cout << "non_member_tests..." << std::endl;
-
- // test non-member functions, particularly operator overloads
-
- path e, e2;
- std::string es, es2;
- char ecs[] = "";
- char ecs2[] = "";
-
- char acs[] = "a";
- std::string as(acs);
- path a(as);
-
- char acs2[] = "a";
- std::string as2(acs2);
- path a2(as2);
-
- char bcs[] = "b";
- std::string bs(bcs);
- path b(bs);
-
- // swap
- a.swap(b);
- BOOST_TEST(a.string() == "b");
- BOOST_TEST(b.string() == "a");
- fs::swap(a, b);
- BOOST_TEST(a.string() == "a");
- BOOST_TEST(b.string() == "b");
-
- // probe operator /
- PATH_TEST_EQ(path("") / ".", ".");
- PATH_TEST_EQ(path("") / "..", "..");
- if (platform == "Windows")
- {
- BOOST_TEST(path("foo\\bar") == "foo/bar");
- BOOST_TEST((b / a).native() == path("b\\a").native());
- BOOST_TEST((bs / a).native() == path("b\\a").native());
- BOOST_TEST((bcs / a).native() == path("b\\a").native());
- BOOST_TEST((b / as).native() == path("b\\a").native());
- BOOST_TEST((b / acs).native() == path("b\\a").native());
- PATH_TEST_EQ(path("a") / "b", "a\\b");
- PATH_TEST_EQ(path("..") / "", "..");
- PATH_TEST_EQ(path("foo") / path("bar"), "foo\\bar"); // path arg
- PATH_TEST_EQ(path("foo") / "bar", "foo\\bar"); // const char* arg
- PATH_TEST_EQ(path("foo") / path("woo/bar").filename(), "foo\\bar"); // const std::string & arg
- PATH_TEST_EQ("foo" / path("bar"), "foo\\bar");
- PATH_TEST_EQ(path("..") / ".." , "..\\..");
- PATH_TEST_EQ(path("/") / ".." , "/..");
- PATH_TEST_EQ(path("/..") / ".." , "/..\\..");
- PATH_TEST_EQ(path("..") / "foo" , "..\\foo");
- PATH_TEST_EQ(path("foo") / ".." , "foo\\..");
- PATH_TEST_EQ(path("..") / "f" , "..\\f");
- PATH_TEST_EQ(path("/..") / "f" , "/..\\f");
- PATH_TEST_EQ(path("f") / ".." , "f\\..");
- PATH_TEST_EQ(path("foo") / ".." / ".." , "foo\\..\\..");
- PATH_TEST_EQ(path("foo") / ".." / ".." / ".." , "foo\\..\\..\\..");
- PATH_TEST_EQ(path("f") / ".." / "b" , "f\\..\\b");
- PATH_TEST_EQ(path("foo") / ".." / "bar" , "foo\\..\\bar");
- PATH_TEST_EQ(path("foo") / "bar" / ".." , "foo\\bar\\..");
- PATH_TEST_EQ(path("foo") / "bar" / ".." / "..", "foo\\bar\\..\\..");
- PATH_TEST_EQ(path("foo") / "bar" / ".." / "blah", "foo\\bar\\..\\blah");
- PATH_TEST_EQ(path("f") / "b" / ".." , "f\\b\\..");
- PATH_TEST_EQ(path("f") / "b" / ".." / "a", "f\\b\\..\\a");
- PATH_TEST_EQ(path("foo") / "bar" / "blah" / ".." / "..", "foo\\bar\\blah\\..\\..");
- PATH_TEST_EQ(path("foo") / "bar" / "blah" / ".." / ".." / "bletch", "foo\\bar\\blah\\..\\..\\bletch");
-
- PATH_TEST_EQ(path(".") / "foo", ".\\foo");
- PATH_TEST_EQ(path(".") / "..", ".\\..");
- PATH_TEST_EQ(path("foo") / ".", "foo\\.");
- PATH_TEST_EQ(path("..") / ".", "..\\.");
- PATH_TEST_EQ(path(".") / ".", ".\\.");
- PATH_TEST_EQ(path(".") / "." / ".", ".\\.\\.");
- PATH_TEST_EQ(path(".") / "foo" / ".", ".\\foo\\.");
- PATH_TEST_EQ(path("foo") / "." / "bar", "foo\\.\\bar");
- PATH_TEST_EQ(path("foo") / "." / ".", "foo\\.\\.");
- PATH_TEST_EQ(path("foo") / "." / "..", "foo\\.\\..");
- PATH_TEST_EQ(path(".") / "." / "..", ".\\.\\..");
- PATH_TEST_EQ(path(".") / ".." / ".", ".\\..\\.");
- PATH_TEST_EQ(path("..") / "." / ".", "..\\.\\.");
- }
- else // POSIX
- {
- PATH_TEST_EQ(b / a, "b/a");
- PATH_TEST_EQ(bs / a, "b/a");
- PATH_TEST_EQ(bcs / a, "b/a");
- PATH_TEST_EQ(b / as, "b/a");
- PATH_TEST_EQ(b / acs, "b/a");
- PATH_TEST_EQ(path("a") / "b", "a/b");
- PATH_TEST_EQ(path("..") / "", "..");
- PATH_TEST_EQ(path("") / "..", "..");
- PATH_TEST_EQ(path("foo") / path("bar"), "foo/bar"); // path arg
- PATH_TEST_EQ(path("foo") / "bar", "foo/bar"); // const char* arg
- PATH_TEST_EQ(path("foo") / path("woo/bar").filename(), "foo/bar"); // const std::string & arg
- PATH_TEST_EQ("foo" / path("bar"), "foo/bar");
- PATH_TEST_EQ(path("..") / ".." , "../..");
- PATH_TEST_EQ(path("/") / ".." , "/..");
- PATH_TEST_EQ(path("/..") / ".." , "/../..");
- PATH_TEST_EQ(path("..") / "foo" , "../foo");
- PATH_TEST_EQ(path("foo") / ".." , "foo/..");
- PATH_TEST_EQ(path("..") / "f" , "../f");
- PATH_TEST_EQ(path("/..") / "f" , "/../f");
- PATH_TEST_EQ(path("f") / ".." , "f/..");
- PATH_TEST_EQ(path("foo") / ".." / ".." , "foo/../..");
- PATH_TEST_EQ(path("foo") / ".." / ".." / ".." , "foo/../../..");
- PATH_TEST_EQ(path("f") / ".." / "b" , "f/../b");
- PATH_TEST_EQ(path("foo") / ".." / "bar" , "foo/../bar");
- PATH_TEST_EQ(path("foo") / "bar" / ".." , "foo/bar/..");
- PATH_TEST_EQ(path("foo") / "bar" / ".." / "..", "foo/bar/../..");
- PATH_TEST_EQ(path("foo") / "bar" / ".." / "blah", "foo/bar/../blah");
- PATH_TEST_EQ(path("f") / "b" / ".." , "f/b/..");
- PATH_TEST_EQ(path("f") / "b" / ".." / "a", "f/b/../a");
- PATH_TEST_EQ(path("foo") / "bar" / "blah" / ".." / "..", "foo/bar/blah/../..");
- PATH_TEST_EQ(path("foo") / "bar" / "blah" / ".." / ".." / "bletch", "foo/bar/blah/../../bletch");
-
- PATH_TEST_EQ(path(".") / "foo", "./foo");
- PATH_TEST_EQ(path(".") / "..", "./..");
- PATH_TEST_EQ(path("foo") / ".", "foo/.");
- PATH_TEST_EQ(path("..") / ".", "../.");
- PATH_TEST_EQ(path(".") / ".", "./.");
- PATH_TEST_EQ(path(".") / "." / ".", "././.");
- PATH_TEST_EQ(path(".") / "foo" / ".", "./foo/.");
- PATH_TEST_EQ(path("foo") / "." / "bar", "foo/./bar");
- PATH_TEST_EQ(path("foo") / "." / ".", "foo/./.");
- PATH_TEST_EQ(path("foo") / "." / "..", "foo/./..");
- PATH_TEST_EQ(path(".") / "." / "..", "././..");
- PATH_TEST_EQ(path(".") / ".." / ".", "./../.");
- PATH_TEST_EQ(path("..") / "." / ".", ".././.");
- }
-
- // probe operator <
- BOOST_TEST(!(e < e2));
- BOOST_TEST(!(es < e2));
- BOOST_TEST(!(ecs < e2));
- BOOST_TEST(!(e < es2));
- BOOST_TEST(!(e < ecs2));
-
- BOOST_TEST(e < a);
- BOOST_TEST(es < a);
- BOOST_TEST(ecs < a);
- BOOST_TEST(e < as);
- BOOST_TEST(e < acs);
-
- BOOST_TEST(a < b);
- BOOST_TEST(as < b);
- BOOST_TEST(acs < b);
- BOOST_TEST(a < bs);
- BOOST_TEST(a < bcs);
-
- BOOST_TEST(!(a < a2));
- BOOST_TEST(!(as < a2));
- BOOST_TEST(!(acs < a2));
- BOOST_TEST(!(a < as2));
- BOOST_TEST(!(a < acs2));
-
- // make sure basic_path overloads don't conflict with std::string overloads
-
- BOOST_TEST(!(as < as));
- BOOST_TEST(!(as < acs));
- BOOST_TEST(!(acs < as));
-
- // reality check character set is as expected
- BOOST_TEST(std::string("a.b") < std::string("a/b"));
- // verify compare is actually lexicographical
- BOOST_TEST(path("a/b") < path("a.b"));
-
- // make sure the derivative operators also work
-
- BOOST_TEST(b > a);
- BOOST_TEST(b > as);
- BOOST_TEST(b > acs);
- BOOST_TEST(bs > a);
- BOOST_TEST(bcs > a);
-
- BOOST_TEST(!(a2 > a));
- BOOST_TEST(!(a2 > as));
- BOOST_TEST(!(a2 > acs));
- BOOST_TEST(!(as2 > a));
- BOOST_TEST(!(acs2 > a));
-
- BOOST_TEST(a <= b);
- BOOST_TEST(as <= b);
- BOOST_TEST(acs <= b);
- BOOST_TEST(a <= bs);
- BOOST_TEST(a <= bcs);
-
- BOOST_TEST(a <= a2);
- BOOST_TEST(as <= a2);
- BOOST_TEST(acs <= a2);
- BOOST_TEST(a <= as2);
- BOOST_TEST(a <= acs2);
-
- BOOST_TEST(b >= a);
- BOOST_TEST(bs >= a);
- BOOST_TEST(bcs >= a);
- BOOST_TEST(b >= as);
- BOOST_TEST(b >= acs);
-
- BOOST_TEST(a2 >= a);
- BOOST_TEST(as2 >= a);
- BOOST_TEST(acs2 >= a);
- BOOST_TEST(a2 >= as);
- BOOST_TEST(a2 >= acs);
-
- // operator == and != are implemented separately, so test separately
-
- path p1("fe/fi/fo/fum");
- path p2(p1);
- path p3("fe/fi/fo/fumm");
- BOOST_TEST(p1.string() != p3.string());
-
- // check each overload
- BOOST_TEST(p1 != p3);
- BOOST_TEST(p1 != p3.string());
- BOOST_TEST(p1 != p3.string().c_str());
- BOOST_TEST(p1.string() != p3);
- BOOST_TEST(p1.string().c_str() != p3);
-
- p3 = p2;
- BOOST_TEST(p1.string() == p3.string());
-
- // check each overload
- BOOST_TEST(p1 == p3);
- BOOST_TEST(p1 == p3.string());
- BOOST_TEST(p1 == p3.string().c_str());
- BOOST_TEST(p1.string() == p3);
- BOOST_TEST(p1.string().c_str() == p3);
-
- if (platform == "Windows")
- {
- std::cout << "Windows relational tests..." << std::endl;
- path p10 ("c:\\file");
- path p11 ("c:/file");
- // check each overload
- BOOST_TEST(p10.generic_string() == p11.generic_string());
- BOOST_TEST(p10 == p11);
- BOOST_TEST(p10 == p11.string());
- BOOST_TEST(p10 == p11.string().c_str());
- BOOST_TEST(p10.string() == p11);
- BOOST_TEST(p10.string().c_str() == p11);
- BOOST_TEST(p10 == L"c:\\file");
- BOOST_TEST(p10 == L"c:/file");
- BOOST_TEST(p11 == L"c:\\file");
- BOOST_TEST(p11 == L"c:/file");
- BOOST_TEST(L"c:\\file" == p10);
- BOOST_TEST(L"c:/file" == p10);
- BOOST_TEST(L"c:\\file" == p11);
- BOOST_TEST(L"c:/file" == p11);
-
- BOOST_TEST(!(p10.generic_string() != p11.generic_string()));
- BOOST_TEST(!(p10 != p11));
- BOOST_TEST(!(p10 != p11.string()));
- BOOST_TEST(!(p10 != p11.string().c_str()));
- BOOST_TEST(!(p10.string() != p11));
- BOOST_TEST(!(p10.string().c_str() != p11));
- BOOST_TEST(!(p10 != L"c:\\file"));
- BOOST_TEST(!(p10 != L"c:/file"));
- BOOST_TEST(!(p11 != L"c:\\file"));
- BOOST_TEST(!(p11 != L"c:/file"));
- BOOST_TEST(!(L"c:\\file" != p10));
- BOOST_TEST(!(L"c:/file" != p10));
- BOOST_TEST(!(L"c:\\file" != p11));
- BOOST_TEST(!(L"c:/file" != p11));
-
- BOOST_TEST(!(p10.string() < p11.string()));
- BOOST_TEST(!(p10 < p11));
- BOOST_TEST(!(p10 < p11.string()));
- BOOST_TEST(!(p10 < p11.string().c_str()));
- BOOST_TEST(!(p10.string() < p11));
- BOOST_TEST(!(p10.string().c_str() < p11));
- BOOST_TEST(!(p10 < L"c:\\file"));
- BOOST_TEST(!(p10 < L"c:/file"));
- BOOST_TEST(!(p11 < L"c:\\file"));
- BOOST_TEST(!(p11 < L"c:/file"));
- BOOST_TEST(!(L"c:\\file" < p10));
- BOOST_TEST(!(L"c:/file" < p10));
- BOOST_TEST(!(L"c:\\file" < p11));
- BOOST_TEST(!(L"c:/file" < p11));
-
- BOOST_TEST(!(p10.generic_string() > p11.generic_string()));
- BOOST_TEST(!(p10 > p11));
- BOOST_TEST(!(p10 > p11.string()));
- BOOST_TEST(!(p10 > p11.string().c_str()));
- BOOST_TEST(!(p10.string() > p11));
- BOOST_TEST(!(p10.string().c_str() > p11));
- BOOST_TEST(!(p10 > L"c:\\file"));
- BOOST_TEST(!(p10 > L"c:/file"));
- BOOST_TEST(!(p11 > L"c:\\file"));
- BOOST_TEST(!(p11 > L"c:/file"));
- BOOST_TEST(!(L"c:\\file" > p10));
- BOOST_TEST(!(L"c:/file" > p10));
- BOOST_TEST(!(L"c:\\file" > p11));
- BOOST_TEST(!(L"c:/file" > p11));
- }
- }
-
- // query_and_decomposition_tests ---------------------------------------------------//
- //
- // remove_filename() is also tested here, because its specification depends on
- // a decomposition function.
-
- void query_and_decomposition_tests()
- {
- std::cout << "query_and_decomposition_tests..." << std::endl;
-
- // stem() tests not otherwise covered
- BOOST_TEST(path("b").stem() == "b");
- BOOST_TEST(path("a/b.txt").stem() == "b");
- BOOST_TEST(path("a/b.").stem() == "b");
- BOOST_TEST(path("a.b.c").stem() == "a.b");
- BOOST_TEST(path("a.b.c.").stem() == "a.b.c");
-
- // extension() tests not otherwise covered
- BOOST_TEST(path("a/b").extension() == "");
- BOOST_TEST(path("a.b/c").extension() == "");
- BOOST_TEST(path("a/b.txt").extension() == ".txt");
- BOOST_TEST(path("a/b.").extension() == ".");
- BOOST_TEST(path("a.b.c").extension() == ".c");
- BOOST_TEST(path("a.b.c.").extension() == ".");
- BOOST_TEST(path("a/").extension() == "");
-
- // main q & d test sequence
- path p;
- path q;
-
- p = q = "";
- BOOST_TEST(p.relative_path().string() == "");
- BOOST_TEST(p.parent_path().string() == "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "");
- BOOST_TEST(p.stem() == "");
- BOOST_TEST(p.extension() == "");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "");
- BOOST_TEST(!p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(!p.has_filename());
- BOOST_TEST(!p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "/";
- BOOST_TEST(p.relative_path().string() == "");
- BOOST_TEST(p.parent_path().string() == "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "/");
- BOOST_TEST(p.stem() == "/");
- BOOST_TEST(p.extension() == "");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "/");
- BOOST_TEST(p.root_path().string() == "/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(!p.has_parent_path());
- if (platform == "POSIX")
- BOOST_TEST(p.is_absolute());
- else
- BOOST_TEST(!p.is_absolute());
-
- p = q = "//";
- PATH_TEST_EQ(p.relative_path().string(), "");
- PATH_TEST_EQ(p.parent_path().string(), "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "//");
- PATH_TEST_EQ(p.stem(), "//");
- PATH_TEST_EQ(p.extension(), "");
- PATH_TEST_EQ(p.root_name(), "//");
- PATH_TEST_EQ(p.root_directory(), "");
- PATH_TEST_EQ(p.root_path().string(), "//");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "///";
- PATH_TEST_EQ(p.relative_path().string(), "");
- PATH_TEST_EQ(p.parent_path().string(), "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "/");
- PATH_TEST_EQ(p.stem(), "/");
- PATH_TEST_EQ(p.extension(), "");
- PATH_TEST_EQ(p.root_name(), "");
- PATH_TEST_EQ(p.root_directory(), "/");
- PATH_TEST_EQ(p.root_path().string(), "/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(!p.has_parent_path());
- if (platform == "POSIX")
- BOOST_TEST(p.is_absolute());
- else
- BOOST_TEST(!p.is_absolute());
-
- p = q = ".";
- BOOST_TEST(p.relative_path().string() == ".");
- BOOST_TEST(p.parent_path().string() == "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == ".");
- BOOST_TEST(p.stem() == ".");
- BOOST_TEST(p.extension() == "");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "");
- BOOST_TEST(!p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "..";
- BOOST_TEST(p.relative_path().string() == "..");
- BOOST_TEST(p.parent_path().string() == "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "..");
- BOOST_TEST(p.stem() == "..");
- BOOST_TEST(p.extension() == "");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "");
- BOOST_TEST(!p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "foo";
- BOOST_TEST(p.relative_path().string() == "foo");
- BOOST_TEST(p.parent_path().string() == "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "foo");
- BOOST_TEST(p.stem() == "foo");
- BOOST_TEST(p.extension() == "");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "");
- BOOST_TEST(!p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "/foo";
- PATH_TEST_EQ(p.relative_path().string(), "foo");
- PATH_TEST_EQ(p.parent_path().string(), "/");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "foo");
- PATH_TEST_EQ(p.stem(), "foo");
- PATH_TEST_EQ(p.extension(), "");
- PATH_TEST_EQ(p.root_name(), "");
- PATH_TEST_EQ(p.root_directory(), "/");
- PATH_TEST_EQ(p.root_path().string(), "/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(p.has_parent_path());
- if (platform == "POSIX")
- BOOST_TEST(p.is_absolute());
- else
- BOOST_TEST(!p.is_absolute());
-
- p = q = "/foo/";
- PATH_TEST_EQ(p.relative_path().string(), "foo/");
- PATH_TEST_EQ(p.parent_path().string(), "/foo");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), ".");
- PATH_TEST_EQ(p.stem(), ".");
- PATH_TEST_EQ(p.extension(), "");
- PATH_TEST_EQ(p.root_name(), "");
- PATH_TEST_EQ(p.root_directory(), "/");
- PATH_TEST_EQ(p.root_path().string(), "/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(p.has_parent_path());
- if (platform == "POSIX")
- BOOST_TEST(p.is_absolute());
- else
- BOOST_TEST(!p.is_absolute());
-
- p = q = "///foo";
- PATH_TEST_EQ(p.relative_path().string(), "foo");
- PATH_TEST_EQ(p.parent_path().string(), "/");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "foo");
- PATH_TEST_EQ(p.root_name(), "");
- PATH_TEST_EQ(p.root_directory(), "/");
- PATH_TEST_EQ(p.root_path().string(), "/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- if (platform == "POSIX")
- BOOST_TEST(p.is_absolute());
- else
- BOOST_TEST(!p.is_absolute());
-
- p = q = "foo/bar";
- BOOST_TEST(p.relative_path().string() == "foo/bar");
- BOOST_TEST(p.parent_path().string() == "foo");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "bar");
- BOOST_TEST(p.stem() == "bar");
- BOOST_TEST(p.extension() == "");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "");
- BOOST_TEST(!p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_stem());
- BOOST_TEST(!p.has_extension());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "../foo";
- BOOST_TEST(p.relative_path().string() == "../foo");
- BOOST_TEST(p.parent_path().string() == "..");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "foo");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "");
- BOOST_TEST(!p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "..///foo";
- PATH_TEST_EQ(p.relative_path().string(), "..///foo");
- PATH_TEST_EQ(p.parent_path().string(), "..");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "foo");
- PATH_TEST_EQ(p.root_name(), "");
- PATH_TEST_EQ(p.root_directory(), "");
- PATH_TEST_EQ(p.root_path().string(), "");
- BOOST_TEST(!p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = "/foo/bar";
- BOOST_TEST(p.relative_path().string() == "foo/bar");
- BOOST_TEST(p.parent_path().string() == "/foo");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "bar");
- BOOST_TEST(p.root_name() == "");
- BOOST_TEST(p.root_directory() == "/");
- BOOST_TEST(p.root_path().string() == "/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(!p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- if (platform == "POSIX")
- BOOST_TEST(p.is_absolute());
- else
- BOOST_TEST(!p.is_absolute());
-
- // Both POSIX and Windows allow two leading slashs
- // (POSIX meaning is implementation defined)
- PATH_TEST_EQ(path("//resource"), "//resource");
- PATH_TEST_EQ(path("//resource/"), "//resource/");
- PATH_TEST_EQ(path("//resource/foo"), "//resource/foo");
-
- p = q = path("//net");
- PATH_TEST_EQ(p.string(), "//net");
- PATH_TEST_EQ(p.relative_path().string(), "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.parent_path().string(), "");
- PATH_TEST_EQ(p.filename(), "//net");
- PATH_TEST_EQ(p.root_name(), "//net");
- PATH_TEST_EQ(p.root_directory(), "");
- PATH_TEST_EQ(p.root_path().string(), "//net");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = path("//net/");
- BOOST_TEST(p.relative_path().string() == "");
- BOOST_TEST(p.parent_path().string() == "//net");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "/");
- BOOST_TEST(p.root_name() == "//net");
- BOOST_TEST(p.root_directory() == "/");
- BOOST_TEST(p.root_path().string() == "//net/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
-
- p = q = path("//net/foo");
- BOOST_TEST(p.relative_path().string() == "foo");
- BOOST_TEST(p.parent_path().string() == "//net/");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "foo");
- BOOST_TEST(p.root_name() == "//net");
- BOOST_TEST(p.root_directory() == "/");
- BOOST_TEST(p.root_path().string() == "//net/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
-
- p = q = path("//net///foo");
- PATH_TEST_EQ(p.relative_path().string(), "foo");
- PATH_TEST_EQ(p.parent_path().string(), "//net/");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "foo");
- PATH_TEST_EQ(p.root_name(), "//net");
- PATH_TEST_EQ(p.root_directory(), "/");
- PATH_TEST_EQ(p.root_path().string(), "//net/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
-
- if (platform == "Windows")
- {
-
- //p = q = L"\\\\?\\";
- //BOOST_TEST(p.relative_path().string() == "");
- //BOOST_TEST(p.parent_path().string() == "");
- //PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- //BOOST_TEST(p.filename() == "");
- //BOOST_TEST(p.stem() == "");
- //BOOST_TEST(p.extension() == "");
- //BOOST_TEST(p.root_name() == "");
- //BOOST_TEST(p.root_directory() == "");
- //BOOST_TEST(p.root_path().string() == "");
- //BOOST_TEST(!p.has_root_path());
- //BOOST_TEST(!p.has_root_name());
- //BOOST_TEST(!p.has_root_directory());
- //BOOST_TEST(!p.has_relative_path());
- //BOOST_TEST(!p.has_filename());
- //BOOST_TEST(!p.has_stem());
- //BOOST_TEST(!p.has_extension());
- //BOOST_TEST(!p.has_parent_path());
- //BOOST_TEST(!p.is_absolute());
-
- p = q = path("c:");
- BOOST_TEST(p.relative_path().string() == "");
- BOOST_TEST(p.parent_path().string() == "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "c:");
- BOOST_TEST(p.root_name() == "c:");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "c:");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- //p = q = path(L"\\\\?\\c:");
- //BOOST_TEST(p.relative_path().string() == "");
- //BOOST_TEST(p.parent_path().string() == "");
- //PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- //BOOST_TEST(p.filename() == "c:");
- //BOOST_TEST(p.root_name() == "c:");
- //BOOST_TEST(p.root_directory() == "");
- //BOOST_TEST(p.root_path().string() == "c:");
- //BOOST_TEST(p.has_root_path());
- //BOOST_TEST(p.has_root_name());
- //BOOST_TEST(!p.has_root_directory());
- //BOOST_TEST(!p.has_relative_path());
- //BOOST_TEST(p.has_filename());
- //BOOST_TEST(!p.has_parent_path());
- //BOOST_TEST(!p.is_absolute());
-
- p = q = path("c:foo");
- BOOST_TEST(p.relative_path().string() == "foo");
- BOOST_TEST(p.parent_path().string() == "c:");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "foo");
- BOOST_TEST(p.root_name() == "c:");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "c:");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- //p = q = path(L"\\\\?\\c:foo");
- //BOOST_TEST(p.relative_path().string() == "foo");
- //BOOST_TEST(p.parent_path().string() == "c:");
- //PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- //BOOST_TEST(p.filename() == "foo");
- //BOOST_TEST(p.root_name() == "c:");
- //BOOST_TEST(p.root_directory() == "");
- //BOOST_TEST(p.root_path().string() == "c:");
- //BOOST_TEST(p.has_root_path());
- //BOOST_TEST(p.has_root_name());
- //BOOST_TEST(!p.has_root_directory());
- //BOOST_TEST(p.has_relative_path());
- //BOOST_TEST(p.has_filename());
- //BOOST_TEST(p.has_parent_path());
- //BOOST_TEST(!p.is_absolute());
-
- p = q = path("c:/");
- BOOST_TEST(p.relative_path().string() == "");
- BOOST_TEST(p.parent_path().string() == "c:");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "/");
- BOOST_TEST(p.root_name() == "c:");
- BOOST_TEST(p.root_directory() == "/");
- BOOST_TEST(p.root_path().string() == "c:/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
-
- p = q = path("c:..");
- BOOST_TEST(p.relative_path().string() == "..");
- BOOST_TEST(p.parent_path().string() == "c:");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "..");
- BOOST_TEST(p.root_name() == "c:");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "c:");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = path("c:/foo");
- PATH_TEST_EQ(p.relative_path().string(), "foo");
- PATH_TEST_EQ(p.parent_path().string(), "c:/");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "foo");
- PATH_TEST_EQ(p.root_name(), "c:");
- PATH_TEST_EQ(p.root_directory(), "/");
- PATH_TEST_EQ(p.root_path().string(), "c:/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
-
- p = q = path("c://foo");
- PATH_TEST_EQ(p.relative_path().string(), "foo");
- PATH_TEST_EQ(p.parent_path().string(), "c:/");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "foo");
- PATH_TEST_EQ(p.root_name(), "c:");
- PATH_TEST_EQ(p.root_directory(), "/");
- PATH_TEST_EQ(p.root_path().string(), "c:/");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
-
- p = q = path("c:\\foo\\bar");
- PATH_TEST_EQ(p.relative_path().string(), "foo\\bar");
- PATH_TEST_EQ(p.parent_path().string(), "c:\\foo");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "bar");
- PATH_TEST_EQ(p.root_name(), "c:");
- PATH_TEST_EQ(p.root_directory(), "\\");
- PATH_TEST_EQ(p.root_path().string(), "c:\\");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
-
- p = q = path("prn:");
- BOOST_TEST(p.relative_path().string() == "");
- BOOST_TEST(p.parent_path().string() == "");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- BOOST_TEST(p.filename() == "prn:");
- BOOST_TEST(p.root_name() == "prn:");
- BOOST_TEST(p.root_directory() == "");
- BOOST_TEST(p.root_path().string() == "prn:");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(!p.has_root_directory());
- BOOST_TEST(!p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(!p.has_parent_path());
- BOOST_TEST(!p.is_absolute());
-
- p = q = path("\\\\net\\\\\\foo");
- PATH_TEST_EQ(p.relative_path().string(), "foo");
- PATH_TEST_EQ(p.parent_path().string(), "\\\\net\\");
- PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
- PATH_TEST_EQ(p.filename(), "foo");
- PATH_TEST_EQ(p.root_name(), "\\\\net");
- PATH_TEST_EQ(p.root_directory(), "\\");
- PATH_TEST_EQ(p.root_path().string(), "\\\\net\\");
- BOOST_TEST(p.has_root_path());
- BOOST_TEST(p.has_root_name());
- BOOST_TEST(p.has_root_directory());
- BOOST_TEST(p.has_relative_path());
- BOOST_TEST(p.has_filename());
- BOOST_TEST(p.has_parent_path());
- BOOST_TEST(p.is_absolute());
- } // Windows
-
- else
- { // POSIX
- PATH_TEST_EQ(path("/foo/bar/"), "/foo/bar/");
- PATH_TEST_EQ(path("//foo//bar//"), "//foo//bar//");
- PATH_TEST_EQ(path("///foo///bar///"), "///foo///bar///");
-
- p = path("/usr/local/bin:/usr/bin:/bin");
- BOOST_TEST(p.string() == "/usr/local/bin:/usr/bin:/bin");
- } // POSIX
- }
-
- // composition_tests ----------------------------------------------------------------//
-
- void composition_tests()
- {
- std::cout << "composition_tests..." << std::endl;
-
- }
-
- // construction_tests ---------------------------------------------------------------//
-
- void construction_tests()
- {
- std::cout << "construction_tests..." << std::endl;
-
- PATH_TEST_EQ("", "");
-
- PATH_TEST_EQ("foo", "foo");
- PATH_TEST_EQ("f", "f");
-
- PATH_TEST_EQ("foo/", "foo/");
- PATH_TEST_EQ("f/", "f/");
- PATH_TEST_EQ("foo/..", "foo/..");
- PATH_TEST_EQ("foo/../", "foo/../");
- PATH_TEST_EQ("foo/bar/../..", "foo/bar/../..");
- PATH_TEST_EQ("foo/bar/../../", "foo/bar/../../");
- PATH_TEST_EQ("/", "/");
- PATH_TEST_EQ("/f", "/f");
-
- PATH_TEST_EQ("/foo", "/foo");
- PATH_TEST_EQ("/foo/bar/", "/foo/bar/");
- PATH_TEST_EQ("//foo//bar//", "//foo//bar//");
- PATH_TEST_EQ("///foo///bar///", "///foo///bar///");
- PATH_TEST_EQ("\\/foo\\/bar\\/", "\\/foo\\/bar\\/");
- PATH_TEST_EQ("\\//foo\\//bar\\//", "\\//foo\\//bar\\//");
-
- if (platform == "Windows")
- {
- PATH_TEST_EQ(path("c:") / "foo", "c:foo");
- PATH_TEST_EQ(path("c:") / "/foo", "c:/foo");
-
- PATH_TEST_EQ("\\foo\\bar\\", "\\foo\\bar\\");
- PATH_TEST_EQ("\\\\foo\\\\bar\\\\", "\\\\foo\\\\bar\\\\");
- PATH_TEST_EQ("\\\\\\foo\\\\\\bar\\\\\\", "\\\\\\foo\\\\\\bar\\\\\\");
-
- PATH_TEST_EQ("\\", "\\");
- PATH_TEST_EQ("\\f", "\\f");
- PATH_TEST_EQ("\\foo", "\\foo");
- PATH_TEST_EQ("foo\\bar", "foo\\bar");
- PATH_TEST_EQ("foo bar", "foo bar");
- PATH_TEST_EQ("c:", "c:");
- PATH_TEST_EQ("c:/", "c:/");
- PATH_TEST_EQ("c:.", "c:.");
- PATH_TEST_EQ("c:./foo", "c:./foo");
- PATH_TEST_EQ("c:.\\foo", "c:.\\foo");
- PATH_TEST_EQ("c:..", "c:..");
- PATH_TEST_EQ("c:/.", "c:/.");
- PATH_TEST_EQ("c:/..", "c:/..");
- PATH_TEST_EQ("c:/../", "c:/../");
- PATH_TEST_EQ("c:\\..\\", "c:\\..\\");
- PATH_TEST_EQ("c:/../..", "c:/../..");
- PATH_TEST_EQ("c:/../foo", "c:/../foo");
- PATH_TEST_EQ("c:\\..\\foo", "c:\\..\\foo");
- PATH_TEST_EQ("c:../foo", "c:../foo");
- PATH_TEST_EQ("c:..\\foo", "c:..\\foo");
- PATH_TEST_EQ("c:/../../foo", "c:/../../foo");
- PATH_TEST_EQ("c:\\..\\..\\foo", "c:\\..\\..\\foo");
- PATH_TEST_EQ("c:foo/..", "c:foo/..");
- PATH_TEST_EQ("c:/foo/..", "c:/foo/..");
- PATH_TEST_EQ("c:/..foo", "c:/..foo");
- PATH_TEST_EQ("c:foo", "c:foo");
- PATH_TEST_EQ("c:/foo", "c:/foo");
- PATH_TEST_EQ("\\\\netname", "\\\\netname");
- PATH_TEST_EQ("\\\\netname\\", "\\\\netname\\");
- PATH_TEST_EQ("\\\\netname\\foo", "\\\\netname\\foo");
- PATH_TEST_EQ("c:/foo", "c:/foo");
- PATH_TEST_EQ("prn:", "prn:");
- }
- else
- {
- }
-
- PATH_TEST_EQ("foo/bar", "foo/bar");
- PATH_TEST_EQ("a/b", "a/b"); // probe for length effects
- PATH_TEST_EQ("..", "..");
- PATH_TEST_EQ("../..", "../..");
- PATH_TEST_EQ("/..", "/..");
- PATH_TEST_EQ("/../..", "/../..");
- PATH_TEST_EQ("../foo", "../foo");
- PATH_TEST_EQ("foo/..", "foo/..");
- PATH_TEST_EQ("foo/..bar", "foo/..bar");
- PATH_TEST_EQ("../f", "../f");
- PATH_TEST_EQ("/../f", "/../f");
- PATH_TEST_EQ("f/..", "f/..");
- PATH_TEST_EQ("foo/../..", "foo/../..");
- PATH_TEST_EQ("foo/../../..", "foo/../../..");
- PATH_TEST_EQ("foo/../bar", "foo/../bar");
- PATH_TEST_EQ("foo/bar/..", "foo/bar/..");
- PATH_TEST_EQ("foo/bar/../..", "foo/bar/../..");
- PATH_TEST_EQ("foo/bar/../blah", "foo/bar/../blah");
- PATH_TEST_EQ("f/../b", "f/../b");
- PATH_TEST_EQ("f/b/..", "f/b/..");
- PATH_TEST_EQ("f/b/../a", "f/b/../a");
- PATH_TEST_EQ("foo/bar/blah/../..", "foo/bar/blah/../..");
- PATH_TEST_EQ("foo/bar/blah/../../bletch", "foo/bar/blah/../../bletch");
- PATH_TEST_EQ("...", "...");
- PATH_TEST_EQ("....", "....");
- PATH_TEST_EQ("foo/...", "foo/...");
- PATH_TEST_EQ("abc.", "abc.");
- PATH_TEST_EQ("abc..", "abc..");
- PATH_TEST_EQ("foo/abc.", "foo/abc.");
- PATH_TEST_EQ("foo/abc..", "foo/abc..");
-
- PATH_TEST_EQ(".abc", ".abc");
- PATH_TEST_EQ("a.c", "a.c");
- PATH_TEST_EQ("..abc", "..abc");
- PATH_TEST_EQ("a..c", "a..c");
- PATH_TEST_EQ("foo/.abc", "foo/.abc");
- PATH_TEST_EQ("foo/a.c", "foo/a.c");
- PATH_TEST_EQ("foo/..abc", "foo/..abc");
- PATH_TEST_EQ("foo/a..c", "foo/a..c");
-
- PATH_TEST_EQ(".", ".");
- PATH_TEST_EQ("./foo", "./foo");
- PATH_TEST_EQ("./..", "./..");
- PATH_TEST_EQ("./../foo", "./../foo");
- PATH_TEST_EQ("foo/.", "foo/.");
- PATH_TEST_EQ("../.", "../.");
- PATH_TEST_EQ("./.", "./.");
- PATH_TEST_EQ("././.", "././.");
- PATH_TEST_EQ("./foo/.", "./foo/.");
- PATH_TEST_EQ("foo/./bar", "foo/./bar");
- PATH_TEST_EQ("foo/./.", "foo/./.");
- PATH_TEST_EQ("foo/./..", "foo/./..");
- PATH_TEST_EQ("foo/./../bar", "foo/./../bar");
- PATH_TEST_EQ("foo/../.", "foo/../.");
- PATH_TEST_EQ("././..", "././..");
- PATH_TEST_EQ("./../.", "./../.");
- PATH_TEST_EQ(".././.", ".././.");
- }
-
- // append_tests --------------------------------------------------------------------//
-
- void append_test_aux(const path & p, const std::string & s, const std::string & expect)
- {
- PATH_TEST_EQ((p / path(s)).string(), expect);
- PATH_TEST_EQ((p / s.c_str()).string(), expect);
- PATH_TEST_EQ((p / s).string(), expect);
- path x(p);
- x.append(s.begin(), s.end());
- PATH_TEST_EQ(x.string(), expect);
- }
-
- void append_tests()
- {
- std::cout << "append_tests..." << std::endl;
-
- // There are many control paths to be exercised, since empty paths and arguments,
- // paths with trailing separators, arguments with leading separators, with or without
- // other characters being present, are all separate cases that need to be tested.
- // Furthermore, some of the code to be tested is specific to argument categories,
- // so that results in further permutations to be tested.
-
- //// code to generate test cases
- ////
- //// expected results must be checked by hand
- //// "foo\bar" expected result must be edited by hand and moved for Windows/POSIX
- ////
- //const char* x[] = { "", "/", "foo", "foo/" };
- //const char* y[] = { "", "/", "bar", "/bar" };
-
- //for (int i = 0; i < sizeof(x)/sizeof(char*); ++i)
- // for (int j = 0; j < sizeof(y)/sizeof(char*); ++j)
- // {
- // std::cout << "\n PATH_TEST_EQ(path(\"" << x[i] << "\") / \"" << y[j] << "\", \""
- // << path(x[i]) / y[j] << "\");\n";
- // std::cout << " append_test_aux(\"" << x[i] << "\", \"" << y[j] << "\", \""
- // << path(x[i]) / y[j] << "\");\n";
- // }
-
- PATH_TEST_EQ(path("") / "", "");
- append_test_aux("", "", "");
-
- PATH_TEST_EQ(path("") / "/", "/");
- append_test_aux("", "/", "/");
-
- PATH_TEST_EQ(path("") / "bar", "bar");
- append_test_aux("", "bar", "bar");
-
- PATH_TEST_EQ(path("") / "/bar", "/bar");
- append_test_aux("", "/bar", "/bar");
-
- PATH_TEST_EQ(path("/") / "", "/");
- append_test_aux("/", "", "/");
-
- PATH_TEST_EQ(path("/") / "/", "//");
- append_test_aux("/", "/", "//");
-
- PATH_TEST_EQ(path("/") / "bar", "/bar");
- append_test_aux("/", "bar", "/bar");
-
- PATH_TEST_EQ(path("/") / "/bar", "//bar");
- append_test_aux("/", "/bar", "//bar");
-
- PATH_TEST_EQ(path("foo") / "", "foo");
- append_test_aux("foo", "", "foo");
-
- PATH_TEST_EQ(path("foo") / "/", "foo/");
- append_test_aux("foo", "/", "foo/");
-
- PATH_TEST_EQ(path("foo") / "/bar", "foo/bar");
- append_test_aux("foo", "/bar", "foo/bar");
-
- PATH_TEST_EQ(path("foo/") / "", "foo/");
- append_test_aux("foo/", "", "foo/");
-
- PATH_TEST_EQ(path("foo/") / "/", "foo//");
- append_test_aux("foo/", "/", "foo//");
-
- PATH_TEST_EQ(path("foo/") / "bar", "foo/bar");
- append_test_aux("foo/", "bar", "foo/bar");
-
- PATH_TEST_EQ(path("foo/") / "/bar", "foo//bar");
- append_test_aux("foo/", "/bar", "foo//bar");
-
- if (platform == "Windows")
- {
- PATH_TEST_EQ(path("foo") / "bar", "foo\\bar");
- append_test_aux("foo", "bar", "foo\\bar");
-
- // hand created test case specific to Windows
- PATH_TEST_EQ(path("c:") / "bar", "c:bar");
- append_test_aux("c:", "bar", "c:bar");
- }
- else
- {
- PATH_TEST_EQ(path("foo") / "bar", "foo/bar");
- append_test_aux("foo", "bar", "foo/bar");
- }
-
- }
-
-// self_assign_and_append_tests ------------------------------------------------------//
-
- void self_assign_and_append_tests()
- {
- std::cout << "self_assign_and_append_tests..." << std::endl;
-
- path p;
-
- p = "snafubar";
- PATH_TEST_EQ(p = p, "snafubar");
-
- p = "snafubar";
- p = p.c_str();
- PATH_TEST_EQ(p, "snafubar");
-
- p = "snafubar";
- p.assign(p.c_str(), path::codecvt());
- PATH_TEST_EQ(p, "snafubar");
-
- p = "snafubar";
- PATH_TEST_EQ(p = p.c_str()+5, "bar");
-
- p = "snafubar";
- PATH_TEST_EQ(p.assign(p.c_str() + 5, p.c_str() + 7), "ba");
-
- p = "snafubar";
- p /= p;
- PATH_TEST_EQ(p, "snafubar" BOOST_DIR_SEP "snafubar");
-
- p = "snafubar";
- p /= p.c_str();
- PATH_TEST_EQ(p, "snafubar" BOOST_DIR_SEP "snafubar");
-
- p = "snafubar";
- p.append(p.c_str(), path::codecvt());
- PATH_TEST_EQ(p, "snafubar" BOOST_DIR_SEP "snafubar");
-
- p = "snafubar";
- PATH_TEST_EQ(p.append(p.c_str() + 5, p.c_str() + 7), "snafubar" BOOST_DIR_SEP "ba");
- }
-
-
- // name_function_tests -------------------------------------------------------------//
-
- void name_function_tests()
- {
- std::cout << "name_function_tests..." << std::endl;
-
- BOOST_TEST(fs::portable_posix_name(std::string("x")));
- BOOST_TEST(fs::windows_name(std::string("x")));
- BOOST_TEST(fs::portable_name(std::string("x")));
- BOOST_TEST(fs::portable_directory_name(std::string("x")));
- BOOST_TEST(fs::portable_file_name(std::string("x")));
-
- BOOST_TEST(fs::portable_posix_name(std::string(".")));
- BOOST_TEST(fs::windows_name(std::string(".")));
- BOOST_TEST(fs::portable_name(std::string(".")));
- BOOST_TEST(fs::portable_directory_name(std::string(".")));
- BOOST_TEST(!fs::portable_file_name(std::string(".")));
-
- BOOST_TEST(fs::portable_posix_name(std::string("..")));
- BOOST_TEST(fs::windows_name(std::string("..")));
- BOOST_TEST(fs::portable_name(std::string("..")));
- BOOST_TEST(fs::portable_directory_name(std::string("..")));
- BOOST_TEST(!fs::portable_file_name(std::string("..")));
-
- BOOST_TEST(!fs::native(std::string("")));
- BOOST_TEST(!fs::portable_posix_name(std::string("")));
- BOOST_TEST(!fs::windows_name(std::string("")));
- BOOST_TEST(!fs::portable_name(std::string("")));
- BOOST_TEST(!fs::portable_directory_name(std::string("")));
- BOOST_TEST(!fs::portable_file_name(std::string("")));
-
- BOOST_TEST(!fs::native(std::string(" ")));
- BOOST_TEST(!fs::portable_posix_name(std::string(" ")));
- BOOST_TEST(!fs::windows_name(std::string(" ")));
- BOOST_TEST(!fs::portable_name(std::string(" ")));
- BOOST_TEST(!fs::portable_directory_name(std::string(" ")));
- BOOST_TEST(!fs::portable_file_name(std::string(" ")));
-
- BOOST_TEST(!fs::portable_posix_name(std::string(":")));
- BOOST_TEST(!fs::windows_name(std::string(":")));
- BOOST_TEST(!fs::portable_name(std::string(":")));
- BOOST_TEST(!fs::portable_directory_name(std::string(":")));
- BOOST_TEST(!fs::portable_file_name(std::string(":")));
-
- BOOST_TEST(fs::portable_posix_name(std::string("-")));
- BOOST_TEST(fs::windows_name(std::string("-")));
- BOOST_TEST(!fs::portable_name(std::string("-")));
- BOOST_TEST(!fs::portable_directory_name(std::string("-")));
- BOOST_TEST(!fs::portable_file_name(std::string("-")));
-
- BOOST_TEST(!fs::portable_posix_name(std::string("foo bar")));
- BOOST_TEST(fs::windows_name(std::string("foo bar")));
- BOOST_TEST(!fs::windows_name(std::string(" bar")));
- BOOST_TEST(!fs::windows_name(std::string("foo ")));
- BOOST_TEST(!fs::portable_name(std::string("foo bar")));
- BOOST_TEST(!fs::portable_directory_name(std::string("foo bar")));
- BOOST_TEST(!fs::portable_file_name(std::string("foo bar")));
-
- BOOST_TEST(fs::portable_posix_name(std::string("foo.bar")));
- BOOST_TEST(fs::windows_name(std::string("foo.bar")));
- BOOST_TEST(fs::portable_name(std::string("foo.bar")));
- BOOST_TEST(!fs::portable_directory_name(std::string("foo.bar")));
- BOOST_TEST(fs::portable_file_name(std::string("foo.bar")));
-
- BOOST_TEST(fs::portable_posix_name(std::string("foo.barf")));
- BOOST_TEST(fs::windows_name(std::string("foo.barf")));
- BOOST_TEST(fs::portable_name(std::string("foo.barf")));
- BOOST_TEST(!fs::portable_directory_name(std::string("foo.barf")));
- BOOST_TEST(!fs::portable_file_name(std::string("foo.barf")));
-
- BOOST_TEST(fs::portable_posix_name(std::string(".foo")));
- BOOST_TEST(fs::windows_name(std::string(".foo")));
- BOOST_TEST(!fs::portable_name(std::string(".foo")));
- BOOST_TEST(!fs::portable_directory_name(std::string(".foo")));
- BOOST_TEST(!fs::portable_file_name(std::string(".foo")));
-
- BOOST_TEST(fs::portable_posix_name(std::string("foo.")));
- BOOST_TEST(!fs::windows_name(std::string("foo.")));
- BOOST_TEST(!fs::portable_name(std::string("foo.")));
- BOOST_TEST(!fs::portable_directory_name(std::string("foo.")));
- BOOST_TEST(!fs::portable_file_name(std::string("foo.")));
- }
-
- // replace_extension_tests ---------------------------------------------------------//
-
- void replace_extension_tests()
- {
- std::cout << "replace_extension_tests..." << std::endl;
-
- BOOST_TEST(path().replace_extension().empty());
- BOOST_TEST(path().replace_extension("a").empty());
- BOOST_TEST(path().replace_extension("a.") == ".");
- BOOST_TEST(path().replace_extension("a.txt") == ".txt");
- // see the rationale in html docs for explanation why this works:
- BOOST_TEST(path().replace_extension(".txt") == ".txt");
-
- BOOST_TEST(path("a.txt").replace_extension() == "a");
- BOOST_TEST(path("a.txt").replace_extension("") == "a");
- BOOST_TEST(path("a.txt").replace_extension(".") == "a.");
- BOOST_TEST(path("a.txt").replace_extension(".tex") == "a.tex");
- BOOST_TEST(path("a.txt").replace_extension("tex") == "a");
- BOOST_TEST(path("a.").replace_extension(".tex") == "a.tex");
- BOOST_TEST(path("a.").replace_extension("tex") == "a");
- BOOST_TEST(path("a").replace_extension(".txt") == "a.txt");
- BOOST_TEST(path("a").replace_extension("txt") == "a");
- BOOST_TEST(path("a.b.txt").replace_extension(".tex") == "a.b.tex");
- BOOST_TEST(path("a.b.txt").replace_extension("tex") == "a.b");
- BOOST_TEST(path("a/b").replace_extension(".c") == "a/b.c");
- PATH_TEST_EQ(path("a.txt/b").replace_extension(".c"), "a.txt/b.c"); // ticket 4702
- }
-
- // make_preferred_tests ------------------------------------------------------------//
-
- void make_preferred_tests()
- {
- std::cout << "make_preferred_tests..." << std::endl;
-
- if (platform == "Windows")
- {
- BOOST_TEST(path("//abc\\def/ghi").make_preferred().native()
- == path("\\\\abc\\def\\ghi").native());
- }
- else
- {
- BOOST_TEST(path("//abc\\def/ghi").make_preferred().native()
- == path("//abc\\def/ghi").native());
- }
- }
-
-} // unnamed namespace
-
-//--------------------------------------------------------------------------------------//
-// //
-// main //
-// //
-//--------------------------------------------------------------------------------------//
-
-int cpp_main(int, char*[])
-{
- // The choice of platform is make at runtime rather than compile-time
- // so that compile errors for all platforms will be detected even though
- // only the current platform is runtime tested.
- platform = (platform == "Win32" || platform == "Win64" || platform == "Cygwin")
- ? "Windows"
- : "POSIX";
- std::cout << "Platform is " << platform << '\n';
-
- BOOST_TEST(p1.string() != p3.string());
- p3 = p2;
- BOOST_TEST(p1.string() == p3.string());
-
- path p4("foobar");
- BOOST_TEST(p4.string() == "foobar");
- p4 = p4; // self-assignment
- BOOST_TEST(p4.string() == "foobar");
-
- construction_tests();
- append_tests();
- self_assign_and_append_tests();
- overload_tests();
- query_and_decomposition_tests();
- composition_tests();
- iterator_tests();
- non_member_tests();
- exception_tests();
- name_function_tests();
- replace_extension_tests();
- make_preferred_tests();
-
- // verify deprecated names still available
-
-# ifndef BOOST_FILESYSTEM_NO_DEPRECATED
-
- p1.branch_path();
- p1.leaf();
- path p_remove_leaf;
- p_remove_leaf.remove_leaf();
-
-# endif
-
- std::string s1("//:somestring"); // this used to be treated specially
-
- // check the path member templates
- p5.assign(s1.begin(), s1.end());
-
- PATH_TEST_EQ(p5.string(), "//:somestring");
- p5 = s1;
- PATH_TEST_EQ(p5.string(), "//:somestring");
-
- // this code, courtesy of David Whetstone, detects a now fixed bug that
- // derefereced the end iterator (assuming debug build with checked itors)
- std::vector<char> v1;
- p5.assign(v1.begin(), v1.end());
- std::string s2(v1.begin(), v1.end());
- PATH_TEST_EQ(p5.string(), s2);
- p5.assign(s1.begin(), s1.begin() + 1);
- PATH_TEST_EQ(p5.string(), "/");
-
- BOOST_TEST(p1 != p4);
- BOOST_TEST(p1.string() == p2.string());
- BOOST_TEST(p1.string() == p3.string());
- BOOST_TEST(path("foo").filename() == "foo");
- BOOST_TEST(path("foo").parent_path().string() == "");
- BOOST_TEST(p1.filename() == "fum");
- BOOST_TEST(p1.parent_path().string() == "fe/fi/fo");
- BOOST_TEST(path("").empty() == true);
- BOOST_TEST(path("foo").empty() == false);
-
- // inserter and extractor tests
-# if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 // bypass VC++ 7.0 and earlier
- std::cout << "\nInserter and extractor test...";
- std::stringstream ss;
- ss << fs::path("foo/bar") << std::endl;
- fs::path round_trip;
- ss >> round_trip;
- BOOST_TEST(round_trip.string() == "foo/bar");
- std::cout << round_trip.string() << "..." << round_trip << " complete\n";
-# endif
-
- return ::boost::report_errors();
-}
diff --git a/libs/filesystem/v3/test/path_unit_test.cpp b/libs/filesystem/v3/test/path_unit_test.cpp
deleted file mode 100644
index 0e2536be82..0000000000
--- a/libs/filesystem/v3/test/path_unit_test.cpp
+++ /dev/null
@@ -1,1037 +0,0 @@
-// filesystem path_unit_test.cpp --------------------------------------------------- //
-
-// Copyright Beman Dawes 2008, 2009
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-// ---------------------------------------------------------------------------------- //
-//
-// The purpose of this test is to ensure that each function in the public
-// interface can be called with arguments of the appropriate types. It does
-// not attempt to verify that the full range of values for each argument
-// are processed correctly.
-//
-// For full functionality tests, including probes with many different argument
-// values, see path_test.cpp and other test programs.
-//
-// ---------------------------------------------------------------------------------- //
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config.hpp>
-
-# if defined( BOOST_NO_STD_WSTRING )
-# error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
-# endif
-
-#include <boost/config/warning_disable.hpp>
-
-// See deprecated_test for tests of deprecated features
-#ifndef BOOST_FILESYSTEM_NO_DEPRECATED
-# define BOOST_FILESYSTEM_NO_DEPRECATED
-#endif
-#ifndef BOOST_SYSTEM_NO_DEPRECATED
-# define BOOST_SYSTEM_NO_DEPRECATED
-#endif
-
-#include <boost/filesystem/path.hpp>
-#include <boost/filesystem/detail/utf8_codecvt_facet.hpp> // for imbue tests
-#include "test_codecvt.hpp" // for codecvt arg tests
-#include <boost/detail/lightweight_test.hpp>
-#include <boost/detail/lightweight_main.hpp>
-#include <boost/smart_ptr.hpp> // used constructor tests
-#include <boost/functional/hash.hpp>
-
-#include <iostream>
-#include <iomanip>
-#include <sstream>
-#include <string>
-#include <cstring>
-#include <cwchar>
-#include <locale>
-#include <list>
-
-namespace fs = boost::filesystem;
-namespace bs = boost::system;
-using boost::filesystem::path;
-using std::cout;
-using std::endl;
-using std::string;
-using std::wstring;
-
-#define CHECK(x) check(x, __FILE__, __LINE__)
-#define PATH_IS(a, b) check_path(a, b, __FILE__, __LINE__)
-#define NATIVE_IS(p, s, ws) check_native(p, s, ws, __FILE__, __LINE__)
-#define IS(a,b) check_equal(a, b, __FILE__, __LINE__)
-
-#if defined(_MSC_VER)
-# pragma warning(push) // Save warning settings.
-# pragma warning(disable : 4428) // Disable universal-character-name encountered in source warning.
-#endif
-
-namespace
-{
-
- boost::system::error_code ec;
- const boost::system::error_code ok;
- const boost::system::error_code ng(-1, boost::system::system_category());
-
- std::string platform(BOOST_PLATFORM);
-
- void check_path(const path& source,
- const wstring& expected, const char* file, int line)
- {
- if (source == expected) return;
-
- ++::boost::detail::test_errors();
-
- std::cout << file;
- std::wcout << L'(' << line << L"): source.wstring(): \""
- << source.wstring()
- << L"\" != expected: \"" << expected
- << L"\"\n" ;
- }
-
-# ifdef BOOST_WINDOWS_API
- void check_native(const path& p,
- const string&, const wstring& expected, const char* file, int line)
-# else
- void check_native(const path& p,
- const string& expected, const wstring&, const char* file, int line)
-# endif
- {
- if (p.native() == expected) return;
-
- ++::boost::detail::test_errors();
-
- std::cout << file << '(' << line << "): native() is not equal expected\n"
- " native---: " << std::hex;
- path::string_type nat(p.native());
- for (path::string_type::const_iterator it = nat.begin(); it != nat.end(); ++it)
- std::cout << long(*it) << ' ';
- std::cout << "\n expected-: ";
- for (path::string_type::const_iterator it = expected.begin(); it != expected.end(); ++it)
- std::cout << long(*it) << ' ';
- std::cout << std::dec << std::endl;
- }
-
- template< class T1, class T2 >
- void check_equal(const T1& value,
- const T2& expected, const char* file, int line)
- {
- if (value == expected) return;
-
- ++::boost::detail::test_errors();
-
- std::cout << file;
-
- std::wcout << L'(' << line << L"): value: \"" << value
- << L"\" != expected: \"" << expected
- << L"\"\n" ;
- }
-
- void check(bool ok, const char* file, int line)
- {
- if (ok) return;
-
- ++::boost::detail::test_errors();
-
- std::cout << file << '(' << line << "): test failed\n";
- }
-
- string s("string");
- wstring ws(L"wstring");
- std::list<char> l; // see main() for initialization to s, t, r, i, n, g
- std::list<wchar_t> wl; // see main() for initialization to w, s, t, r, i, n, g
- std::vector<char> v; // see main() for initialization to f, u, z
- std::vector<wchar_t> wv; // see main() for initialization to w, f, u, z
-
- class Base {};
- class Derived : public Base {};
- void fun(const boost::filesystem::path&) {}
- void fun(const boost::shared_ptr< Base >&) {}
-
- // test_constructors ---------------------------------------------------------------//
-
- void test_constructors()
- {
- std::cout << "testing constructors..." << std::endl;
-
- path x0; // default constructor
- PATH_IS(x0, L"");
- BOOST_TEST_EQ(x0.native().size(), 0U);
-
- path x1(l.begin(), l.end()); // iterator range char
- PATH_IS(x1, L"string");
- BOOST_TEST_EQ(x1.native().size(), 6U);
-
- path x2(x1); // copy constructor
- PATH_IS(x2, L"string");
- BOOST_TEST_EQ(x2.native().size(), 6U);
-
- path x3(wl.begin(), wl.end()); // iterator range wchar_t
- PATH_IS(x3, L"wstring");
- BOOST_TEST_EQ(x3.native().size(), 7U);
-
- // contiguous containers
- path x4(string("std::string")); // std::string
- PATH_IS(x4, L"std::string");
- BOOST_TEST_EQ(x4.native().size(), 11U);
-
- path x5(wstring(L"std::wstring")); // std::wstring
- PATH_IS(x5, L"std::wstring");
- BOOST_TEST_EQ(x5.native().size(), 12U);
-
- path x4v(v); // std::vector<char>
- PATH_IS(x4v, L"fuz");
- BOOST_TEST_EQ(x4v.native().size(), 3U);
-
- path x5v(wv); // std::vector<wchar_t>
- PATH_IS(x5v, L"wfuz");
- BOOST_TEST_EQ(x5v.native().size(), 4U);
-
- path x6("array char"); // array char
- PATH_IS(x6, L"array char");
- BOOST_TEST_EQ(x6.native().size(), 10U);
-
- path x7(L"array wchar_t"); // array wchar_t
- PATH_IS(x7, L"array wchar_t");
- BOOST_TEST_EQ(x7.native().size(), 13U);
-
- char char_array[100];
- std::strcpy(char_array, "big array char");
- path x6o(char_array); // array char, only partially full
- PATH_IS(x6o, L"big array char");
- BOOST_TEST_EQ(x6o.native().size(), 14U);
-
- wchar_t wchar_array[100];
- std::wcscpy(wchar_array, L"big array wchar_t");
- path x7o(wchar_array); // array char, only partially full
- PATH_IS(x7o, L"big array wchar_t");
- BOOST_TEST_EQ(x7o.native().size(), 17U);
-
- path x8(s.c_str()); // const char* null terminated
- PATH_IS(x8, L"string");
- BOOST_TEST_EQ(x8.native().size(), 6U);
-
- path x9(ws.c_str()); // const wchar_t* null terminated
- PATH_IS(x9, L"wstring");
- BOOST_TEST_EQ(x9.native().size(), 7U);
-
- // non-contiguous containers
- path x10(l); // std::list<char>
- PATH_IS(x10, L"string");
- BOOST_TEST_EQ(x10.native().size(), 6U);
-
- path xll(wl); // std::list<wchar_t>
- PATH_IS(xll, L"wstring");
- BOOST_TEST_EQ(xll.native().size(), 7U);
-
- // easy-to-make coding errors
- // path e1(x0, path::codecvt()); // fails to compile, and that is OK
-
- boost::shared_ptr< Derived > pDerived( new Derived() );
- fun( pDerived ); // tests constructor member template enable_if working correctly;
- // will fail to compile if enable_if not taking path off the table
- }
-
- path x;
- path y;
-
- // test_assignments ----------------------------------------------------------------//
-
- void test_assignments()
- {
- std::cout << "testing assignments..." << std::endl;
-
- x = path("yet another path"); // another path
- PATH_IS(x, L"yet another path");
- BOOST_TEST_EQ(x.native().size(), 16U);
-
- x = x; // self-assignment
- PATH_IS(x, L"yet another path");
- BOOST_TEST_EQ(x.native().size(), 16U);
-
- x.assign(l.begin(), l.end()); // iterator range char
- PATH_IS(x, L"string");
-
- x.assign(wl.begin(), wl.end()); // iterator range wchar_t
- PATH_IS(x, L"wstring");
-
- x = string("std::string"); // container char
- PATH_IS(x, L"std::string");
-
- x = wstring(L"std::wstring"); // container wchar_t
- PATH_IS(x, L"std::wstring");
-
- x = "array char"; // array char
- PATH_IS(x, L"array char");
-
- x = L"array wchar"; // array wchar_t
- PATH_IS(x, L"array wchar");
-
- x = s.c_str(); // const char* null terminated
- PATH_IS(x, L"string");
-
- x = ws.c_str(); // const wchar_t* null terminated
- PATH_IS(x, L"wstring");
- }
-
- // test_appends --------------------------------------------------------------------//
-
- void test_appends()
- {
- std::cout << "testing appends..." << std::endl;
-
-# ifdef BOOST_WINDOWS_API
-# define BOOST_FS_FOO L"/foo\\"
-# else // POSIX paths
-# define BOOST_FS_FOO L"/foo/"
-# endif
-
- x = "/foo";
- x /= path(""); // empty path
- PATH_IS(x, L"/foo");
-
- x = "/foo";
- x /= path("/"); // slash path
- PATH_IS(x, L"/foo/");
-
- x = "/foo";
- x /= path("/boo"); // slash path
- PATH_IS(x, L"/foo/boo");
-
- x = "/foo";
- x /= x; // self-append
- PATH_IS(x, L"/foo/foo");
-
- x = "/foo";
- x /= path("yet another path"); // another path
- PATH_IS(x, BOOST_FS_FOO L"yet another path");
-
- x = "/foo";
- x.append(l.begin(), l.end()); // iterator range char
- PATH_IS(x, BOOST_FS_FOO L"string");
-
- x = "/foo";
- x.append(wl.begin(), wl.end()); // iterator range wchar_t
- PATH_IS(x, BOOST_FS_FOO L"wstring");
-
- x = "/foo";
- x /= string("std::string"); // container char
- PATH_IS(x, BOOST_FS_FOO L"std::string");
-
- x = "/foo";
- x /= wstring(L"std::wstring"); // container wchar_t
- PATH_IS(x, BOOST_FS_FOO L"std::wstring");
-
- x = "/foo";
- x /= "array char"; // array char
- PATH_IS(x, BOOST_FS_FOO L"array char");
-
- x = "/foo";
- x /= L"array wchar"; // array wchar_t
- PATH_IS(x, BOOST_FS_FOO L"array wchar");
-
- x = "/foo";
- x /= s.c_str(); // const char* null terminated
- PATH_IS(x, BOOST_FS_FOO L"string");
-
- x = "/foo";
- x /= ws.c_str(); // const wchar_t* null terminated
- PATH_IS(x, BOOST_FS_FOO L"wstring");
- }
-
- // test_observers ------------------------------------------------------------------//
-
- void test_observers()
- {
- std::cout << "testing observers..." << std::endl;
-
- path p0("abc");
-
- CHECK(p0.native().size() == 3);
- CHECK(p0.string() == "abc");
- CHECK(p0.string().size() == 3);
- CHECK(p0.wstring() == L"abc");
- CHECK(p0.wstring().size() == 3);
-
-# ifdef BOOST_WINDOWS_API
-
- path p("abc\\def/ghi");
-
- CHECK(std::wstring(p.c_str()) == L"abc\\def/ghi");
-
- CHECK(p.string() == "abc\\def/ghi");
- CHECK(p.wstring() == L"abc\\def/ghi");
-
- CHECK(p.generic_string() == "abc/def/ghi");
- CHECK(p.generic_wstring() == L"abc/def/ghi");
-
- CHECK(p.generic_string<string>() == "abc/def/ghi");
- CHECK(p.generic_string<wstring>() == L"abc/def/ghi");
- CHECK(p.generic_string<path::string_type>() == L"abc/def/ghi");
-
-# else // BOOST_POSIX_API
-
- path p("abc\\def/ghi");
-
- CHECK(string(p.c_str()) == "abc\\def/ghi");
-
- CHECK(p.string() == "abc\\def/ghi");
- CHECK(p.wstring() == L"abc\\def/ghi");
-
- CHECK(p.generic_string() == "abc\\def/ghi");
- CHECK(p.generic_wstring() == L"abc\\def/ghi");
-
- CHECK(p.generic_string<string>() == "abc\\def/ghi");
- CHECK(p.generic_string<wstring>() == L"abc\\def/ghi");
- CHECK(p.generic_string<path::string_type>() == "abc\\def/ghi");
-
-# endif
- }
-
- // test_relationals ----------------------------------------------------------------//
-
- void test_relationals()
- {
- std::cout << "testing relationals..." << std::endl;
-
- boost::hash<path> hash;
-
-# ifdef BOOST_WINDOWS_API
- // this is a critical use case to meet user expectations
- CHECK(path("c:\\abc") == path("c:/abc"));
- CHECK(hash(path("c:\\abc")) == hash(path("c:/abc")));
-# endif
-
- const path p("bar");
- const path p2("baz");
-
- CHECK(!(p < p));
- CHECK(p < p2);
- CHECK(!(p2 < p));
- CHECK(p < "baz");
- CHECK(p < string("baz"));
- CHECK(p < L"baz");
- CHECK(p < wstring(L"baz"));
- CHECK(!("baz" < p));
- CHECK(!(string("baz") < p));
- CHECK(!(L"baz" < p));
- CHECK(!(wstring(L"baz") < p));
-
- CHECK(p == p);
- CHECK(!(p == p2));
- CHECK(!(p2 == p));
- CHECK(p2 == "baz");
- CHECK(p2 == string("baz"));
- CHECK(p2 == L"baz");
- CHECK(p2 == wstring(L"baz"));
- CHECK("baz" == p2);
- CHECK(string("baz") == p2);
- CHECK(L"baz" == p2);
- CHECK(wstring(L"baz") == p2);
-
- CHECK(hash(p) == hash(p));
- CHECK(hash(p) != hash(p2)); // Not strictly required, but desirable
-
- CHECK(!(p != p));
- CHECK(p != p2);
- CHECK(p2 != p);
-
- CHECK(p <= p);
- CHECK(p <= p2);
- CHECK(!(p2 <= p));
-
- CHECK(!(p > p));
- CHECK(!(p > p2));
- CHECK(p2 > p);
-
- CHECK(p >= p);
- CHECK(!(p >= p2));
- CHECK(p2 >= p);
-}
-
- // test_inserter_and_extractor -----------------------------------------------------//
-
- void test_inserter_and_extractor()
- {
- std::cout << "testing inserter and extractor..." << std::endl;
-
- path p1("foo bar"); // verify space in path roundtrips per ticket #3863
- path p2;
-
- std::stringstream ss;
-
- CHECK(p1 != p2);
- ss << p1;
- ss >> p2;
- CHECK(p1 == p2);
-
- path wp1(L"foo bar");
- path wp2;
-
- std::wstringstream wss;
-
- CHECK(wp1 != wp2);
- wss << wp1;
- wss >> wp2;
- CHECK(wp1 == wp2);
- }
-
- // test_other_non_members ----------------------------------------------------------//
-
- void test_other_non_members()
- {
- std::cout << "testing other_non_members..." << std::endl;
-
- path p1("foo");
- path p2("bar");
-
- // operator /
-
- CHECK(p1 / p2 == path("foo/bar").make_preferred());
- CHECK("foo" / p2 == path("foo/bar").make_preferred());
- CHECK(L"foo" / p2 == path("foo/bar").make_preferred());
- CHECK(string("foo") / p2 == path("foo/bar").make_preferred());
- CHECK(wstring(L"foo") / p2 == path("foo/bar").make_preferred());
- CHECK(p1 / "bar" == path("foo/bar").make_preferred());
- CHECK(p1 / L"bar" == path("foo/bar").make_preferred());
- CHECK(p1 / string("bar") == path("foo/bar").make_preferred());
- CHECK(p1 / wstring(L"bar") == path("foo/bar").make_preferred());
-
- swap(p1, p2);
-
- CHECK(p1 == "bar");
- CHECK(p2 == "foo");
-
- CHECK(path("").remove_filename() == "");
- CHECK(path("foo").remove_filename() == "");
- CHECK(path("foo/bar").remove_filename() == "foo");
- }
-
-// // test_modifiers ------------------------------------------------------------------//
-//
-// void test_modifiers()
-// {
-// std::cout << "testing modifiers..." << std::endl;
-//
-// }
-
- // test_iterators ------------------------------------------------------------------//
-
- void test_iterators()
- {
- std::cout << "testing iterators..." << std::endl;
-
- path p1;
- CHECK(p1.begin() == p1.end());
-
- path p2("/");
- CHECK(p2.begin() != p2.end());
- CHECK(*p2.begin() == "/");
- CHECK(++p2.begin() == p2.end());
-
- path p3("foo/bar/baz");
-
- path::iterator it(p3.begin());
- CHECK(p3.begin() != p3.end());
- CHECK(*it == "foo");
- CHECK(*++it == "bar");
- CHECK(*++it == "baz");
- CHECK(*--it == "bar");
- CHECK(*--it == "foo");
- CHECK(*++it == "bar");
- CHECK(*++it == "baz");
- CHECK(++it == p3.end());
- }
-
- // test_modifiers ------------------------------------------------------------------//
-
- void test_modifiers()
- {
- std::cout << "testing modifiers..." << std::endl;
-
- }
-
- // test_decompositions -------------------------------------------------------------//
-
- void test_decompositions()
- {
- std::cout << "testing decompositions..." << std::endl;
-
- CHECK(path("").root_name().string() == "");
- CHECK(path("foo").root_name().string() == "");
- CHECK(path("/").root_name().string() == "");
- CHECK(path("/foo").root_name().string() == "");
- CHECK(path("//netname").root_name().string() == "//netname");
- CHECK(path("//netname/foo").root_name().string() == "//netname");
-
- CHECK(path("").root_directory().string() == "");
- CHECK(path("foo").root_directory().string() == "");
- CHECK(path("/").root_directory().string() == "/");
- CHECK(path("/foo").root_directory().string() == "/");
- CHECK(path("//netname").root_directory().string() == "");
- CHECK(path("//netname/foo").root_directory().string() == "/");
-
- CHECK(path("").root_path().string() == "");
- CHECK(path("/").root_path().string() == "/");
- CHECK(path("/foo").root_path().string() == "/");
- CHECK(path("//netname").root_path().string() == "//netname");
- CHECK(path("//netname/foo").root_path().string() == "//netname/");
-
-# ifdef BOOST_WINDOWS_API
- CHECK(path("c:/foo").root_path().string() == "c:/");
-# endif
-
- CHECK(path("").relative_path().string() == "");
- CHECK(path("/").relative_path().string() == "");
- CHECK(path("/foo").relative_path().string() == "foo");
-
- CHECK(path("").parent_path().string() == "");
- CHECK(path("/").parent_path().string() == "");
- CHECK(path("/foo").parent_path().string() == "/");
- CHECK(path("/foo/bar").parent_path().string() == "/foo");
-
- CHECK(path("/foo/bar/baz.zoo").filename().string() == "baz.zoo");
-
- CHECK(path("/foo/bar/baz.zoo").stem().string() == "baz");
- CHECK(path("/foo/bar.woo/baz").stem().string() == "baz");
-
- CHECK(path("foo.bar.baz.tar.bz2").extension().string() == ".bz2");
- CHECK(path("/foo/bar/baz.zoo").extension().string() == ".zoo");
- CHECK(path("/foo/bar.woo/baz").extension().string() == "");
- }
-
- // test_queries --------------------------------------------------------------------//
-
- void test_queries()
- {
- std::cout << "testing queries..." << std::endl;
-
- path p1("");
- path p2("//netname/foo.doo");
-
- CHECK(p1.empty());
- CHECK(!p1.has_root_path());
- CHECK(!p1.has_root_name());
- CHECK(!p1.has_root_directory());
- CHECK(!p1.has_relative_path());
- CHECK(!p1.has_parent_path());
- CHECK(!p1.has_filename());
- CHECK(!p1.has_stem());
- CHECK(!p1.has_extension());
- CHECK(!p1.is_absolute());
- CHECK(p1.is_relative());
-
- CHECK(!p2.empty());
- CHECK(p2.has_root_path());
- CHECK(p2.has_root_name());
- CHECK(p2.has_root_directory());
- CHECK(p2.has_relative_path());
- CHECK(p2.has_parent_path());
- CHECK(p2.has_filename());
- CHECK(p2.has_stem());
- CHECK(p2.has_extension());
- CHECK(p2.is_absolute());
- CHECK(!p2.is_relative());
-
- }
-
- // test_imbue_locale ---------------------------------------------------------------//
-
- void test_imbue_locale()
- {
- std::cout << "testing imbue locale..." << std::endl;
-
- // weak test case for before/after states since we don't know what characters the
- // default locale accepts.
- path before("abc");
-
- // So that tests are run with known encoding, use Boost UTF-8 codecvt
- // \u2722 and \xE2\x9C\xA2 are UTF-16 and UTF-8 FOUR TEARDROP-SPOKED ASTERISK
-
- std::locale global_loc = std::locale();
- std::locale loc(global_loc, new fs::detail::utf8_codecvt_facet);
- std::cout << " imbuing locale ..." << std::endl;
- std::locale old_loc = path::imbue(loc);
-
- std::cout << " testing with the imbued locale ..." << std::endl;
- path p2("\xE2\x9C\xA2");
- CHECK(p2 == L"\u2722");
- CHECK(p2.wstring() == L"\u2722");
-
- std::cout << " imbuing the original locale ..." << std::endl;
- path::imbue(old_loc);
-
- std::cout << " testing with the original locale ..." << std::endl;
- path after("abc");
- CHECK(before == after);
-
- std::cout << " locale testing complete" << std::endl;
- }
-
- // test_codecvt_argument -----------------------------------------------------------//
-
- void test_codecvt_argument()
- {
- std::cout << "testing codecvt arguments..." << std::endl;
-
- const char * c1 = "a1";
- const std::string s1(c1);
- const std::wstring ws1(L"b2"); // off-by-one mimics test_codecvt
- const std::string s2("y8");
- const std::wstring ws2(L"z9");
-
- test_codecvt cvt; // produces off-by-one values that will always differ from
- // the system's default locale codecvt facet
-
- int t = 0;
-
- // constructors
- std::cout << " constructors test " << ++t << std::endl;
- path p(c1, cvt);
- NATIVE_IS(p, s1, ws1);
-
- std::cout << " test " << ++t << std::endl;
- path p1(s1.begin(), s1.end(), cvt);
- NATIVE_IS(p1, s1, ws1);
-
- std::cout << " test " << ++t << std::endl;
- path p2(ws2, cvt);
- NATIVE_IS(p2, s2, ws2);
-
- std::cout << " test " << ++t << std::endl;
- path p3(ws2.begin(), ws2.end(), cvt);
- NATIVE_IS(p3, s2, ws2);
-
- // path p2(p1, cvt); // fails to compile, and that is OK
-
- // assigns
- p1.clear();
- std::cout << " assigns test " << ++t << std::endl;
- p1.assign(s1,cvt);
- NATIVE_IS(p1, s1, ws1);
- p1.clear();
- std::cout << " test " << ++t << std::endl;
- p1.assign(s1.begin(), s1.end(), cvt);
- NATIVE_IS(p1, s1, ws1);
- // p1.assign(p, cvt); // fails to compile, and that is OK
-
- // appends
- p1.clear();
- std::cout << " appends test " << ++t << std::endl;
- p1.append(s1,cvt);
- NATIVE_IS(p1, s1, ws1);
- p1.clear();
- std::cout << " test " << ++t << std::endl;
- p1.append(s1.begin(), s1.end(), cvt);
- NATIVE_IS(p1, s1, ws1);
- // p1.append(p, cvt); // fails to compile, and that is OK
-
- // native observers
- std::cout << " native observers test " << ++t << std::endl;
- CHECK(p.string<std::string>(cvt) == s1);
- std::cout << " test " << ++t << std::endl;
- CHECK(p.string(cvt) == s1);
- std::cout << " test " << ++t << std::endl;
- CHECK(p.string<std::wstring>(cvt) == ws1);
- std::cout << " test " << ++t << std::endl;
- CHECK(p.wstring(cvt) == ws1);
-
- // generic observers
- std::cout << " generic observers test " << ++t << std::endl;
- CHECK(p.generic_string<std::string>(cvt) == s1);
- std::cout << " test " << ++t << std::endl;
- CHECK(p.generic_string(cvt) == s1);
- std::cout << " test " << ++t << std::endl;
- CHECK(p.generic_string<std::wstring>(cvt) == ws1);
- std::cout << " test " << ++t << std::endl;
- CHECK(p.generic_wstring(cvt) == ws1);
-
- std::cout << " codecvt arguments testing complete" << std::endl;
- }
-
- // test_overloads ------------------------------------------------------------------//
-
- void test_overloads()
- {
- std::cout << "testing overloads..." << std::endl;
- std::string s("hello");
- const char a[] = "goodbye";
- path p1(s);
- path p2(s.c_str());
- path p3(a);
- path p4("foo");
-
- std::wstring ws(L"hello");
- const wchar_t wa[] = L"goodbye";
- path wp1(ws);
- path wp2(ws.c_str());
- path wp3(wa);
- path wp4(L"foo");
- }
-
- // test_error_handling -------------------------------------------------------------//
-
- class error_codecvt
- : public std::codecvt< wchar_t, char, std::mbstate_t >
- {
- public:
- explicit error_codecvt()
- : std::codecvt<wchar_t, char, std::mbstate_t>() {}
- protected:
-
- virtual bool do_always_noconv() const throw() { return false; }
- virtual int do_encoding() const throw() { return 0; }
-
- virtual std::codecvt_base::result do_in(std::mbstate_t&,
- const char*, const char*, const char*&,
- wchar_t*, wchar_t*, wchar_t*&) const
- {
- static std::codecvt_base::result r = std::codecvt_base::noconv;
- if (r == std::codecvt_base::partial) r = std::codecvt_base::error;
- else if (r == std::codecvt_base::error) r = std::codecvt_base::noconv;
- else r = std::codecvt_base::partial;
- return r;
- }
-
- virtual std::codecvt_base::result do_out(std::mbstate_t &,
- const wchar_t*, const wchar_t*, const wchar_t*&,
- char*, char*, char*&) const
- {
- static std::codecvt_base::result r = std::codecvt_base::noconv;
- if (r == std::codecvt_base::partial) r = std::codecvt_base::error;
- else if (r == std::codecvt_base::error) r = std::codecvt_base::noconv;
- else r = std::codecvt_base::partial;
- return r;
- }
-
- virtual std::codecvt_base::result do_unshift(std::mbstate_t&,
- char*, char*, char* &) const { return ok; }
- virtual int do_length(std::mbstate_t &,
- const char*, const char*, std::size_t) const { return 0; }
- virtual int do_max_length() const throw () { return 0; }
- };
-
- void test_error_handling()
- {
- std::cout << "testing error handling..." << std::endl;
-
- std::locale global_loc = std::locale();
- std::locale loc(global_loc, new error_codecvt);
- std::cout << " imbuing error locale ..." << std::endl;
- std::locale old_loc = path::imbue(loc);
-
- // These tests rely on a path constructor that fails in the locale conversion.
- // Thus construction has to call codecvt. Force that by using a narrow string
- // for Windows, and a wide string for POSIX.
-# ifdef BOOST_WINDOWS_API
-# define STRING_FOO_ "foo"
-# else
-# define STRING_FOO_ L"foo"
-# endif
-
- {
- std::cout << " testing std::codecvt_base::partial error..." << std::endl;
- bool exception_thrown (false);
- try { path(STRING_FOO_); }
- catch (const bs::system_error & ex)
- {
- exception_thrown = true;
- BOOST_TEST_EQ(ex.code(), bs::error_code(std::codecvt_base::partial,
- fs::codecvt_error_category()));
- }
- catch (...) { std::cout << "***** unexpected exception type *****" << std::endl; }
- BOOST_TEST(exception_thrown);
- }
-
- {
- std::cout << " testing std::codecvt_base::error error..." << std::endl;
- bool exception_thrown (false);
- try { path(STRING_FOO_); }
- catch (const bs::system_error & ex)
- {
- exception_thrown = true;
- BOOST_TEST_EQ(ex.code(), bs::error_code(std::codecvt_base::error,
- fs::codecvt_error_category()));
- }
- catch (...) { std::cout << "***** unexpected exception type *****" << std::endl; }
- BOOST_TEST(exception_thrown);
- }
-
- {
- std::cout << " testing std::codecvt_base::noconv error..." << std::endl;
- bool exception_thrown (false);
- try { path(STRING_FOO_); }
- catch (const bs::system_error & ex)
- {
- exception_thrown = true;
- BOOST_TEST_EQ(ex.code(), bs::error_code(std::codecvt_base::noconv,
- fs::codecvt_error_category()));
- }
- catch (...) { std::cout << "***** unexpected exception type *****" << std::endl; }
- BOOST_TEST(exception_thrown);
- }
-
- std::cout << " restoring original locale ..." << std::endl;
- path::imbue(old_loc);
- std::cout << " testing error handling complete" << std::endl;
- }
-
-# if 0
-
-// // test_locales --------------------------------------------------------------------//
-//
-// void test_locales()
-// {
-// std::cout << "testing locales..." << std::endl;
-//
-// }
-
- // test_user_supplied_type ---------------------------------------------------------//
-
- typedef std::basic_string<int> user_string;
-
-} // unnamed namespace
-
-namespace boost
-{
-namespace filesystem
-{
- namespace path_traits
- {
- template<> struct is_iterator<const user_string::value_type *> { static const bool value = true; };
- template<> struct is_iterator<user_string::value_type *> { static const bool value = true; };
- template<> struct is_iterator<user_string::iterator> { static const bool value = true; };
- template<> struct is_iterator<user_string::const_iterator> { static const bool value = true; };
- template<> struct is_container<user_string> { static const bool value = true; };
-
- template<>
- void append<user_string::value_type>(const user_string::value_type * begin,
- const user_string::value_type * end, string_type & target, system::error_code & ec)
- {
- for (; begin != end && *begin; ++begin)
- target += *begin + 1; // change so that results distinguishable from char cvts
- }
-
-# ifdef __GNUC__
- // This specialization shouldn't be needed, and VC++, Intel, and others work
- // fine without it. But gcc 4.3.2, and presumably other versions, need it.
- template<>
- void append<user_string::value_type>(const user_string::value_type * begin,
- string_type & target, system::error_code & ec)
- {
- path_traits::append<user_string::value_type>(begin,
- static_cast<const user_string::value_type *>(0), target, ec);
- }
-# endif
-
- template<>
- user_string convert<user_string>(const string_type & source,
- system::error_code & ec)
- {
- user_string temp;
- for (string_type::const_iterator it = source.begin();
- it != source.end(); ++it)
- temp += *it - 1;
- return temp;
- }
- } // namespace path_traits
-} // namespace filesystem
-} // namespace boost
-
-namespace
-{
-
- void test_user_supplied_type()
- {
- std::cout << "testing user supplied type..." << std::endl;
-
- user_string::value_type usr_c_str[] = { 'a', 'b', 'c', 0 };
- user_string usr(usr_c_str);
-
- path p1(usr.c_str());
- CHECK(p1 == path("bcd"));
- CHECK(p1 == "bcd");
- user_string s1(p1.string<user_string>());
- CHECK(s1 == usr);
- }
-
-# endif
-
-} // unnamed namespace
-
-//--------------------------------------------------------------------------------------//
-// //
-// main //
-// //
-//--------------------------------------------------------------------------------------//
-
-int cpp_main(int, char*[])
-{
-// document state of critical macros
-#ifdef BOOST_POSIX_API
- cout << "BOOST_POSIX_API" << endl;
-#endif
-#ifdef BOOST_WINDOWS_API
- cout << "BOOST_WINDOWS_API" << endl;
-#endif
-
- l.push_back('s');
- l.push_back('t');
- l.push_back('r');
- l.push_back('i');
- l.push_back('n');
- l.push_back('g');
-
- wl.push_back(L'w');
- wl.push_back(L's');
- wl.push_back(L't');
- wl.push_back(L'r');
- wl.push_back(L'i');
- wl.push_back(L'n');
- wl.push_back(L'g');
-
- v.push_back('f');
- v.push_back('u');
- v.push_back('z');
-
- wv.push_back(L'w');
- wv.push_back(L'f');
- wv.push_back(L'u');
- wv.push_back(L'z');
-
- test_overloads();
- test_constructors();
- test_assignments();
- test_appends();
- test_modifiers();
- test_observers();
- test_relationals();
- test_inserter_and_extractor();
- test_other_non_members();
- test_iterators();
- test_decompositions();
- test_queries();
- test_imbue_locale();
- test_codecvt_argument();
- test_error_handling();
-
-# if 0
-
- test_user_supplied_type();
-
-#endif
-
- std::string foo("\\abc");
- const char* bar = "/abc";
-
- if (foo == bar)
- cout << "unintended consequence\n";
-
- return ::boost::report_errors();
-}
diff --git a/libs/filesystem/v3/test/test_codecvt.hpp b/libs/filesystem/v3/test/test_codecvt.hpp
deleted file mode 100644
index 32b2d36e59..0000000000
--- a/libs/filesystem/v3/test/test_codecvt.hpp
+++ /dev/null
@@ -1,79 +0,0 @@
-// test_codecvt.hpp ------------------------------------------------------------------//
-
-// Copyright Beman Dawes 2009, 2010
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-#ifndef BOOST_FILESYSTEM3_TEST_CODECVT_HPP
-#define BOOST_FILESYSTEM3_TEST_CODECVT_HPP
-
-#include <boost/filesystem/v3/config.hpp>
-#include <locale>
-#include <cwchar> // for mbstate_t
-
- //------------------------------------------------------------------------------------//
- // //
- // class test_codecvt //
- // //
- // Warning: partial implementation; even do_in and do_out only partially meet the //
- // standard library specifications as the "to" buffer must hold the entire result. //
- // //
- // The value of a wide character is the value of the corresponding narrow character //
- // plus 1. This ensures that compares against expected values will fail if the //
- // code conversion did not occur as expected. //
- // //
- //------------------------------------------------------------------------------------//
-
- class test_codecvt
- : public std::codecvt< wchar_t, char, std::mbstate_t >
- {
- public:
- explicit test_codecvt()
- : std::codecvt<wchar_t, char, std::mbstate_t>() {}
- protected:
-
- virtual bool do_always_noconv() const throw() { return false; }
-
- virtual int do_encoding() const throw() { return 0; }
-
- virtual std::codecvt_base::result do_in(std::mbstate_t&,
- const char* from, const char* from_end, const char*& from_next,
- wchar_t* to, wchar_t* to_end, wchar_t*& to_next) const
- {
- for (; from != from_end && to != to_end; ++from, ++to)
- *to = *from + 1;
- if (to == to_end)
- return error;
- *to = L'\0';
- from_next = from;
- to_next = to;
- return ok;
- }
-
- virtual std::codecvt_base::result do_out(std::mbstate_t&,
- const wchar_t* from, const wchar_t* from_end, const wchar_t*& from_next,
- char* to, char* to_end, char*& to_next) const
- {
- for (; from != from_end && to != to_end; ++from, ++to)
- *to = static_cast<char>(*from - 1);
- if (to == to_end)
- return error;
- *to = '\0';
- from_next = from;
- to_next = to;
- return ok;
- }
-
- virtual std::codecvt_base::result do_unshift(std::mbstate_t&,
- char* /*from*/, char* /*to*/, char* & /*next*/) const { return ok; }
-
- virtual int do_length(std::mbstate_t&,
- const char* /*from*/, const char* /*from_end*/, std::size_t /*max*/) const { return 0; }
-
- virtual int do_max_length() const throw () { return 0; }
- };
-
-#endif // BOOST_FILESYSTEM3_TEST_CODECVT_HPP
diff --git a/libs/filesystem/v3/test/windows_attributes.cpp b/libs/filesystem/v3/test/windows_attributes.cpp
deleted file mode 100644
index e1a686ce83..0000000000
--- a/libs/filesystem/v3/test/windows_attributes.cpp
+++ /dev/null
@@ -1,108 +0,0 @@
-// windows_attributes ----------------------------------------------------------------//
-
-// Copyright Beman Dawes 2010
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-//--------------------------------------------------------------------------------------//
-
-// Useful for debugging status related issues //
-
-//--------------------------------------------------------------------------------------//
-
-#include <boost/filesystem.hpp>
-#include <boost/detail/lightweight_main.hpp>
-#include <windows.h>
-#include <map>
-#include <utility>
-#include <iostream>
-#include <string>
-
-using std::make_pair;
-namespace fs = boost::filesystem;
-
-int cpp_main( int argc, char* argv[])
-{
- typedef std::map<DWORD, std::string> decode_type;
- decode_type table;
-
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_ARCHIVE, "FILE_ATTRIBUTE_ARCHIVE"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_COMPRESSED, "FILE_ATTRIBUTE_COMPRESSED"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_DEVICE, "FILE_ATTRIBUTE_DEVICE"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_DIRECTORY, "FILE_ATTRIBUTE_DIRECTORY"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_ENCRYPTED, "FILE_ATTRIBUTE_ENCRYPTED"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_HIDDEN, "FILE_ATTRIBUTE_HIDDEN"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_NOT_CONTENT_INDEXED, "FILE_ATTRIBUTE_NOT_CONTENT_INDEXED"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_OFFLINE, "FILE_ATTRIBUTE_OFFLINE"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_READONLY, "FILE_ATTRIBUTE_READONLY"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_REPARSE_POINT, "FILE_ATTRIBUTE_REPARSE_POINT"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_SPARSE_FILE, "FILE_ATTRIBUTE_SPARSE_FILE"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_SYSTEM, "FILE_ATTRIBUTE_SYSTEM"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_TEMPORARY, "FILE_ATTRIBUTE_TEMPORARY"));
- table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_VIRTUAL, "FILE_ATTRIBUTE_VIRTUAL"));
-
- if (argc < 2)
- {
- std::cout << "Usage: windows_attributes path\n";
- return 1;
- }
-
- // report Win32 ::GetFileAttributesA()
-
- DWORD at(::GetFileAttributesA(argv[1]));
- if (at == INVALID_FILE_ATTRIBUTES)
- {
- std::cout << "GetFileAttributes(\"" << argv[1]
- << "\") returned INVALID_FILE_ATTRIBUTES\n";
- return 0;
- }
-
- std::cout << "GetFileAttributes(\"" << argv[1]
- << "\") returned ";
-
- bool bar = false;
- for (decode_type::iterator it = table.begin(); it != table.end(); ++it)
- {
- if (!(it->first & at))
- continue;
- if (bar)
- std::cout << " | ";
- bar = true;
- std::cout << it->second;
- at &= ~it->first;
- }
- std::cout << std::endl;
-
- if (at)
- std::cout << "plus unknown attributes " << at << std::endl;
-
- // report Boost Filesystem file_type
-
- fs::file_status stat = fs::status(argv[1]);
-
- const char* types[] =
- {
- "status_error",
- "file_not_found",
- "regular_file",
- "directory_file",
- // the following may not apply to some operating systems or file systems
- "symlink_file",
- "block_file",
- "character_file",
- "fifo_file",
- "socket_file",
- "reparse_file", // Windows: FILE_ATTRIBUTE_REPARSE_POINT that is not a symlink
- "type_unknown", // file does exist", but isn't one of the above types or
- // we don't have strong enough permission to find its type
-
- "_detail_directory_symlink" // internal use only; never exposed to users
- };
-
- std::cout << "boost::filesystem::status().type() is " << types[stat.type()] << std::endl;
-
- return 0;
-}