CC ?= gcc
-TARGETS = utc_UIFW_elm_entry_cursor_up_func \
+TARGETS = utc_UIFW_elm_entry_add_func \
+ utc_UIFW_elm_entry_context_menu_disabled_get_func \
+ utc_UIFW_elm_entry_cursor_content_get_func \
utc_UIFW_elm_entry_cursor_down_func \
utc_UIFW_elm_entry_cursor_is_format_get_func \
utc_UIFW_elm_entry_cursor_is_visible_format_get_func \
- utc_UIFW_elm_entry_cursor_content_get_func \
- utc_UIFW_elm_entry_context_menu_disabled_get_func \
+ utc_UIFW_elm_entry_cursor_next_func \
+ utc_UIFW_elm_entry_cursor_prev_func \
+ utc_UIFW_elm_entry_cursor_up_func \
+ utc_UIFW_elm_entry_editable_get_func \
+ utc_UIFW_elm_entry_entry_get_func \
+ utc_UIFW_elm_entry_imf_context_get_func \
utc_UIFW_elm_entry_markup_to_utf8_func \
+ utc_UIFW_elm_entry_password_get_func \
+ utc_UIFW_elm_entry_selection_get_func \
+ utc_UIFW_elm_entry_single_line_get_func \
utc_UIFW_elm_entry_utf8_to_markup_func \
- utc_UIFW_elm_entry_imf_context_get_func
+ utc_UIFW_elm_entry_wrap_width_get_func
-PKGS = elementary
+PKGS = elementary evas
LDFLAGS = `pkg-config --libs $(PKGS)`
LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
all: $(TARGETS)
$(TARGET): %: %.c
- $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+ $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
clean:
rm -f $(TARGETS)
+++ /dev/null
-CC ?= gcc
-
-TARGETS = utc_UIFW_elm_scrolled_entry_add_func \
- utc_UIFW_elm_scrolled_entry_autocapitalization_set_func \
- utc_UIFW_elm_scrolled_entry_autoperiod_set_func \
- utc_UIFW_elm_scrolled_entry_bounce_set_func \
- utc_UIFW_elm_scrolled_entry_context_menu_clear_func \
- utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func \
- utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func \
- utc_UIFW_elm_scrolled_entry_context_menu_item_add_func \
- utc_UIFW_elm_scrolled_entry_cursor_begin_set_func \
- utc_UIFW_elm_scrolled_entry_cursor_content_get_func \
- utc_UIFW_elm_scrolled_entry_cursor_down_func \
- utc_UIFW_elm_scrolled_entry_cursor_end_set_func \
- utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func \
- utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func \
- utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func \
- utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func \
- utc_UIFW_elm_scrolled_entry_cursor_next_func \
- utc_UIFW_elm_scrolled_entry_cursor_prev_func \
- utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func \
- utc_UIFW_elm_scrolled_entry_cursor_selection_end_func \
- utc_UIFW_elm_scrolled_entry_cursor_up_func \
- utc_UIFW_elm_scrolled_entry_editable_get_func \
- utc_UIFW_elm_scrolled_entry_editable_set_func \
- utc_UIFW_elm_scrolled_entry_entry_get_func \
- utc_UIFW_elm_scrolled_entry_entry_insert_func \
- utc_UIFW_elm_scrolled_entry_entry_set_func \
- utc_UIFW_elm_scrolled_entry_imf_context_get_func \
- utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func \
- utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func \
- utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func \
- utc_UIFW_elm_scrolled_entry_line_wrap_set_func \
- utc_UIFW_elm_scrolled_entry_password_get_func \
- utc_UIFW_elm_scrolled_entry_password_set_func \
- utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func \
- utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func \
- utc_UIFW_elm_scrolled_entry_select_all_func \
- utc_UIFW_elm_scrolled_entry_select_none_func \
- utc_UIFW_elm_scrolled_entry_selection_copy_func \
- utc_UIFW_elm_scrolled_entry_selection_cut_func \
- utc_UIFW_elm_scrolled_entry_selection_get_func \
- utc_UIFW_elm_scrolled_entry_selection_paste_func \
- utc_UIFW_elm_scrolled_entry_single_line_get_func \
- utc_UIFW_elm_scrolled_entry_single_line_set_func
-
-PKGS = elementary
-
-LDFLAGS = `pkg-config --libs $(PKGS)`
-LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
-LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
-LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
-
-CFLAGS = -I. `pkg-config --cflags $(PKGS)`
-CFLAGS += -I$(TET_ROOT)/inc/tet3
-CFLAGS += -Wall
-
-all: $(TARGETS)
-
-$(TARGET): %: %.c
- $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
-
-clean:
- rm -f $(TARGETS)
- rm -f tet_captured
- rm -f *~
+++ /dev/null
-#!/bin/sh
-
-TMPSTR=$0
-SCRIPT=${TMPSTR##*/}
-
-if [ $# -lt 3 ]; then
- echo "Usage) $SCRIPT module_name winset_name api_name"
- exit 1
-fi
-
-MODULE=$1
-WINSET=$2
-API=$3
-TEMPLATE=utc_MODULE_API_func.c.in
-TESTCASE=utc_${MODULE}_${API}_func
-
-sed -e '
- s^@API@^'"$API"'^g
- s^@MODULE@^'"$MODULE"'^g
- ' $TEMPLATE > $TESTCASE.c
-
-if [ ! -e "$TESTCASE.c" ]; then
- echo "Failed"
- exit 1
-fi
-
-echo "/elm_ts/$WINSET/$TESTCASE" >> tslist
-
-echo "Testcase file is $TESTCASE.c"
-echo "$TESTCASE is added to tslist"
-echo "Done"
-echo "please put \"$TESTCASE\" as Target in Makefile"
+++ /dev/null
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_add_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_autocapitalization_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_autoperiod_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_bounce_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_context_menu_clear_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_context_menu_item_add_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_begin_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_content_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_down_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_end_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_next_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_prev_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_selection_end_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_up_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_insert_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_imf_context_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_wrap_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_all_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_none_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_copy_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_cut_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_paste_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_get_func
-/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_set_func
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_@MODULE@_@API@_func_01(void);
-static void utc_@MODULE@_@API@_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_@MODULE@_@API@_func_01, POSITIVE_TC_IDX },
- { utc_@MODULE@_@API@_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of @API@()
- */
-static void utc_@MODULE@_@API@_func_01(void)
-{
- int r = 0;
-
-/*
- r = @API@(...);
-*/
- if (!r) {
- tet_infoline("@API@() failed in positive test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init @API@()
- */
-static void utc_@MODULE@_@API@_func_02(void)
-{
- int r = 0;
-
-/*
- r = @API@(...);
-*/
- if (r) {
- tet_infoline("@API@() failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_add_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_add_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_add_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_add_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_add()
- */
-static void utc_UIFW_elm_scrolled_entry_add_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- TET_CHECK_PASS(NULL, test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, An Scrolled entry is added successfully.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_add()
- */
-static void utc_UIFW_elm_scrolled_entry_add_func_02(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(NULL);
- TET_CHECK_FAIL(NULL, test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Adding an Scrolled entry has failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_autocapitalization_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_autocapitalization_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_autocapitalization_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_autocapitalization_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_autocapitalization_set()
- */
-static void utc_UIFW_elm_scrolled_entry_autocapitalization_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_autocapitalization_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting a flag of autocapitalization at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_autocapitalization_set()
- */
-static void utc_UIFW_elm_scrolled_entry_autocapitalization_set_func_02(void)
-{
- elm_scrolled_entry_autocapitalization_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting a flag of autocapitalization at currently shown in scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_autoperiod_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_autoperiod_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_autoperiod_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_autoperiod_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_autoperiod_set()
- */
-static void utc_UIFW_elm_scrolled_entry_autoperiod_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_entry_set(test_en, "This is test entry");
-
- elm_scrolled_entry_autoperiod_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting a flag of autoperiod at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_autoperiod_set()
- */
-static void utc_UIFW_elm_scrolled_entry_autoperiod_set_func_02(void)
-{
- elm_scrolled_entry_autoperiod_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting a flag of autoperiod at currently shown in scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_bounce_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_bounce_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_bounce_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_bounce_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_bounce_set()
- */
-static void utc_UIFW_elm_scrolled_entry_bounce_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_bounce_set(test_en, EINA_TRUE, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting a flag of bouncing at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_bounce_set()
- */
-static void utc_UIFW_elm_scrolled_entry_bounce_set_func_02(void)
-{
- elm_scrolled_entry_bounce_set(NULL, EINA_TRUE, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting a flag of bouncing at currently shown is scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_context_menu_clear_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_context_menu_clear_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_context_menu_clear_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_context_menu_clear_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_context_menu_clear()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_clear_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // void
- elm_scrolled_entry_context_menu_clear(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Clearing context menu of currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_context_menu_clear()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_clear_func_02(void)
-{
- elm_scrolled_entry_context_menu_clear(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Clearing context menu of currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_context_menu_disabled_get()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_context_menu_disabled_set(test_en, EINA_TRUE);
- Eina_Bool r = elm_scrolled_entry_context_menu_disabled_get(test_en);
- TET_CHECK_PASS(EINA_FALSE, r);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting a flag of context menu status at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_context_menu_disabled_get()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_get_func_02(void)
-{
- Eina_Bool r = elm_scrolled_entry_context_menu_disabled_get(NULL);
- TET_CHECK_FAIL(EINA_FALSE, r);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting a flag of context menu status at currently shown is scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_context_menu_disabled_set()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_context_menu_disabled_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Disable the context menu at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_context_menu_disabled_set()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_disabled_set_func_02(void)
-{
- elm_scrolled_entry_context_menu_disabled_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Disable the context menu at currently shown is scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_context_menu_item_add_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_context_menu_item_add_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_context_menu_item_add_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_context_menu_item_add_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_context_menu_item_add()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_item_add_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_context_menu_item_add(test_en, "Menu", NULL, ELM_ICON_NONE, NULL, NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Adding a context menu item to currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_context_menu_item_add()
- */
-static void utc_UIFW_elm_scrolled_entry_context_menu_item_add_func_02(void)
-{
- elm_scrolled_entry_context_menu_item_add(NULL, "Menu", NULL, ELM_ICON_NONE, NULL, NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Adding a context menu item to currently shown is scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_begin_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
-
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_begin_set(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the beginning of the scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_begin_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_02(void)
-{
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_begin_set(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the beginning of the scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_content_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_content_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_content_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_content_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_content_get()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_content_get_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_entry_set(test_en, "This is test entry");
-
- const char *s = elm_scrolled_entry_cursor_content_get(test_en);
- TET_CHECK_PASS(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the text in cursor position currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_content_get()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_content_get_func_02(void)
-{
- const char *s = elm_scrolled_entry_cursor_content_get(NULL);
- TET_CHECK_FAIL(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting the text in cursor position currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_down_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_down_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_down_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_down_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_down()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_down_func_01(void)
-{
- Eina_Bool result;
-
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is a<br> test scrolled entry");
- elm_scrolled_entry_cursor_begin_set(test_en);
-
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_down(test_en);
-
- if (result == EINA_TRUE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor one line down within the entry had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor one line down within the entry had failed.");
- }
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_down()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_down_func_02(void)
-{
- Eina_Bool result;
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_down(NULL);
-
- if (result == EINA_FALSE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor one line down within the entry had failed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negetive, [RESULT]:FAIL, Error occurs while moving the cursor one line down within the entry.");
- }
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_end_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_end_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_end_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_end_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_end_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_end_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
-
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_end_set(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the end of the scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_end_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_end_set_func_02(void)
-{
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_end_set(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the end of the scrolled entry had failed.");
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_is_format_get()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- Eina_Bool r = elm_scrolled_entry_cursor_is_format_get(test_en);
- elm_scrolled_entry_entry_set(test_en, "<br>");
- TET_CHECK_PASS(EINA_FALSE, r);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting a flag of cursor is format at currently shown scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_is_format_get()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_is_format_get_func_02(void)
-{
- Eina_Bool r = elm_scrolled_entry_cursor_is_format_get(NULL);
- TET_CHECK_FAIL(EINA_FALSE, r);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting a flag of cursor is format at currently shown scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_is_visible_format_get()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- Eina_Bool r = elm_scrolled_entry_cursor_is_visible_format_get(test_en);
- elm_scrolled_entry_entry_set(test_en, "<br>");
- TET_CHECK_PASS(EINA_FALSE, r);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting a flag of cursor is visible at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_is_visible_format_get()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_is_visible_format_get_func_02(void)
-{
- Eina_Bool r = elm_scrolled_entry_cursor_is_visible_format_get(NULL);
- TET_CHECK_FAIL(EINA_FALSE, r);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting a flag of cursor is visible at shown scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_line_begin_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
- elm_scrolled_entry_cursor_begin_set(test_en);
- elm_scrolled_entry_cursor_line_end_set(test_en);
-
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_line_begin_set(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the beginning of the current line had succeed.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_line_begin_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_02(void)
-{
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_line_begin_set(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the beginning of the current line had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_line_end_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
- elm_scrolled_entry_cursor_begin_set(test_en);
- elm_scrolled_entry_cursor_line_begin_set(test_en);
-
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_line_end_set(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the end of the current line had succeed.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_line_end_set()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_02(void)
-{
- // Current return type of this API is "void"
- elm_scrolled_entry_cursor_line_end_set(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the end of the current line had failed.");
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_next_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_next_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_next_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_next_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_next()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_next_func_01(void)
-{
- Eina_Bool result;
-
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is a test scrolled entry");
- elm_scrolled_entry_cursor_begin_set(test_en);
-
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_next(test_en);
-
- if (result == EINA_TRUE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor on place to the right within the entry had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor on place to the right within the entry had failed.");
- }
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_next()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_next_func_02(void)
-{
- Eina_Bool result;
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_next(NULL);
-
- if (result == EINA_FALSE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor on place to the right within the entry had failed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negetive, [RESULT]:FAIL, Error occurs while moving the cursor on place to the right within the entry.");
- }
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_prev_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_prev_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_prev_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_prev_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_prev()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_prev_func_01(void)
-{
- Eina_Bool result;
-
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is a test scrolled entry");
- elm_scrolled_entry_cursor_end_set(test_en);
-
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_prev(test_en);
-
- if (result == EINA_TRUE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor on place to the left within the entry had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor on place to the left within the entry had failed.");
- }
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_prev()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_prev_func_02(void)
-{
- Eina_Bool result;
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_prev(NULL);
-
- if (result == EINA_FALSE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor on place to the left within the entry had failed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while moving the cursor on place to the left within the entry.");
- }
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_selection_begin()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // void
- elm_scrolled_entry_cursor_selection_begin(test_en);
- tet_result(TET_PASS);
-
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, set cursor selection at begin in shown scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_selection_begin()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_begin_func_02(void)
-{
- elm_scrolled_entry_cursor_selection_begin(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, set cursor selection at begin in shown scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_end_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_end_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_selection_end_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_selection_end_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_selection_end()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_end_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // void
- elm_scrolled_entry_cursor_selection_end(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, set cursor selection at end in shown scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_selection_end()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_selection_end_func_02(void)
-{
- elm_scrolled_entry_cursor_selection_end(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, set cursor selection at end in shown scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_cursor_up_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_cursor_up_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_cursor_up_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_cursor_up_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_cursor_up()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_up_func_01(void)
-{
- Eina_Bool result;
-
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is a <br>test scrolled entry");
- elm_scrolled_entry_cursor_end_set(test_en);
-
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_up(test_en);
-
- if (result == EINA_TRUE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor one line up within the entry had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor one line up within the entry had failed.");
- }
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_cursor_up()
- */
-static void utc_UIFW_elm_scrolled_entry_cursor_up_func_02(void)
-{
- Eina_Bool result;
- // Current return type of this API is "void"
- result = elm_scrolled_entry_cursor_up(NULL);
-
- if (result == EINA_FALSE)
- {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor one line up within the entry had failed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while moving the cursor one line up within the entry.");
-
- }
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_editable_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_editable_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_editable_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_editable_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_editable_get()
- */
-static void utc_UIFW_elm_scrolled_entry_editable_get_func_01(void)
-{
- Eina_Bool result;
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_editable_set(test_en, EINA_TRUE);
- result = elm_scrolled_entry_editable_get(test_en);
-
- if (result == EINA_TRUE) {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the editable attribute of the scrolled entry had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Getting the editable attribute of the scrolled entry had failed.");
- }
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_editable_get()
- */
-static void utc_UIFW_elm_scrolled_entry_editable_get_func_02(void)
-{
- Eina_Bool result;
-
- result = elm_scrolled_entry_editable_get(NULL);
-
- if (result == EINA_FALSE) {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the editable attribute of the scrolled entry had failed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Error occurs while getting the editable attribute of the scrolled entry.");
- }
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_editable_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_editable_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_editable_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_editable_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_editable_set()
- */
-static void utc_UIFW_elm_scrolled_entry_editable_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // Current return type of this API is "void".
- elm_scrolled_entry_editable_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the editable attribute of the scrolled entry had succeed.");
-
-
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_editable_set()
- */
-static void utc_UIFW_elm_scrolled_entry_editable_set_func_02(void)
-{
- // Current return type of this API is "void".
- elm_scrolled_entry_editable_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the editable attribute of the scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_entry_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_entry_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_entry_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_entry_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_entry_get()
- */
-static void utc_UIFW_elm_scrolled_entry_entry_get_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_entry_set(test_en, "This is test entry");
-
- const char *s = elm_scrolled_entry_entry_get(test_en);
- TET_CHECK_PASS(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the text currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_entry_get()
- */
-static void utc_UIFW_elm_scrolled_entry_entry_get_func_02(void)
-{
- const char *s = elm_scrolled_entry_entry_get(NULL);
- TET_CHECK_FAIL(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting the text currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_entry_insert_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_entry_insert_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_entry_insert_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_entry_insert_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_entry_insert()
- */
-static void utc_UIFW_elm_scrolled_entry_entry_insert_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
-
- // Current return type of this API is "void".
- elm_scrolled_entry_entry_insert(test_en, "Insert some <b>BOLD</b> text");
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Inserting text at the beginning of the scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_entry_insert()
- */
-static void utc_UIFW_elm_scrolled_entry_entry_insert_func_02(void)
-{
- // Current return type of this API is "void"
- elm_scrolled_entry_entry_insert(NULL, "This is negative test case");
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Inserting test at the beginning of the scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_entry_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_entry_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_entry_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_entry_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_entry_set()
- */
-static void utc_UIFW_elm_scrolled_entry_entry_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // Current return type of this API is "void".
- elm_scrolled_entry_entry_set(test_en, "This is the test entry");
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the text displaed within the scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_entry_set()
- */
-static void utc_UIFW_elm_scrolled_entry_entry_set_func_02(void)
-{
- // Current return type of this API is "void"
- elm_scrolled_entry_entry_set(NULL, "This is Negative test case");
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the text displayed within the scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_imf_context_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_imf_context_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_imf_context_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_imf_context_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_imf_context_get()
- */
-static void utc_UIFW_elm_scrolled_entry_imf_context_get_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- Ecore_IMF_Context *s = NULL;
- s = elm_scrolled_entry_imf_context_get(test_en);
- TET_CHECK_PASS(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the imf context currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_imf_context_get()
- */
-static void utc_UIFW_elm_scrolled_entry_imf_context_get_func_02(void)
-{
- Ecore_IMF_Context *s = NULL;
- s = elm_scrolled_entry_imf_context_get(NULL);
- TET_CHECK_FAIL(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting the imf context currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_input_panel_enabled_set()
- */
-static void utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // void
- elm_scrolled_entry_input_panel_enabled_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting a flag of input panel enabled at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_input_panel_enabled_set()
- */
-static void utc_UIFW_elm_scrolled_entry_input_panel_enabled_set_func_02(void)
-{
- elm_scrolled_entry_input_panel_enabled_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting a flag of input panel enabled at currently shown is scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_input_panel_layout_set()
- */
-static void utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_input_panel_layout_set(test_en, ELM_INPUT_PANEL_LAYOUT_NORMAL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the type of input panel layout at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_input_panel_layout_set()
- */
-static void utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func_02(void)
-{
- elm_scrolled_entry_input_panel_layout_set(NULL, ELM_INPUT_PANEL_LAYOUT_NORMAL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the type of input panel layout at currently shown is scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_line_char_wrap_set()
- */
-static void utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // Current return type of this API is "void".
- elm_scrolled_entry_line_char_wrap_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Enabling character line wrapping in the scrolled entry object had succeed.");
-
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_line_char_wrap_set()
- */
-static void utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_02(void)
-{
- // Current return type of this API is "void".
- elm_scrolled_entry_line_char_wrap_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Enabling character line wrapping in the scrolled entry object had succeed.");
-
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_line_wrap_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_line_wrap_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_line_wrap_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_line_wrap_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_line_wrap_set()
- */
-static void utc_UIFW_elm_scrolled_entry_line_wrap_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // Current return type of this API is "void"
- elm_scrolled_entry_line_wrap_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Enabling word line wrapping in the scrolled entry object had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_line_wrap_set()
- */
-static void utc_UIFW_elm_scrolled_entry_line_wrap_set_func_02(void)
-{
- // Current return type of this API is "void"
- elm_scrolled_entry_line_wrap_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Enabling word line wrapping in the scrolled entry object had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_password_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_password_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_password_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_password_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_password_get()
- */
-static void utc_UIFW_elm_scrolled_entry_password_get_func_01(void)
-{
- Eina_Bool result;
-
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_password_set(test_en, EINA_TRUE);
-
- result = elm_scrolled_entry_password_get(test_en);
-
- if ( result == EINA_TRUE) {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the status that the scrolled entry is on password mode had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Getting the status that the scrolled entry is on password mode had failed.");
-
- }
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_password_get()
- */
-static void utc_UIFW_elm_scrolled_entry_password_get_func_02(void)
-{
- Eina_Bool result;
-
- result = elm_scrolled_entry_password_get(NULL);
-
- if ( result == EINA_FALSE) {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, In case that the scrolled entry is NULL, this API should return FALSE.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while getting the status that the scrolled entry is on password mode.");
- }
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_password_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_password_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_password_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_password_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_password_set()
- */
-static void utc_UIFW_elm_scrolled_entry_password_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // Current return type of this API is "void".
- elm_scrolled_entry_password_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the scrolled entry object to password mode had succeed.");
-
-}
-
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_password_set()
- */
-static void utc_UIFW_elm_scrolled_entry_password_set_func_02(void)
-{
- // Current return type of this API is "void".
- elm_scrolled_entry_password_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the scrolled entry object to password mode had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_password_show_last_character_set()
- */
-static void utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- //void
- elm_scrolled_entry_password_show_last_character_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the flag of last character showing at currently shown in scrolled entry is succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_password_show_last_character_set()
- */
-static void utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func_02(void)
-{
- elm_scrolled_entry_password_show_last_character_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the flag of last character showing at currently shown is scrolled entry is failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_scrollbar_policy_set()
- */
-static void utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // void
- elm_scrolled_entry_scrollbar_policy_set(test_en, EINA_TRUE, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the scrolling policy of currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_scrollbar_policy_set()
- */
-static void utc_UIFW_elm_scrolled_entry_scrollbar_policy_set_func_02(void)
-{
- elm_scrolled_entry_scrollbar_policy_set(NULL, EINA_TRUE, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the scrolling policy of currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_select_all_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_select_all_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_select_all_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_select_all_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_select_all()
- */
-static void utc_UIFW_elm_scrolled_entry_select_all_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
-
- // Current return type of this API is "void".
- elm_scrolled_entry_select_all(test_en);
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Selecting all text within the scrolled entry had succeed.");
-
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_select_all()
- */
-static void utc_UIFW_elm_scrolled_entry_select_all_func_02(void)
-{
- // Current return type of this API is "void".
- elm_scrolled_entry_select_all(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Selecting all text within the scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_select_none_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_select_none_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_select_none_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_select_none_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_select_none()
- */
-static void utc_UIFW_elm_scrolled_entry_select_none_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
- elm_scrolled_entry_select_all(test_en);
-
- // Current return type of this API is "void".
- elm_scrolled_entry_select_none(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Dropping any existing test selection within the scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_select_none()
- */
-static void utc_UIFW_elm_scrolled_entry_select_none_func_02(void)
-{
- // Current return type of this API is "void".
- elm_scrolled_entry_select_none(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Negative, [RESULT]:PASS, Dropping any existing test selection within the scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_selection_copy_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_selection_copy_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_selection_copy_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_selection_copy_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_selection_copy()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_copy_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_entry_set(test_en, "This is test entry");
-
- // void
- elm_scrolled_entry_selection_copy(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Copying selection of the text currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_selection_copy()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_copy_func_02(void)
-{
- elm_scrolled_entry_selection_copy(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Copying selection of the text currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_selection_cut_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_selection_cut_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_selection_cut_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_selection_cut_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_selection_cut()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_cut_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_entry_set(test_en, "This is test entry");
-
- // void
- elm_scrolled_entry_selection_cut(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Cutting selection of the text currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_selection_cut()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_cut_func_02(void)
-{
- elm_scrolled_entry_selection_cut(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Cutting selection of the text currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_selection_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_selection_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_selection_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_selection_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_selection_get()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_get_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
- elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
- elm_scrolled_entry_select_all(test_en);
-
- const char *s = elm_scrolled_entry_selection_get(test_en);
- TET_CHECK_PASS(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting all selected text within scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_selection_get()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_get_func_02(void)
-{
- const char *s = elm_scrolled_entry_selection_get(NULL);
- TET_CHECK_FAIL(NULL, s);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting all selected text within scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- const char *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- const char *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_selection_paste_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_selection_paste_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_selection_paste_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_selection_paste_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_selection_paste()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_paste_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_entry_set(test_en, "This is test entry");
-
- // void
- elm_scrolled_entry_selection_paste(test_en);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Pasting selection of the text currently shown in scrolled entry had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_selection_paste()
- */
-static void utc_UIFW_elm_scrolled_entry_selection_paste_func_02(void)
-{
- elm_scrolled_entry_selection_paste(NULL);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Pasting selection of the text currently shown is scrolled entry had failed.");
-
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_single_line_get_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_single_line_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_single_line_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_single_line_get_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_single_line_get()
- */
-static void utc_UIFW_elm_scrolled_entry_single_line_get_func_01(void)
-{
- Eina_Bool result;
-
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- elm_scrolled_entry_single_line_set(test_en, EINA_TRUE);
- result = elm_scrolled_entry_single_line_get(test_en);
-
- if (result == EINA_TRUE) {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the status that the scrolled entry has been set to single line mode had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Error occurs while getting the status that the scrolled entry has been set to single line mode.");
- }
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_single_line_get()
- */
-static void utc_UIFW_elm_scrolled_entry_single_line_get_func_02(void)
-{
- Eina_Bool result;
-
- result = elm_scrolled_entry_single_line_get(NULL);
-
- if (result == EINA_FALSE) {
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting the status that the scrolled entry has been set to single line mode had succeed.");
- } else {
- tet_result(TET_FAIL);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while getting the status that the scrolled entry has been set to single line mode.");
- }
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-
-Evas_Object *main_win;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_scrolled_entry_single_line_set_func_01(void);
-static void utc_UIFW_elm_scrolled_entry_single_line_set_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_scrolled_entry_single_line_set_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_scrolled_entry_single_line_set_func_02, NEGATIVE_TC_IDX },
- { NULL, 0 }
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
- elm_init(0, NULL);
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- evas_object_show(main_win);
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_scrolled_entry_single_line_set()
- */
-static void utc_UIFW_elm_scrolled_entry_single_line_set_func_01(void)
-{
- Evas_Object *test_en = elm_scrolled_entry_add(main_win);
-
- // Current return type of this target API is "Void".
- elm_scrolled_entry_single_line_set(test_en, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the scrolled entry object not to line wrap had succeed.");
-
-}
-
-/**
- * @brief Negative test case of ug_init elm_scrolled_entry_single_line_set()
- */
-static void utc_UIFW_elm_scrolled_entry_single_line_set_func_02(void)
-{
- // Current return type of this target API is "Void".
- elm_scrolled_entry_single_line_set(NULL, EINA_TRUE);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the scrolled entry object no to line wrap had failed.");
-
-}