The file_assert class contains a collection of static methods that implement the most file assertions used in xtd::tUnit.
Methods | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_istream< char_t > &expected, const std::basic_istream< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | are_not_equal (const std::basic_string< char_t > &expected, const std::basic_string< char_t > &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two files are not equal. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &file) |
| Asserts that file not exists. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &file, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that file not exists. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &file, const std::string &message) |
| Asserts that file not exists. More... | |
| template<typename char_t > | |
| static void | does_not_exist (const std::basic_string< char_t > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that file not exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &file) |
| Asserts that file exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &file, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that file exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &file, const std::string &message) |
| Asserts that file exists. More... | |
| template<typename char_t > | |
| static void | exists (const std::basic_string< char_t > &file, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that file exists. More... | |
|
inlinestatic |
Asserts that two files are equal.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files are equal.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files are not equal.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files are not equal.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that two files 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. |
|
inlinestatic |
Asserts that file not exists.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that file 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 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts 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. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that file exists.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
inlinestatic |
Asserts that file 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 file 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 file 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. |