libwreport
3.5
|
Result of running a test method. More...
#include <tests.h>
Public Member Functions | |
TestMethodResult (const std::string &test_case, const std::string &test_method) | |
void | set_failed (TestFailed &e) |
void | set_exception (std::exception &e) |
void | set_unknown_exception () |
void | set_setup_exception (std::exception &e) |
void | set_teardown_exception (std::exception &e) |
bool | is_success () const |
Data Fields | |
std::string | test_case |
Name of the test case. | |
std::string | test_method |
Name of the test method. | |
std::string | error_message |
If non-empty, the test failed with this error. | |
TestStack | error_stack |
Stack frame of where the error happened. | |
std::string | exception_typeid |
If non-empty, the test raised an exception and this is its type ID. | |
bool | skipped = false |
True if the test has been skipped. | |
Result of running a test method.