#include <Regression.h>
Public Member Functions | |
RegressionTest (const char *name_arg, TestFunction *function_arg, int aopt) | |
Static Public Member Functions | |
static int | run (char *name=NULL) |
static int | run_some () |
static int | check_status () |
Data Fields | |
const char * | name |
TestFunction * | function |
RegressionTest * | next |
int | status |
int | printed |
int | opt |
Static Public Attributes | |
static int | final_status = REGRESSION_TEST_PASSED |
static int | ran_tests = 0 |
static DFA | dfa |
static RegressionTest * | current = 0 |
Definition at line 68 of file Regression.h.
RegressionTest::RegressionTest | ( | const char * | name_arg, | |
TestFunction * | function_arg, | |||
int | aopt | |||
) |
Definition at line 51 of file Regression.cc.
References function, name, next, opt, printed, REGRESSION_OPT_EXCLUSIVE, and status.
int RegressionTest::check_status | ( | ) | [static] |
Definition at line 136 of file Regression.cc.
References current, final_status, name, next, printed, regression_status_string(), REGRESSION_TEST_FAILED, REGRESSION_TEST_INPROGRESS, REGRESSION_TEST_PASSED, run_some(), and status.
Referenced by RegressionCont::mainEvent().
int RegressionTest::run | ( | char * | name = NULL |
) | [static] |
Definition at line 87 of file Regression.cc.
References DFA::compile(), current, dfa, final_status, DFA::match(), next, REGRESSION_TEST_FAILED, run_some(), and start_test().
Referenced by RegressionCont::mainEvent().
int RegressionTest::run_some | ( | ) | [static] |
Definition at line 107 of file Regression.cc.
References current, dfa, final_status, DFA::match(), name, next, printed, regression_status_string(), REGRESSION_TEST_FAILED, REGRESSION_TEST_INPROGRESS, REGRESSION_TEST_NOT_RUN, start_test(), and status.
Referenced by check_status(), and run().
RegressionTest * RegressionTest::current = 0 [static] |
Definition at line 82 of file Regression.h.
Referenced by check_status(), run(), and run_some().
DFA RegressionTest::dfa [static] |
Definition at line 81 of file Regression.h.
Referenced by run(), and run_some().
int RegressionTest::final_status = REGRESSION_TEST_PASSED [static] |
Definition at line 79 of file Regression.h.
Referenced by check_status(), run(), and run_some().
Definition at line 71 of file Regression.h.
Referenced by RegressionTest(), and start_test().
const char* RegressionTest::name |
Definition at line 70 of file Regression.h.
Referenced by check_status(), RegressionTest(), rperf(), rprintf(), run_some(), SDK_RPRINT(), and start_test().
Definition at line 72 of file Regression.h.
Referenced by check_status(), RegressionTest(), run(), and run_some().
Definition at line 75 of file Regression.h.
Referenced by RegressionTest().
Definition at line 74 of file Regression.h.
Referenced by check_status(), RegressionTest(), run_some(), and start_test().
int RegressionTest::ran_tests = 0 [static] |
Definition at line 80 of file Regression.h.
Definition at line 73 of file Regression.h.
Referenced by check_status(), CCCongestionDBTestCont::mainEvent(), CCFailHistoryTestCont::mainEvent(), RegressionTest(), run_some(), and start_test().