Represents a test class.
Public Constructors | |
| test_class () | |
| Creates a new test_class instance.   | |
Public Properties | |
| xtd::time_span | elapsed_time () const noexcept | 
| Gets the elapsed time of the test class.   | |
| xtd::string | name () const noexcept | 
| Gets the name of the test class.   | |
| size_t | test_count () const noexcept | 
| Gets the test count.   | |
| size_t | aborted_test_count () const noexcept | 
| Gets the aborted test count.   | |
| size_t | failed_test_count () const noexcept | 
| Gets the failed test count.   | |
| size_t | ignored_test_count () const noexcept | 
| Gets the ignored test count.   | |
| size_t | succeed_test_count () const noexcept | 
| Gets the succeed test count.   | |
| const xtd::date_time & | start_time () const noexcept | 
| Gets the start time of the test class.   | |
| const std::vector< xtd::tunit::test > & | tests () const noexcept | 
| Gets the tests array of this test class.   | |
Protected Methods | |
| void | add_class_cleanup (const xtd::tunit::test &class_cleanup) noexcept | 
| Adds the class cleanup method.   | |
| void | add_class_initialize (const xtd::tunit::test &class_initialize) noexcept | 
| Adds the class initialize method.   | |
| void | add_test_cleanup (const xtd::tunit::test &test_cleanup) noexcept | 
| Adds the test cleanup method.   | |
| void | add_test_initialize (const xtd::tunit::test &test_initialize) noexcept | 
| Adds the test initialize method.   | |
| void | add_test_method (const xtd::tunit::test &test) noexcept | 
| Adds a test method.   | |
      
  | 
  inline | 
Creates a new test_class instance.
      
  | 
  noexcept | 
Gets the elapsed time of the test class.
      
  | 
  noexcept | 
Gets the name of the test class.
      
  | 
  noexcept | 
Gets the test count.
      
  | 
  noexcept | 
Gets the aborted test count.
      
  | 
  noexcept | 
Gets the failed test count.
      
  | 
  noexcept | 
Gets the ignored test count.
      
  | 
  noexcept | 
Gets the succeed test count.
      
  | 
  noexcept | 
Gets the start time of the test class.
      
  | 
  noexcept | 
Gets the tests array of this test class.
      
  | 
  protectednoexcept | 
Adds the class cleanup method.
| class_cleanup | The class cleanup method. | 
      
  | 
  protectednoexcept | 
Adds the class initialize method.
| class_initialize | The class initialize method. | 
      
  | 
  protectednoexcept | 
Adds the test cleanup method.
| test_cleanup | The test cleanup method. | 
      
  | 
  protectednoexcept | 
Adds the test initialize method.
| test_initialize | The test initialize method. | 
      
  | 
  protectednoexcept | 
Adds a test method.
| test | The a test method. |