2 #include <dd-deviced.h>
4 static void startup(void);
5 static void cleanup(void);
7 void (*tet_startup)(void) = startup;
8 void (*tet_cleanup)(void) = cleanup;
10 static void utc_SystemFW_deviced_get_apppath_func_01(void);
11 static void utc_SystemFW_deviced_get_apppath_func_02(void);
14 POSITIVE_TC_IDX = 0x01,
18 struct tet_testlist tet_testlist[] = {
19 { utc_SystemFW_deviced_get_apppath_func_01, POSITIVE_TC_IDX },
20 { utc_SystemFW_deviced_get_apppath_func_02, NEGATIVE_TC_IDX },
24 static void startup(void)
28 static void cleanup(void)
33 * @brief Positive test case of deviced_get_apppath()
35 static void utc_SystemFW_deviced_get_apppath_func_01(void)
38 char* app_path[255] = {'\0',};
40 ret_val = deviced_get_apppath(1, app_path, 100);
42 tet_infoline("deviced_get_apppath() failed in positive test case");
50 * @brief Negative test case of ug_init deviced_get_apppath()
52 static void utc_SystemFW_deviced_get_apppath_func_02(void)
55 char* app_path[255] = {'\0',};
59 ret_val = deviced_get_apppath(pid, app_path, 100);
61 tet_infoline("deviced_get_apppath() failed in negative test case");