MCPcopy Create free account
hub / github.com/apache/trafficserver / regression_status_string

Function regression_status_string

src/tscore/Regression.cc:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53const char *
54regression_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
61RegressionTest::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)

Callers 4

start_testFunction · 0.85
run_someMethod · 0.85
check_statusMethod · 0.85
mainEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected