308d53967c843a574c833780a8cf4ab0c1b6a6d8
[platform/core/uifw/dali-core.git] / automated-tests / src / common / testcase.h
1 #ifndef TESTCASE_H
2 #define TESTCASE_H
3
4 /* pointer to startup/cleanup functions */
5 typedef void (*void_fun_ptr)(void);
6
7 /* pointer to testcase functions */
8 typedef int (*tc_fun_ptr)(void);
9
10 /* struct describing specific testcase */
11 typedef struct testcase_s {
12     const char* name;
13     tc_fun_ptr function;
14     void_fun_ptr startup;
15     void_fun_ptr cleanup;
16 } testcase;
17
18 #endif // TESTCASE_H