#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
static void startup(void)
{
+ char buf[255];
+
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
controlbar = elm_controlbar_add(main_win);
- item1 = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item1 = elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
}
static void cleanup(void)
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
static void startup(void)
{
+ char buf[255];
+
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
controlbar = elm_controlbar_add(main_win);
- item1 = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item1 = elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
}
static void cleanup(void)
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
static void startup(void)
{
+ char buf[255];
+
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
controlbar = elm_controlbar_add(main_win);
- item1 = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item1 = elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
}
static void cleanup(void)
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_item_icon_set_func_01(void)
{
+ char buf[255];
+
Evas_Object *icon = NULL;
- elm_controlbar_item_icon_set(item1, CONTROLBAR_SYSTEM_ICON_SONGS);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ elm_controlbar_item_icon_set(item1, buf);
icon = elm_controlbar_item_icon_get(item1);
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
static void startup(void)
{
+ char buf[255];
+
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
controlbar = elm_controlbar_add(main_win);
- item1 = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item1 = elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
}
static void cleanup(void)
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
static void startup(void)
{
+ char buf[255];
+
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
controlbar = elm_controlbar_add(main_win);
- item1 = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item1 = elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
}
static void cleanup(void)
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
static void startup(void)
{
+ char buf[255];
+
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
controlbar = elm_controlbar_add(main_win);
- item1 = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item1 = elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
}
static void cleanup(void)
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tab_item_append_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_append(controlbar, buf, "Songs", view);
if (!item) {
tet_infoline("elm_controlbar_tab_item_append() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tab_item_append_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tab_item_append(NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_append(NULL, buf, "Songs", view);
if (item) {
tet_infoline("elm_controlbar_tab_item_append() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tab_item_insert_after_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
- item2 = elm_controlbar_tab_item_insert_after(controlbar, item, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_append(controlbar, buf, "Songs", view);
+ item2 = elm_controlbar_tab_item_insert_after(controlbar, item, buf, "Songs", view);
if (!item2) {
tet_infoline("elm_controlbar_tab_item_insert_after() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tab_item_insert_after_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
- item2 = elm_controlbar_tab_item_insert_after(controlbar, NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_append(controlbar, buf, "Songs", view);
+ item2 = elm_controlbar_tab_item_insert_after(controlbar, NULL, buf, "Songs", view);
if (item2) {
tet_infoline("elm_controlbar_tab_item_insert_after() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tab_item_insert_before_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
- item2 = elm_controlbar_tab_item_insert_before(controlbar, item, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_append(controlbar, buf, "Songs", view);
+ item2 = elm_controlbar_tab_item_insert_before(controlbar, item, buf, "Songs", view);
if (!item2) {
tet_infoline("elm_controlbar_tab_item_insert_before() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tab_item_insert_before_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
- item2 = elm_controlbar_tab_item_insert_before(controlbar, NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_append(controlbar, buf, "Songs", view);
+ item2 = elm_controlbar_tab_item_insert_before(controlbar, NULL, buf, "Songs", view);
if (item2) {
tet_infoline("elm_controlbar_tab_item_insert_before() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tab_item_prepend_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tab_item_prepend(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_prepend(controlbar, buf, "Songs", view);
if (!item) {
tet_infoline("elm_controlbar_tab_item_prepend() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tab_item_prepend_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tab_item_prepend(NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tab_item_prepend(NULL, buf, "Songs", view);
if (item) {
tet_infoline("elm_controlbar_tab_item_prepend() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tool_item_append_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tool_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_append(controlbar, buf, "Songs", NULL, NULL);
if (!item) {
tet_infoline("elm_controlbar_tool_item_append() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tool_item_append_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tool_item_append(NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_append(NULL, buf, "Songs", NULL, NULL);
if (item) {
tet_infoline("elm_controlbar_tool_item_append() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tool_item_insert_after_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tool_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
- item2 = elm_controlbar_tool_item_insert_after(controlbar, item, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_append(controlbar, buf, "Songs", NULL, NULL);
+ item2 = elm_controlbar_tool_item_insert_after(controlbar, item, buf, "Songs", NULL, NULL);
if (!item2) {
tet_infoline("elm_controlbar_tool_item_insert_after() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tool_item_insert_after_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tool_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
- item2 = elm_controlbar_tool_item_insert_after(controlbar, NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_append(controlbar, buf, "Songs", NULL, NULL);
+ item2 = elm_controlbar_tool_item_insert_after(controlbar, NULL, buf, "Songs", NULL, NULL);
if (item2) {
tet_infoline("elm_controlbar_tool_item_insert_after() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tool_item_insert_before_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tool_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
- item2 = elm_controlbar_tool_item_insert_before(controlbar, item, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_append(controlbar, buf, "Songs", NULL, NULL);
+ item2 = elm_controlbar_tool_item_insert_before(controlbar, item, buf, "Songs", NULL, NULL);
if (!item2) {
tet_infoline("elm_controlbar_tool_item_insert_before() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tool_item_insert_before_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
Elm_Controlbar_Item *item2 = NULL;
- item = elm_controlbar_tool_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
- item2 = elm_controlbar_tool_item_insert_before(controlbar, NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_append(controlbar, buf, "Songs", NULL, NULL);
+ item2 = elm_controlbar_tool_item_insert_before(controlbar, NULL, buf, "Songs", NULL, NULL);
if (item2) {
tet_infoline("elm_controlbar_tool_item_insert_before() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
*/
static void utc_UIFW_elm_controlbar_tool_item_prepend_func_01(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tool_item_prepend(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_prepend(controlbar, buf, "Songs", NULL, NULL);
if (!item) {
tet_infoline("elm_controlbar_tool_item_prepend() failed in positive test case");
*/
static void utc_UIFW_elm_controlbar_tool_item_prepend_func_02(void)
{
+ char buf[255];
+
Elm_Controlbar_Item *item = NULL;
- item = elm_controlbar_tool_item_prepend(NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", NULL, NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ item = elm_controlbar_tool_item_prepend(NULL, buf, "Songs", NULL, NULL);
if (item) {
tet_infoline("elm_controlbar_tool_item_prepend() failed in negative test case");
#include <tet_api.h>
#include <Elementary.h>
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
static void startup(void)
{
+ char buf[255];
+
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
controlbar = elm_controlbar_add(main_win);
- elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
- elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
- elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
- elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Controlbar", NULL);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
+ elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
+ elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
+ elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
+ elm_controlbar_tab_item_append(controlbar, buf, "Controlbar", NULL);
}
static void cleanup(void)