DeleteCircleSelector();
return 0;
}
+
+/**
+* @testcase ITc_eext_rotary_event_activated_object_get_p
+* @since_tizen 5.5
+* @author SRID(j.abhishek)
+* @reviewer SRID(shobhit.v)
+* @type auto
+* @description Get the activated object which can receive the current rotary event
+* @scenario get return object, should be non NULL
+* @apicovered eext_rotary_event_activated_object_get
+* @passcase When eext_rotary_event_activated_object_get is successful.
+* @failcase If target API fails or any precondition API fails
+* @precondition None
+* @postcondition None
+*/
+//& purpose: Get the activated object which can receive the current rotary event
+//& type: auto
+int ITc_eext_rotary_event_activated_object_get_p(void)
+{
+ START_TEST;
+
+ Evas_Object *h_win = NULL;
+ Eext_Circle_Surface *surface = NULL;
+ Evas_Object *pCircle = NULL;
+ Evas_Object *pszActiveObj = NULL;
+ char *pszName = "window";
+
+ h_win = CreateWin(pszName);
+ CHECK_HANDLE(h_win,"CreateWin");
+
+ pCircle = eext_circle_object_slider_add(h_win, surface);
+ CHECK_HANDLE_CLEANUP(pCircle, "eext_circle_object_slider_add", evas_object_del(h_win));
+
+ eext_rotary_object_event_activated_set(pCircle, EINA_TRUE);
+ pszActiveObj = eext_rotary_event_activated_object_get();
+
+ PRINT_RESULT_CLEANUP(pszActiveObj, pCircle, "eext_rotary_event_activated_object_get", "values are not correct", evas_object_del(pCircle); evas_object_del(h_win));
+ evas_object_del(pCircle);
+ evas_object_del(h_win);
+
+ return 0;
+}
+
+/**
+* @testcase ITc_eext_popup_add_p
+* @since_tizen 5.5
+* @author SRID(j.abhishek)
+* @reviewer SRID(shobhit.v)
+* @type auto
+* @description Eext Popup has a circle scroller and the content of Eext Popup
+* is controlled by rotary event.
+* @scenario Creating window and add popup.
+* @apicovered eext_popup_add
+* @passcase eext_popup_add API created popup is not NULL
+* @failcase eext_popup_add API returned NULL or any precondition API fails
+* @precondition None
+* @postcondition None
+*/
+//& purpose: Eext Popup has a circle scroller and the content of Eext Popup is controlled by rotary event
+//& type: auto
+int ITc_eext_popup_add_p(void)
+{
+ START_TEST;
+ Evas_Object *hWindow = NULL;
+ Evas_Object *hPopup = NULL;
+
+ hWindow = CreateWin("window");
+ CHECK_HANDLE(hWindow, "CreateWin");
+
+ // Target API
+ hPopup = eext_popup_add(hWindow);
+ CHECK_HANDLE_CLEANUP(hPopup, "eext_popup_add", evas_object_del(hWindow));
+
+ evas_object_del(hWindow);
+
+ return 0;
+}
#endif //WEARABLE //End WEARABLE
/** @} */
extern int ITc_eext_rotary_selector_item_delete_enabled_set_get_p(void);
extern int ITc_eext_panel_part_content_get_set(void);
extern int ITc_eext_panel_add(void);
-
+extern int ITc_eext_rotary_event_activated_object_get_p(void);
+extern int ITc_eext_popup_add_p(void);
testcase tc_array[] = {
{"ITc_eext_circle_object_scroller_add_p",ITc_eext_circle_object_scroller_add_p,ITs_efl_ext_startup,ITs_efl_ext_cleanup},
{"ITc_eext_rotary_selector_item_delete_enabled_set_get_p",ITc_eext_rotary_selector_item_delete_enabled_set_get_p,ITs_efl_ext_startup,ITs_efl_ext_cleanup},
{"ITc_eext_panel_add",ITc_eext_panel_add,ITs_efl_ext_startup,ITs_efl_ext_cleanup},
{"ITc_eext_panel_part_content_get_set",ITc_eext_panel_part_content_get_set,ITs_efl_ext_startup,ITs_efl_ext_cleanup},
+ {"ITc_eext_rotary_event_activated_object_get_p", ITc_eext_rotary_event_activated_object_get_p, ITs_efl_ext_startup, ITs_efl_ext_cleanup},
+ {"ITc_eext_popup_add_p", ITc_eext_popup_add_p, ITs_efl_ext_startup, ITs_efl_ext_cleanup},
{NULL, NULL}
};