27#if defined(__cpp_lib_filesystem)
38 static void are_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual) {are_equal(expected, actual,
"",
xtd::diagnostics::stack_frame::empty());}
51 static void are_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual,
"", stack_frame);}
64 static void are_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual,
const std::string& message) {are_equal(expected, actual, message,
xtd::diagnostics::stack_frame::empty());}
78 static void are_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
80 directory_assert::are_equal(expected, actual, message, stack_frame);
96 static void are_not_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual) {are_not_equal(expected, actual,
"",
xtd::diagnostics::stack_frame::empty());}
109 static void are_not_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual,
const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(expected, actual,
"", stack_frame);}
122 static void are_not_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual,
const std::string& message) {are_not_equal(expected, actual, message,
xtd::diagnostics::stack_frame::empty());}
136 static void are_not_equal(
const std::filesystem::directory_entry& expected,
const std::filesystem::directory_entry& actual,
const std::string& message,
const xtd::diagnostics::stack_frame& stack_frame) {
138 directory_assert::are_not_equal(expected, actual, message, stack_frame);
156 template<
typename Char>
171 template<
typename Char>
186 template<
typename Char>
202 template<
typename Char>
212 template<
typename Char>
214 template<
typename Char>
216 template<
typename Char>
218 template<
typename Char>
233 template<
typename Char>
248 template<
typename Char>
263 template<
typename Char>
279 template<
typename Char>
289 template<
typename Char>
291 template<
typename Char>
293 template<
typename Char>
295 template<
typename Char>
Contains xtd::tunit::assume class.
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h:29
static stack_frame empty() noexcept
Return an empty stack frame.
The base class for assert.
Definition base_assert.h:25
static void abort()
Abort current test. This is used by the other Assert functions.
Definition base_assert.h:36
static void exists(const std::basic_string< Char > &directory)
Asserts that directory exists.
Definition directory_assert.h:158
static void does_not_exist(const std::basic_string< Char > &directory)
Asserts that file not exists.
Definition directory_assert.h:235
The directory_assume class contains a collection of static methods that implement the most directory ...
Definition directory_assume.h:21
static void exists(const std::basic_string< Char > &directory, const std::string &message)
Asserts that directory exists.
Definition directory_assume.h:187
static void does_not_exist(const std::basic_string< Char > &directory, const std::string &message)
Asserts that file not exists.
Definition directory_assume.h:264
static void exists(const std::basic_string< Char > &directory, const xtd::diagnostics::stack_frame &stack_frame)
Asserts that directory exists.
Definition directory_assume.h:172
static void does_not_exist(const std::basic_string< Char > &directory)
Asserts that file not exists.
Definition directory_assume.h:234
static void does_not_exist(const std::basic_string< Char > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Asserts that file not exists.
Definition directory_assume.h:280
static void exists(const std::basic_string< Char > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Asserts that directory exists.
Definition directory_assume.h:203
static void exists(const std::basic_string< Char > &directory)
Asserts that directory exists.
Definition directory_assume.h:157
static void does_not_exist(const std::basic_string< Char > &directory, const xtd::diagnostics::stack_frame &stack_frame)
Asserts that file not exists.
Definition directory_assume.h:249
Contains xtd::tunit::directory_assert class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17