xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.

◆ abort() [1/4]

static void xtd::tunit::base_assert::abort ( )
inlinestatic

Abort current test. This is used by the other Assert functions.

Examples
xtd::tunit::assert::abort("User message...", line_info_); // test throws an abort_error exception.