test case define More...
#include "ZFTestCase.h"
Go to the source code of this file.
Namespaces | |
namespace | ZFGlobalEvent |
Functions | |
zfautoT< ZFTestCase > | ZFTestCaseRun (const ZFClass *cls) |
run a single test case | |
zfautoT< ZFTestCase > | ZFTestCaseRun (const zfstring &classNameFull) |
see ZFTestCaseRun | |
zfidentity | ZFGlobalEvent::E_TestCaseRunAllOnStart (void) |
see ZFObject::observerNotify | |
zfidentity | ZFGlobalEvent::E_TestCaseRunAllOnStop (void) |
see ZFObject::observerNotify | |
void | ZFTestCaseRunAllStart (const ZFCoreArray< const ZFClass * > *toStart=(zft_zfnull)) |
use reflect to start all test cases | |
void | ZFTestCaseRunAllStop () |
stop ZFTestCaseRunAllStart | |
void | ZFTestCaseGetAllT (ZFCoreArray< const ZFClass * > &ret) |
see ZFTestCaseGetAll | |
ZFCoreArray< const ZFClass * > | ZFTestCaseGetAll () |
get all test case currently registered | |
test case define
|
extern |
run a single test case
we would create an instance of the test case and running it
return the test case if success and not stopped immediately
|
extern |
use reflect to start all test cases
first param can be assigned to specify a callback to check whether a test case can be started