xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::tunit::test Class Referencefinal

Public Member Functions

 test (const std::string &name, const std::function< void()> &method, const xtd::tunit::line_info &caller) noexcept
 
 test (const std::string &name, const std::function< void()> &method, bool ignore, const xtd::tunit::line_info &info) 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 xtd::tunit::line_info line_info () 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
 
bool succeed () const noexcept
 
const std::string & user_message () const noexcept
 

Friends

class xtd::tunit::assert
 
class xtd::tunit::base_assert
 
class xtd::tunit::test_class
 
class xtd::tunit::valid
 

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