#include <directory_assert.h>
The directory_assert 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) |
Asserts that two std::filesystem::directory_entry 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) |
Asserts that two std::filesystem::directory_entry are equal. More... | |
static void | are_equal (const std::filesystem::directory_entry &expected, const std::filesystem::directory_entry &actual, const std::string &message) |
Asserts that two std::filesystem::directory_entry 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) |
Asserts that two std::filesystem::directory_entry are equal. More... | |
static void | are_equal (const xtd::io::directory_info &expected, const xtd::io::directory_info &actual) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts 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) |
Asserts that two xtd::io::directory_info are not equal. More... | |
static void | does_not_exist (const std::filesystem::directory_entry &directory) |
Asserts that directory not exists. More... | |
static void | does_not_exist (const std::filesystem::directory_entry &directory, const xtd::diagnostics::stack_frame &stack_frame) |
Asserts that directory not exists. More... | |
static void | does_not_exist (const std::filesystem::directory_entry &directory, const std::string &message) |
Asserts 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) |
Asserts that directory not exists. More... | |
static void | does_not_exist (const xtd::io::directory_info &directory) |
Asserts that directory not exists. More... | |
static void | does_not_exist (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame) |
Asserts that directory not exists. More... | |
static void | does_not_exist (const xtd::io::directory_info &directory, const std::string &message) |
Asserts 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) |
Asserts that directory not exists. More... | |
template<typename char_t > | |
static void | does_not_exist (const std::basic_string< char_t > &directory) |
Asserts that directory 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) |
Asserts that directory not exists. More... | |
template<typename char_t > | |
static void | does_not_exist (const std::basic_string< char_t > &directory, const std::string &message) |
Asserts that directory 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) |
Asserts that directory not exists. More... | |
static void | exists (const std::filesystem::directory_entry &directory) |
Asserts that directory exists. More... | |
static void | exists (const std::filesystem::directory_entry &directory, const xtd::diagnostics::stack_frame &stack_frame) |
Asserts that directory exists. More... | |
static void | exists (const std::filesystem::directory_entry &directory, const std::string &message) |
Asserts that directory exists. More... | |
static void | exists (const std::filesystem::directory_entry &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Asserts that directory exists. More... | |
static void | exists (const xtd::io::directory_info &directory) |
Asserts that directory exists. More... | |
static void | exists (const xtd::io::directory_info &directory, const xtd::diagnostics::stack_frame &stack_frame) |
Asserts that directory exists. More... | |
static void | exists (const xtd::io::directory_info &directory, const std::string &message) |
Asserts that directory exists. More... | |
static void | exists (const xtd::io::directory_info &directory, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Asserts that directory exists. More... | |
template<typename char_t > | |
static void | exists (const std::basic_string< char_t > &directory) |
Asserts 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) |
Asserts that directory exists. More... | |
template<typename char_t > | |
static void | exists (const std::basic_string< char_t > &directory, const std::string &message) |
Asserts 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) |
Asserts that directory exists. More... | |
|
static |
Asserts that two std::filesystem::directory_entry are equal.
expected | the expected value. |
actual | the actual value. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that two std::filesystem::directory_entry 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 std::filesystem::directory_entry 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 |
Asserts that two std::filesystem::directory_entry 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 equal.
expected | the expected value. |
actual | the actual value. |
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. |
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. |
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 std::filesystem::directory_entry are not equal.
expected | the expected value. |
actual | the actual value. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts 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 |
Asserts 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 |
Asserts 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 |
Asserts 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 |
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. |
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. |
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. |
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. |
|
static |
Asserts that directory not exists.
expected | the expected value. |
actual | the actual value. |
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. |
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. |
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. |
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. |
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. |
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. |
|
static |
Asserts that directory exists.
expected | the expected value. |
actual | the actual value. |
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. |
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. |
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. |
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. |