Mistake on this page?
Report an issue in GitHub or email us
Data Fields
case_t Struct Reference

POD data structure of the Case class. More...

#include <utest_case.h>

Inheritance diagram for case_t:
Case

Data Fields

const char * description
 Textual description of the test case. More...
 
const case_handler_t handler
 Primitive test case handler This is called only if the case setup succeeded. More...
 
const case_control_handler_t control_handler
 
const case_call_count_handler_t repeat_count_handler
 
const case_setup_handler_t setup_handler
 Handler called before the execution of the case handler. More...
 
const case_teardown_handler_t teardown_handler
 Handler called after the execution of the case handler. More...
 
const case_failure_handler_t failure_handler
 Handler called whenever a faillure occur; at any stage of the case execution (including setup and teardown). More...
 

Detailed Description

POD data structure of the Case class.

Unlike the Case class it can be used as a POD and be put in ROM.

Warning
Initialization of handlers with either default_handler or ignore_handler helpers will prevent the object to be a POD. Prefer usage of NULL in favor of ignore_handler or
<handler_type>(1) 
for default handler.
See also
Case.

Definition at line 44 of file utest_case.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.