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.h:79
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.h:124
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h: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.h:129
The base class for assert.
Definition base_assert.h:29
The directory_valid class contains a collection of static methods that implement the most directory a...
Definition directory_valid.h: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.h: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.h: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.h: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.h:317
Contains xtd::tunit::directory_assert class.
#define tunit_export_
Define shared library export.
Definition tunit_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::tunit::valid class.