The directory_assert class contains a collection of static methods that implement the most directory assertions used in xtd::tUnit.
Public Static Methods | |
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()) |
Asserts that two xtd::io::directory_info are equal. | |
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()) |
Asserts 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 xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) |
Asserts that two xtd::io::directory_info are not 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()) |
Asserts that two xtd::io::directory_info are not equal. | |
static void | does_not_exist (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) |
Asserts that directory not exists. | |
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()) |
Asserts that directory not exists. | |
template<typename char_t > | |
static void | does_not_exist (const xtd::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) |
Asserts that directory not exists. | |
template<typename char_t > | |
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()) |
Asserts that directory not exists. | |
static void | exists (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) |
Asserts that directory 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()) |
Asserts that directory exists. | |
template<typename char_t > | |
static void | exists (const xtd::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) |
Asserts that directory exists. | |
template<typename char_t > | |
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()) |
Asserts that directory exists. | |
|
static |
Asserts that two xtd::io::directory_info are equal.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that two xtd::io::directory_info are equal.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that two xtd::io::directory_info are not equal.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that two xtd::io::directory_info are not equal.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that directory not exists.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that directory not exists.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that directory not exists.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that directory not exists.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that directory exists.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that directory exists.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that directory exists.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that directory exists.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |