Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-07-06 21:07:06 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-07-06 21:07:06 +0300
commit302db08dd88a5e77fb40103ed632be1e72066bf1 (patch)
treef59f570917859f7f02c354c86667abf2721d9a85 /test/tests/current_path.cpp
parent6efe2493a65540d3f484a8b7f27d5298d49c9da4 (diff)
More afio => llfio
Diffstat (limited to 'test/tests/current_path.cpp')
-rw-r--r--test/tests/current_path.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/tests/current_path.cpp b/test/tests/current_path.cpp
index 80f3aa33..40776008 100644
--- a/test/tests/current_path.cpp
+++ b/test/tests/current_path.cpp
@@ -26,21 +26,21 @@ Distributed under the Boost Software License, Version 1.0.
template <class FileHandleType, class DirectoryHandleType> static inline void TestHandleCurrentPath()
{
- namespace afio = LLFIO_V2_NAMESPACE;
+ namespace llfio = LLFIO_V2_NAMESPACE;
{
std::error_code ec;
- afio::filesystem::remove_all("tempfile", ec);
- afio::filesystem::remove_all("tempfile2", ec);
- afio::filesystem::remove_all("tempdir", ec);
- afio::filesystem::remove_all("tempdir2", ec);
+ llfio::filesystem::remove_all("tempfile", ec);
+ llfio::filesystem::remove_all("tempfile2", ec);
+ llfio::filesystem::remove_all("tempdir", ec);
+ llfio::filesystem::remove_all("tempdir2", ec);
}
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmissing-braces"
#endif
- afio::path_handle null_path_handle;
- FileHandleType h1 = afio::construct<FileHandleType>{null_path_handle, "tempfile", afio::file_handle::mode::write, afio::file_handle::creation::if_needed, afio::file_handle::caching::temporary, afio::file_handle::flag::none}().value(); // NOLINT
- DirectoryHandleType h2 = afio::construct<DirectoryHandleType>{null_path_handle, "tempdir", afio::file_handle::mode::write, afio::file_handle::creation::if_needed, afio::file_handle::caching::all, afio::file_handle::flag::none}().value(); // NOLINT
+ llfio::path_handle null_path_handle;
+ FileHandleType h1 = llfio::construct<FileHandleType>{null_path_handle, "tempfile", llfio::file_handle::mode::write, llfio::file_handle::creation::if_needed, llfio::file_handle::caching::temporary, llfio::file_handle::flag::none}().value(); // NOLINT
+ DirectoryHandleType h2 = llfio::construct<DirectoryHandleType>{null_path_handle, "tempdir", llfio::file_handle::mode::write, llfio::file_handle::creation::if_needed, llfio::file_handle::caching::all, llfio::file_handle::flag::none}().value(); // NOLINT
#ifdef __clang__
#pragma clang diagnostic pop
#endif
@@ -156,6 +156,6 @@ template <class FileHandleType, class DirectoryHandleType> static inline void Te
h2.unlink().value();
}
-KERNELTEST_TEST_KERNEL(integration, afio, current_path, handle, "Tests that afio::handle::current_path() works as expected", TestHandleCurrentPath<LLFIO_V2_NAMESPACE::file_handle, LLFIO_V2_NAMESPACE::directory_handle>())
-KERNELTEST_TEST_KERNEL(integration, afio, current_path, cached_parent_handle_adapter, "Tests that afio::cached_parent_handle_adapter::current_path() works as expected",
+KERNELTEST_TEST_KERNEL(integration, llfio, current_path, handle, "Tests that llfio::handle::current_path() works as expected", TestHandleCurrentPath<LLFIO_V2_NAMESPACE::file_handle, LLFIO_V2_NAMESPACE::directory_handle>())
+KERNELTEST_TEST_KERNEL(integration, llfio, current_path, cached_parent_handle_adapter, "Tests that llfio::cached_parent_handle_adapter::current_path() works as expected",
TestHandleCurrentPath<LLFIO_V2_NAMESPACE::algorithm::cached_parent_handle_adapter<LLFIO_V2_NAMESPACE::file_handle>, LLFIO_V2_NAMESPACE::algorithm::cached_parent_handle_adapter<LLFIO_V2_NAMESPACE::directory_handle>>())