6#include "../tunit_export.h" 
    8#include "__tunit_join__items.h" 
   99        base_assert::fail(
"", 
"", message, stack_frame);
 
  168      static void fail(
const std::string& actual, 
const std::string& expected, 
const std::string& message, 
const xtd::diagnostics::stack_frame& stack_frame);
 
  172      static void error(
const std::string& actual, 
const std::string& expected, 
const std::string& message, 
const xtd::diagnostics::stack_frame& stack_frame);
 
  174      template <
typename value_t>
 
  175      static std::string 
to_string(
const value_t& value) {
return __tunit_to_string(value);}
 
  177      template <
typename value_t>
 
  178      static std::string 
to_string(
const value_t* value) {
return __tunit_to_string(value);}
 
  180      template<
typename collection_t>
 
  181      static std::string join_items(
const collection_t& collection) {
return __tunit_join__items(collection);}
 
  183      static std::string join_items(
const std::string& str) {
return __tunit_join__items(str);}
 
Contains xtd::tunit::abort_error exception.
 
Contains xtd::tunit::assert_error exception.
 
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition: stack_frame.h:29
 
static stack_frame empty() noexcept
Return an empty stack frame.
 
The base class for assert.
Definition: base_assert.h:25
 
static void abort()
Abort current test. This is used by the other Assert functions.
Definition: base_assert.h:36
 
static void fail(const std::string &message)
Throws an xtd::tunit::assertion_error exception. This is used by the other Assert functions.
Definition: base_assert.h:88
 
static void abort(const std::string &message)
Abort current test. This is used by the other Assert functions.
Definition: base_assert.h:53
 
static void fail(const std::string &message, const xtd::diagnostics::stack_frame &stack_frame)
Throws an xtd::tunit::assertion_error exception. This is used by the other Assert functions.
Definition: base_assert.h:98
 
static void ignore()
Ignore current test. This is used by the other Assert functions.
Definition: base_assert.h:107
 
static void ignore(const std::string &message)
Ignore current test. This is used by the other Assert functions.
Definition: base_assert.h:124
 
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.
Definition: base_assert.h:148
 
static void abort(const xtd::diagnostics::stack_frame &stack_frame)
Abort current test. This is used by the other Assert functions.
Definition: base_assert.h:45
 
static void ignore(const xtd::diagnostics::stack_frame &stack_frame)
Ignore current test. This is used by the other Assert functions.
Definition: base_assert.h:116
 
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.
 
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.
 
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.
 
static void fail()
Throws an xtd::tunit::assertion_error exception. This is used by the other Assert functions.
Definition: base_assert.h:70
 
static void succeed(const std::string &message)
Generates a success with a generic message. This is used by the other Assert functions.
Definition: base_assert.h:156
 
static void fail(const xtd::diagnostics::stack_frame &stack_frame)
Throws an xtd::tunit::assertion_error exception. This is used by the other Assert functions.
Definition: base_assert.h:79
 
static void succeed()
Generates a success with a generic message. This is used by the other Assert functions.
Definition: base_assert.h:140
 
Contains std::basic_ostream<char_t, char_traits_t>& operator<<(std::basic_ostream<char_t,...
 
#define tunit_export_
Define shared library export.
Definition: tunit_export.h:13
 
#define csf_
Provides information about the current stack frame.
Definition: stack_frame.h:213
 
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37
 
Contains xtd::tunit::ignore_error exception.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
 
Contains xtd::diagnostics::stack_frame class.