#include <base_assert.h>
Methods | |
static void | abort () |
Abort current test. This is used by the other assert functions. More... | |
static void | abort (const xtd::diagnostics::stack_frame &stack_frame) |
Abort current test. This is used by the other assert functions. More... | |
static void | abort (const std::string &message) |
Abort current test. This is used by the other assert functions. More... | |
static void | abort (const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Abort current test. This is used by the other assert functions. More... | |
static void | fail () |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
static void | fail (const xtd::diagnostics::stack_frame &stack_frame) |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
static void | fail (const std::string &message) |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
static void | fail (const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
static void | ignore () |
Ignore current test. This is used by the other assert functions. More... | |
static void | ignore (const xtd::diagnostics::stack_frame &stack_frame) |
Ignore current test. This is used by the other assert functions. More... | |
static void | ignore (const std::string &message) |
Ignore current test. This is used by the other assert functions. More... | |
static void | ignore (const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Ignore current test. This is used by the other assert functions. More... | |
static void | succeed () |
Generates a success with a generic message. This is used by the other assert functions. More... | |
static void | succeed (const xtd::diagnostics::stack_frame &stack_frame) |
Generates a success with a generic message. This is used by the other assert functions. More... | |
static void | succeed (const std::string &message) |
Generates a success with a generic message. This is used by the other assert functions. More... | |
static void | succeed (const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Generates a success with a generic message. This is used by the other assert functions. More... | |
Protected methods | |
static void | error () |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
static void | error (const std::string &message) |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
static void | error (const std::string &actual, const std::string &expected, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
static void | fail (const std::string &actual, const std::string &expected, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame) |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions. More... | |
template<typename value_t > | |
static std::string | to_string (const value_t &value) |
Convert specified value to std::string. More... | |
template<typename value_t > | |
static std::string | to_string (const value_t *value) |
Convert specified value to std::string. More... | |
template<typename collection_t > | |
static std::string | join_items (const collection_t &collection) |
Join specified collection into std::string. More... | |
static std::string | join_items (const std::string &str) |
Join specified string into std::string. More... | |
|
static |
Abort current test. This is used by the other assert functions.
|
static |
Abort current test. This is used by the other assert functions.
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Abort current test. This is used by the other assert functions.
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
static |
Abort current test. This is used by the other assert functions.
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. |
|
staticprotected |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
xtd::tunit::assert_error | If bad assertion. |
|
staticprotected |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
xtd::tunit::assert_error | If bad assertion. |
|
staticprotected |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
xtd::tunit::assert_error | If bad assertion. |
|
static |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
xtd::tunit::assert_error | If bad assertion. |
|
static |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
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 |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
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. |
|
staticprotected |
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
xtd::tunit::assert_error | If bad assertion. |
|
static |
Ignore current test. This is used by the other assert functions.
|
static |
Ignore current test. This is used by the other assert functions.
stack_frame | Contains information about current file and current line. |
xtd::tunit::assert_error | If bad assertion. |
|
static |
Ignore current test. This is used by the other assert functions.
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
static |
Ignore current test. This is used by the other assert functions.
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. |
|
inlinestaticprotected |
Join specified collection into std::string.
collection | The collection to join into std::string. |
|
staticprotected |
Join specified string into std::string.
str | The joined to join into std::string. |
|
static |
Generates a success with a generic message. This is used by the other assert functions.
|
static |
Generates a success with a generic message. This is used by the other assert functions.
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
static |
Generates a success with a generic message. This is used by the other assert functions.
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
static |
Generates a success with a generic message. This is used by the other assert functions.
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. |
|
inlinestaticprotected |
Convert specified value to std::string.
value | The value to convert to std::string. |
|
inlinestaticprotected |
Convert specified value to std::string.
value | The value to convert to std::string. |