此时test case的设置:
Initialisation code:
/*
* Test case initialisation code will be placed here
* Variables declared in this section do not have global scope
* Some compilers may not allow declarations here
*/
/* Uncomment the function call below to call the file-based test case initialisation code
* This function can perform common test case initialisation for multiple test cases
* ldra_qq_file_tc_init_code ();
*/
ldra_qq_quiet_stubs=1;
pclient = &nobo::infra::em::EMClient::getInstance(nobo::infra::em::FG_IPC);
pclient->init(testPrint);
Global Declarations:
/*
* Test case global declaration code will be placed here
* Variables declared in this section are at global scope
*/
nobo::infra::em::EMClient* pclient;
void testPrint(int level, const char *format, ...){
va_list arg;
va_start(arg, format);
vprintf(format, arg);
va_end(arg);
}
|