The directory_valid class contains a collection of static methods that implement the most directory assertions used in xtd::tUnit.
Methods | |
| static void | are_equal (const std::filesystem::directory_entry &expected, const std::filesystem::directory_entry &actual) |
| Validates that two directories are equal. More... | |
| static void | are_equal (const std::filesystem::directory_entry &expected, const std::filesystem::directory_entry &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that two directories are equal. More... | |
| static void | are_equal (const std::filesystem::directory_entry &expected, const std::filesystem::directory_entry &actual, const std::string &message) |
| Validates that two directories are equal. More... | |
| 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) |
| Validates that two directories are equal. More... | |
| static void | are_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual) |
| Validates that two xtd::io::directory_info are equal. More... | |
| static void | are_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that two xtd::io::directory_info are equal. More... | |
| static void | are_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const std::string &message) |
| Validates that two xtd::io::directory_info are equal. More... | |
| 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) |
| Validates that two xtd::io::directory_info are equal. More... | |
| static void | are_not_equal (const std::filesystem::directory_entry &expected, const std::filesystem::directory_entry &actual) |
| Validates that two std::filesystem::directory_entry are not equal. More... | |
| static void | are_not_equal (const std::filesystem::directory_entry &expected, const std::filesystem::directory_entry &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that two std::filesystem::directory_entry are not equal. More... | |
| static void | are_not_equal (const std::filesystem::directory_entry &expected, const std::filesystem::directory_entry &actual, const std::string &message) |
| Validates that two std::filesystem::directory_entry are not equal. More... | |
| 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) |
| Validates that two std::filesystem::directory_entry are not equal. More... | |
| static void | are_not_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual) |
| Validates that two xtd::io::directory_info are not equal. More... | |
| static void | are_not_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that two xtd::io::directory_info are not equal. More... | |
| static void | are_not_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual, const std::string &message) |
| Validates that two xtd::io::directory_info are not equal. More... | |
| 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) |
| Validates that two xtd::io::directory_info are not equal. More... | |
| static void | does_not_exist (const std::filesystem::directory_entry &directory) |
| Validates that directory not exists. More... | |
| static void | does_not_exist (const std::filesystem::directory_entry &directory, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory not exists. More... | |
| static void | does_not_exist (const std::filesystem::directory_entry &directory, const std::string &message) |
| Validates that directory not exists. More... | |
| static void | does_not_exist (const std::filesystem::directory_entry &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory not exists. More... | |
| static void | does_not_exist (const xtd::io::directory_info &directory) |
| Validates that directory not exists. More... | |
| static void | does_not_exist (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory not exists. More... | |
| static void | does_not_exist (const xtd::io::directory_info &directory, const std::string &message) |
| Validates that directory not exists. More... | |
| static void | does_not_exist (const xtd::io::directory_info &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory not exists. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &directory) |
| Validates that file not exists. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that file not exists. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &directory, const std::string &message) |
| Validates that file not exists. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that file not exists. More... | |
| static void | exists (const std::filesystem::directory_entry &directory) |
| Validates that directory exists. More... | |
| static void | exists (const std::filesystem::directory_entry &directory, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory exists. More... | |
| static void | exists (const std::filesystem::directory_entry &directory, const std::string &message) |
| Validates that directory exists. More... | |
| static void | exists (const std::filesystem::directory_entry &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory exists. More... | |
| static void | exists (const xtd::io::directory_info &directory) |
| Validates that directory exists. More... | |
| static void | exists (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory exists. More... | |
| static void | exists (const xtd::io::directory_info &directory, const std::string &message) |
| Validates that directory exists. More... | |
| static void | exists (const xtd::io::directory_info &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &directory) |
| Validates that directory exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &directory, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &directory, const std::string &message) |
| Validates that directory exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Validates that directory exists. More... | |
|
static |
Validates that two directories are equal.
| expected | the expected value. |
| actual | the actual value. |
|
static |
Validates that two directories are equal.
| expected | the expected value. |
| actual | the actual value. |
| stack_frame | Contains information about current file and current line. |
|
static |
Validates that two directories 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. |
|
static |
Validates that two directories 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. |
|
static |
Validates that two xtd::io::directory_info are equal.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates that two std::filesystem::directory_entry are not equal.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates that two std::filesystem::directory_entry 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 |
Validates that two std::filesystem::directory_entry 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates that two std::filesystem::directory_entry 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 |
Validates that two xtd::io::directory_info are not equal.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates that directory not exists.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates that directory not exists.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates that file not exists.
| expected | the expected value. |
| actual | the actual value. |
|
inlinestatic |
Validates that file not exists.
| expected | the expected value. |
| actual | the actual value. |
| stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that file 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. |
|
inlinestatic |
Validates that file 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. |
|
static |
Validates that directory exists.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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. |
|
static |
Validates that directory exists.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Validates 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 |
Validates that directory exists.
| expected | the expected value. |
| actual | the actual value. |
|
inlinestatic |
Validates that directory exists.
| expected | the expected value. |
| actual | the actual value. |
| stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates 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. |
|
inlinestatic |
Validates 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. |