xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Public Member Functions | List of all members
xtd::tunit::test Class Referencefinal

Public Member Functions

 test (const std::string &name, const std::function< void()> &method, bool ignore, const xtd::diagnostics::stack_frame &stack_frame) noexcept
 
 test (const std::string &name, const std::function< void()> &method, const xtd::diagnostics::stack_frame &caller) noexcept
 
bool aborted () const noexcept
 
const std::string & actual () const noexcept
 
std::chrono::milliseconds elapsed_time () const noexcept
 
const std::string & expect () const noexcept
 
bool failed () const noexcept
 
bool ignored () const noexcept
 
const std::string & message () const noexcept
 
std::function< void()> method () const noexcept
 
const std::string & name () const noexcept
 
bool not_started () const noexcept
 
const xtd::diagnostics::stack_frame stack_frame () const noexcept
 
bool succeed () const noexcept
 
const std::string & user_message () const noexcept
 

The documentation for this class was generated from the following file: