libept
|
Result of running a whole test case. More...
#include <tests.h>
Public Member Functions | |
TestCaseResult (const std::string &test_case) | |
void | set_setup_failed () |
void | set_setup_failed (std::exception &e) |
void | set_teardown_failed () |
void | set_teardown_failed (std::exception &e) |
void | add_test_method (TestMethodResult &&e) |
bool | is_success () const |
Public Attributes | |
std::string | test_case |
Name of the test case. More... | |
std::vector< TestMethodResult > | methods |
Outcome of all the methods that have been run. More... | |
std::string | fail_setup |
Set to a non-empty string if the setup method of the test case failed. More... | |
std::string | fail_teardown |
Set to a non-empty string if the teardown method of the test case failed. More... | |
bool | skipped = false |
Set to true if this test case has been skipped. More... | |
Result of running a whole test case.
|
inline |
|
inline |
Referenced by ept::tests::TestCase::run_tests().
|
inline |
Referenced by ept::tests::SimpleTestController::test_case_end().
|
inline |
Referenced by ept::tests::TestCase::run_tests().
|
inline |
|
inline |
Referenced by ept::tests::TestCase::run_tests().
|
inline |
std::string ept::tests::TestCaseResult::fail_setup |
Set to a non-empty string if the setup method of the test case failed.
std::string ept::tests::TestCaseResult::fail_teardown |
Set to a non-empty string if the teardown method of the test case failed.
std::vector<TestMethodResult> ept::tests::TestCaseResult::methods |
Outcome of all the methods that have been run.
bool ept::tests::TestCaseResult::skipped = false |
Set to true if this test case has been skipped.
Referenced by ept::tests::TestCase::run_tests(), and ept::tests::SimpleTestController::test_case_end().
std::string ept::tests::TestCaseResult::test_case |
Name of the test case.