The string_assert class contains a collection of static methods that implement the most string assertions used in xtd::tUnit.
Methods | |
| static void | are_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual) |
| Asserts that two type are equal ignoring case. More... | |
| static void | are_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two type are equal ignoring case. More... | |
| static void | are_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual, const xtd::ustring &message) |
| Asserts that two type are equal ignoring case. More... | |
| static void | are_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two type are equal ignoring case. More... | |
| static void | are_not_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual) |
| Asserts that two type are not equal ignoring case. More... | |
| static void | are_not_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two type are not equal ignoring case. More... | |
| static void | are_not_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual, const xtd::ustring &message) |
| Asserts that two type are not equal ignoring case. More... | |
| static void | are_not_equal_ignoring_case (const xtd::ustring &expected, const xtd::ustring &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that two type are not equal ignoring case. More... | |
| static void | contains (const xtd::ustring &item, const xtd::ustring &string) |
| Asserts that string contains an item. More... | |
| static void | contains (const xtd::ustring &item, const xtd::ustring &string, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string contains an item. More... | |
| static void | contains (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message) |
| Asserts that string contains an item. More... | |
| static void | contains (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string contains an item. More... | |
| static void | does_not_contain (const xtd::ustring &item, const xtd::ustring &string) |
| Asserts that string contains an item. More... | |
| static void | does_not_contain (const xtd::ustring &item, const xtd::ustring &string, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string contains an item. More... | |
| static void | does_not_contain (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message) |
| Asserts that string contains an item. More... | |
| static void | does_not_contain (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string contains an item. More... | |
| static void | does_not_end_with (const xtd::ustring &item, const xtd::ustring &string) |
| Asserts that string does not end with a specific item. More... | |
| static void | does_not_end_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
| static void | does_not_end_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message) |
| Asserts that string starts with item. More... | |
| static void | does_not_end_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
| static void | does_not_match (const xtd::ustring ®ex_pattern, const xtd::ustring &actual) |
| Asserts that does not match regex pattern. More... | |
| static void | does_not_match (const xtd::ustring ®ex_pattern, const xtd::ustring &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that does not match regex pattern. More... | |
| static void | does_not_match (const xtd::ustring ®ex_pattern, const xtd::ustring &actual, const xtd::ustring &message) |
| Asserts that does not match regex pattern. More... | |
| static void | does_not_match (const xtd::ustring ®ex_pattern, const xtd::ustring &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that does not match regex pattern. More... | |
| static void | does_not_start_with (const xtd::ustring &item, const xtd::ustring &string) |
| Asserts that string does not start with a specific item. More... | |
| static void | does_not_start_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
| static void | does_not_start_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message) |
| Asserts that string starts with item. More... | |
| static void | does_not_start_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
| static void | ends_with (const xtd::ustring &item, const xtd::ustring &string) |
| Asserts that string ends with a specific item. More... | |
| static void | ends_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
| static void | ends_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message) |
| Asserts that string starts with item. More... | |
| static void | ends_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
| static void | matches (const xtd::ustring ®ex_pattern, const xtd::ustring &actual) |
| Asserts that matches regex pattern. More... | |
| static void | matches (const xtd::ustring ®ex_pattern, const xtd::ustring &actual, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that matches regex pattern. More... | |
| static void | matches (const xtd::ustring ®ex_pattern, const xtd::ustring &actual, const xtd::ustring &message) |
| Asserts that matches regex pattern. More... | |
| static void | matches (const xtd::ustring ®ex_pattern, const xtd::ustring &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that matches regex pattern. More... | |
| static void | starts_with (const xtd::ustring &item, const xtd::ustring &string) |
| Asserts that string starts witdh item. More... | |
| static void | starts_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
| static void | starts_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message) |
| Asserts that string starts with item. More... | |
| static void | starts_with (const xtd::ustring &item, const xtd::ustring &string, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
| Asserts that string starts with item. More... | |
|
static |
Asserts that two type are equal ignoring case.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that two type are equal ignoring case.
| 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 type are equal ignoring case.
| 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 type are equal ignoring case.
| 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 type are not equal ignoring case.
| expected | the expected value. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that two type are not equal ignoring case.
| 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 type are not equal ignoring case.
| 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 type are not equal ignoring case.
| 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 string contains an item.
| item | object to verify. |
| collection | that contains object. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string contains an item.
| item | object to verify. |
| collection | that contains object. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string contains an item.
| item | object to verify. |
| collection | that contains object. |
| 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 string contains an item.
| item | object to verify. |
| collection | that contains object. |
| 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 string contains an item.
| item | object to verify. |
| collection | that contains object. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string contains an item.
| item | object to verify. |
| collection | that contains object. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string contains an item.
| item | object to verify. |
| collection | that contains object. |
| 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 string contains an item.
| item | object to verify. |
| collection | that contains object. |
| 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 string does not end with a specific item.
| item | object to verify. |
| collection | that contains object. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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 string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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 does not match regex pattern.
| regex_pattern | the regex pattern. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that does not match regex pattern.
| regex_pattern | the regex pattern. |
| actual | the actual value. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that does not match regex pattern.
| regex_pattern | the regex pattern. |
| 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 does not match regex pattern.
| regex_pattern | the regex pattern. |
| 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 string does not start with a specific item.
| item | object to verify. |
| collection | that contains object. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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 string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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 string ends with a specific item.
| item | object to verify. |
| collection | that contains object. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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 string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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 matches regex pattern.
| regex_pattern | the regex pattern. |
| actual | the actual value. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that matches regex pattern.
| regex_pattern | the regex pattern. |
| actual | the actual value. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that matches regex pattern.
| regex_pattern | the regex pattern. |
| 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 matches regex pattern.
| regex_pattern | the regex pattern. |
| 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 string starts witdh item.
| item | object to verify. |
| collection | that contains object. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
static |
Asserts that string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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 string starts with item.
| item | object to verify. |
| collection | that contains object. |
| 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. |