#include <test.h>
Definition at line 71 of file test.h.
 
◆ TestCase()
  
  | 
        
          | TestCase::TestCase | ( | std::string | g, |  
          |  |  | std::string | t |  
          |  | ) |  |  |  | inline | 
 
 
◆ ~TestCase()
  
  | 
        
          | virtual TestCase::~TestCase | ( |  | ) |  |  | virtualdefault | 
 
 
◆ evaluate()
◆ fatal()
  
  | 
        
          | std::ostream& TestCase::fatal | ( | bool | condition, |  
          |  |  | const std::string & | , |  
          |  |  | const std::string & |  |  
          |  | ) |  |  |  | inline | 
 
Fatal condition. 
Same as check() except in case of a condition that evaluates to false, the method aborts the test. 
Definition at line 122 of file test.h.
  124             std::cerr << 
"Tests failed.\n";
 
 
References logstream.
 
 
◆ getChecks()
  
  | 
        
          | size_t TestCase::getChecks | ( |  | ) | const |  | inline | 
 
 
◆ getFailed()
  
  | 
        
          | size_t TestCase::getFailed | ( |  | ) | const |  | inline | 
 
 
◆ getGroup()
  
  | 
        
          | const std::string& TestCase::getGroup | ( |  | ) | const |  | inline | 
 
get name of test group 
Definition at line 152 of file test.h.
References group.
 
 
◆ getTest()
  
  | 
        
          | const std::string& TestCase::getTest | ( |  | ) | const |  | inline | 
 
get test name 
Definition at line 145 of file test.h.
References test.
 
 
◆ nextTestCase()
Next Test Case in singly linked list. 
Definition at line 138 of file test.h.
References next.
 
 
◆ run()
  
  | 
        
          | virtual void TestCase::run | ( |  | ) |  |  | pure virtual | 
 
 
◆ group
  
  | 
        
          | std::string TestCase::group |  | private | 
 
 
◆ logstream
  
  | 
        
          | std::ostream& TestCase::logstream |  | protected | 
 
 
◆ next
◆ num_checks
  
  | 
        
          | size_t TestCase::num_checks |  | private | 
 
 
◆ num_failed
  
  | 
        
          | size_t TestCase::num_failed |  | private | 
 
 
◆ test
  
  | 
        
          | std::string TestCase::test |  | private | 
 
 
The documentation for this class was generated from the following file: