Protected Construtors | |
| does_not_value (actual_value< actual_t > &&v) | |
| does_not_value (const actual_value< actual_t > &v) | |
Public Methods | |
| template<typename expected_t> | |
| auto | end_with (const expected_t &expected, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) const |
| Asserts that string ends with specified expected value. | |
| template<typename expected_t> | |
| auto | end_with (const expected_t &expected, const xtd::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) const |
| Asserts that string ends with specified expected value and specified user message. | |
| template<typename expected_t> | |
| auto | start_with (const expected_t &expected, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) const |
| Asserts that string starts with specified item. | |
| template<typename expected_t> | |
| auto | start_with (const expected_t &expected, const xtd::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) const |
| Asserts that string starts with specified item and specified user message. | |
Additional Inherited Members | |
| auto | assert_type () const noexcept -> xtd::tunit::constraints::assert_type |
| auto | type (xtd::tunit::constraints::assert_type assert_type) noexcept -> actual_value & |
| auto | is_assert () const noexcept |
| auto | is_valid () const noexcept |
| auto | is_assume () const noexcept |
| const actual_t & | actual () const noexcept |
| actual_value & | actual (const actual_t &actual) noexcept |
|
inline |
Asserts that string ends with specified expected value.
| item | object to verify. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
inline |
Asserts that string ends with specified expected value and specified user message.
| item | object to verify. |
| 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. |
|
inline |
Asserts that string starts with specified item.
| item | object to verify. |
| stack_frame | Contains information about current file and current line. |
| xtd::tunit::assert_error | If bad assertion. |
|
inline |
Asserts that string starts with specified item and specified user message.
| item | object to verify. |
| 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. |