[efl-upgrade]
[framework/uifw/elementary.git] / TC / elm_ts / template / utc_UIFW_elm_imageslider_add_func.c
1 #include <tet_api.h>
2
3 static void startup(void);
4 static void cleanup(void);
5
6 void (*tet_startup)(void) = startup;
7 void (*tet_cleanup)(void) = cleanup;
8
9 static void utc_UIFW_elm_imageslider_add_func_01(void);
10 static void utc_UIFW_elm_imageslider_add_func_02(void);
11
12 enum {
13         POSITIVE_TC_IDX = 0x01,
14         NEGATIVE_TC_IDX,
15 };
16
17 struct tet_testlist tet_testlist[] = {
18         { utc_UIFW_elm_imageslider_add_func_01, POSITIVE_TC_IDX },
19         { utc_UIFW_elm_imageslider_add_func_02, NEGATIVE_TC_IDX },
20 };
21
22 static void startup(void)
23 {
24 }
25
26 static void cleanup(void)
27 {
28 }
29
30 /**
31  * @brief Positive test case of elm_imageslider_add()
32  */
33 static void utc_UIFW_elm_imageslider_add_func_01(void)
34 {
35         int r = 0;
36
37 /*
38         r = elm_imageslider_add(...);
39 */
40         if (r) {
41                 tet_infoline("elm_imageslider_add() failed in positive test case");
42                 tet_result(TET_FAIL);
43                 return;
44         }
45         tet_result(TET_PASS);
46 }
47
48 /**
49  * @brief Negative test case of ug_init elm_imageslider_add()
50  */
51 static void utc_UIFW_elm_imageslider_add_func_02(void)
52 {
53         int r = 0;
54
55 /*
56         r = elm_imageslider_add(...);
57 */
58         if (r) {
59                 tet_infoline("elm_imageslider_add() failed in negative test case");
60                 tet_result(TET_FAIL);
61                 return;
62         }
63         tet_result(TET_PASS);
64 }