|
@@ -16,7 +16,7 @@
|
|
|
// recursive_directory_iterator& operator++();
|
|
|
// recursive_directory_iterator& increment(error_code& ec) noexcept;
|
|
|
|
|
|
-#include <experimental/filesystem>
|
|
|
+#include "filesystem_include.hpp"
|
|
|
#include <type_traits>
|
|
|
#include <set>
|
|
|
#include <cassert>
|
|
@@ -25,7 +25,7 @@
|
|
|
#include "rapid-cxx-test.hpp"
|
|
|
#include "filesystem_test_helper.hpp"
|
|
|
|
|
|
-using namespace std::experimental::filesystem;
|
|
|
+using namespace fs;
|
|
|
|
|
|
TEST_SUITE(recursive_directory_iterator_increment_tests)
|
|
|
|
|
@@ -140,7 +140,7 @@ TEST_CASE(test_follow_symlinks)
|
|
|
|
|
|
TEST_CASE(access_denied_on_recursion_test_case)
|
|
|
{
|
|
|
- using namespace std::experimental::filesystem;
|
|
|
+ using namespace fs;
|
|
|
scoped_test_env env;
|
|
|
const path testFiles[] = {
|
|
|
env.create_dir("dir1"),
|
|
@@ -239,7 +239,7 @@ TEST_CASE(access_denied_on_recursion_test_case)
|
|
|
// See llvm.org/PR35078
|
|
|
TEST_CASE(test_PR35078)
|
|
|
{
|
|
|
- using namespace std::experimental::filesystem;
|
|
|
+ using namespace fs;
|
|
|
scoped_test_env env;
|
|
|
const path testFiles[] = {
|
|
|
env.create_dir("dir1"),
|
|
@@ -309,7 +309,7 @@ TEST_CASE(test_PR35078)
|
|
|
// See llvm.org/PR35078
|
|
|
TEST_CASE(test_PR35078_with_symlink)
|
|
|
{
|
|
|
- using namespace std::experimental::filesystem;
|
|
|
+ using namespace fs;
|
|
|
scoped_test_env env;
|
|
|
const path testFiles[] = {
|
|
|
env.create_dir("dir1"),
|
|
@@ -393,7 +393,7 @@ TEST_CASE(test_PR35078_with_symlink)
|
|
|
// See llvm.org/PR35078
|
|
|
TEST_CASE(test_PR35078_with_symlink_file)
|
|
|
{
|
|
|
- using namespace std::experimental::filesystem;
|
|
|
+ using namespace fs;
|
|
|
scoped_test_env env;
|
|
|
const path testFiles[] = {
|
|
|
env.create_dir("dir1"),
|