| 51 | } |
| 52 | |
| 53 | const char * |
| 54 | regression_status_string(int status) |
| 55 | { |
| 56 | return (status == REGRESSION_TEST_NOT_RUN ? |
| 57 | "NOT_RUN" : |
| 58 | (status == REGRESSION_TEST_PASSED ? "PASSED" : (status == REGRESSION_TEST_INPROGRESS ? "INPROGRESS" : "FAILED"))); |
| 59 | } |
| 60 | |
| 61 | RegressionTest::RegressionTest(const char *_n, const SourceLocation &_l, TestFunction *_f, int _o) |
| 62 | : name(_n), location(_l), function(_f), next(nullptr), status(REGRESSION_TEST_NOT_RUN), printed(false), opt(_o) |
no outgoing calls
no test coverage detected