32 #if defined(__xtd__cpp_lib_filesystem)
87 #if defined(__xtd__cpp_lib_filesystem)
148 #if defined(__xtd__cpp_lib_filesystem)
217 template<
typename char_t>
231 template<
typename char_t>
234 directory_assert::does_not_exist(directory, message, stack_frame);
241 template<
typename char_t>
243 template<
typename char_t>
247 #if defined(__xtd__cpp_lib_filesystem)
316 template<
typename char_t>
330 template<
typename char_t>
333 directory_assert::exists(directory, message, stack_frame);
340 template<
typename char_t>
342 template<
typename char_t>
Represents text as a sequence of character units.
Definition basic_string.hpp:79
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.hpp:124
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.hpp:47
static stack_frame current(const xtd::source_location &value=xtd::source_location::current()) noexcept
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories...
Definition directory_info.hpp:129
The base class for assert.
Definition base_assert.hpp:29
The directory_valid class contains a collection of static methods that implement the most directory a...
Definition directory_valid.hpp:23
static void does_not_exist(const xtd::io::directory_info &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that directory not exists.
static void are_not_equal(const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that two xtd::io::directory_info are not equal.
static void exists(const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that directory exists.
static void are_equal(const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that two xtd::io::directory_info are equal.
static void does_not_exist(const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that directory not exists.
static void exists(const xtd::io::directory_info &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that directory exists.
static void are_equal(const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that two xtd::io::directory_info are equal.
static void are_not_equal(const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that two xtd::io::directory_info are not equal.
static void does_not_exist(const xtd::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that file not exists.
Definition directory_valid.hpp:218
static void does_not_exist(const xtd::basic_string< char_t > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that file not exists.
Definition directory_valid.hpp:232
static void exists(const xtd::basic_string< char_t > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that directory exists.
Definition directory_valid.hpp:331
static void exists(const xtd::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Validates that directory exists.
Definition directory_valid.hpp:317
Contains xtd::tunit::directory_assert class.
#define tunit_export_
Define shared library export.
Definition tunit_export.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::tunit::valid class.