summaryrefslogtreecommitdiff
path: root/legacy/elementary
diff options
context:
space:
mode:
authorZbigniew Kosinski <z.kosinski@samsung.com>2014-06-11 11:07:15 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-06-11 11:07:16 +0900
commit9ce23f0004d7c4b9f0755512327aa138c30dffb3 (patch)
treec5c1b2d81d75fe499f5762a8ab5c40fdc967edd9 /legacy/elementary
parentdccab720a79e0bb5b983e999fbf88af7c2e7358b (diff)
atspi:Set roles for widgets
Reviewers: stanluk, m.jagiello, raster Differential Revision: https://phab.enlightenment.org/D930
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elc_ctxpopup.c7
-rw-r--r--legacy/elementary/src/lib/elc_fileselector.c7
-rw-r--r--legacy/elementary/src/lib/elc_fileselector_button.c7
-rw-r--r--legacy/elementary/src/lib/elc_fileselector_entry.c8
-rw-r--r--legacy/elementary/src/lib/elc_hoversel.c8
-rw-r--r--legacy/elementary/src/lib/elc_multibuttonentry.c7
-rw-r--r--legacy/elementary/src/lib/elc_naviframe.c7
-rw-r--r--legacy/elementary/src/lib/elc_player.c7
-rw-r--r--legacy/elementary/src/lib/elc_popup.c7
-rw-r--r--legacy/elementary/src/lib/elm_actionslider.c7
-rw-r--r--legacy/elementary/src/lib/elm_bg.c8
-rw-r--r--legacy/elementary/src/lib/elm_box.c7
-rw-r--r--legacy/elementary/src/lib/elm_bubble.c7
-rw-r--r--legacy/elementary/src/lib/elm_button.c7
-rw-r--r--legacy/elementary/src/lib/elm_calendar.c7
-rw-r--r--legacy/elementary/src/lib/elm_check.c8
-rw-r--r--legacy/elementary/src/lib/elm_clock.c7
-rw-r--r--legacy/elementary/src/lib/elm_colorselector.c7
-rw-r--r--legacy/elementary/src/lib/elm_conform.c7
-rw-r--r--legacy/elementary/src/lib/elm_datetime.c7
-rw-r--r--legacy/elementary/src/lib/elm_dayselector.c7
-rw-r--r--legacy/elementary/src/lib/elm_diskselector.c7
-rw-r--r--legacy/elementary/src/lib/elm_entry.c2
-rw-r--r--legacy/elementary/src/lib/elm_flip.c7
-rw-r--r--legacy/elementary/src/lib/elm_flipselector.c8
-rw-r--r--legacy/elementary/src/lib/elm_frame.c7
-rw-r--r--legacy/elementary/src/lib/elm_gengrid.c7
-rw-r--r--legacy/elementary/src/lib/elm_genlist.c7
-rw-r--r--legacy/elementary/src/lib/elm_glview.c7
-rw-r--r--legacy/elementary/src/lib/elm_grid.c8
-rw-r--r--legacy/elementary/src/lib/elm_hover.c7
-rw-r--r--legacy/elementary/src/lib/elm_icon.c7
-rw-r--r--legacy/elementary/src/lib/elm_image.c7
-rw-r--r--legacy/elementary/src/lib/elm_index.c7
-rw-r--r--legacy/elementary/src/lib/elm_inwin.c8
-rw-r--r--legacy/elementary/src/lib/elm_label.c7
-rw-r--r--legacy/elementary/src/lib/elm_layout.c7
-rw-r--r--legacy/elementary/src/lib/elm_list.c7
-rw-r--r--legacy/elementary/src/lib/elm_map.c7
-rw-r--r--legacy/elementary/src/lib/elm_mapbuf.c7
-rw-r--r--legacy/elementary/src/lib/elm_menu.c7
-rw-r--r--legacy/elementary/src/lib/elm_notify.c7
-rw-r--r--legacy/elementary/src/lib/elm_panel.c7
-rw-r--r--legacy/elementary/src/lib/elm_panes.c7
-rw-r--r--legacy/elementary/src/lib/elm_photo.c7
-rw-r--r--legacy/elementary/src/lib/elm_photocam.c7
-rw-r--r--legacy/elementary/src/lib/elm_plug.c7
-rw-r--r--legacy/elementary/src/lib/elm_prefs.c7
-rw-r--r--legacy/elementary/src/lib/elm_progressbar.c7
-rw-r--r--legacy/elementary/src/lib/elm_radio.c7
-rw-r--r--legacy/elementary/src/lib/elm_scroller.c7
-rw-r--r--legacy/elementary/src/lib/elm_segment_control.c7
-rw-r--r--legacy/elementary/src/lib/elm_separator.c7
-rw-r--r--legacy/elementary/src/lib/elm_slider.c7
-rw-r--r--legacy/elementary/src/lib/elm_slideshow.c7
-rw-r--r--legacy/elementary/src/lib/elm_spinner.c7
-rw-r--r--legacy/elementary/src/lib/elm_table.c7
-rw-r--r--legacy/elementary/src/lib/elm_thumb.c7
-rw-r--r--legacy/elementary/src/lib/elm_toolbar.c7
-rw-r--r--legacy/elementary/src/lib/elm_video.c7
-rw-r--r--legacy/elementary/src/lib/elm_web.c7
-rw-r--r--legacy/elementary/src/tests/Makefile.am60
-rw-r--r--legacy/elementary/src/tests/elm_suite.c58
-rw-r--r--legacy/elementary/src/tests/elm_suite.h58
-rw-r--r--legacy/elementary/src/tests/elm_test_actionslider.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_bg.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_box.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_bubble.c34
-rw-r--r--legacy/elementary/src/tests/elm_test_button.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_calendar.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_check.c22
-rw-r--r--legacy/elementary/src/tests/elm_test_clock.c34
-rw-r--r--legacy/elementary/src/tests/elm_test_colorselector.c22
-rw-r--r--legacy/elementary/src/tests/elm_test_conformant.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_ctxpopup.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_datetime.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_dayselector.c34
-rw-r--r--legacy/elementary/src/tests/elm_test_diskselector.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_entry.c23
-rw-r--r--legacy/elementary/src/tests/elm_test_fileselector.c34
-rw-r--r--legacy/elementary/src/tests/elm_test_fileselector_button.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_fileselector_entry.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_flip.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_flipselector.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_frame.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_gengrid.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_genlist.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_glview.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_grid.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_hover.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_hoversel.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_icon.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_image.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_index.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_inwin.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_label.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_layout.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_list.c22
-rw-r--r--legacy/elementary/src/tests/elm_test_map.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_mapbuf.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_menu.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_multibuttonentry.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_naviframe.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_notify.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_panel.c34
-rw-r--r--legacy/elementary/src/tests/elm_test_panes.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_photo.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_photocam.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_player.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_plug.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_popup.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_prefs.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_progressbar.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_radio.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_scroller.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_segmentcontrol.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_separator.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_slider.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_slideshow.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_spinner.c34
-rw-r--r--legacy/elementary/src/tests/elm_test_table.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_thumb.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_toolbar.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_video.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_web.c33
-rw-r--r--legacy/elementary/src/tests/elm_test_win.c32
126 files changed, 2550 insertions, 63 deletions
diff --git a/legacy/elementary/src/lib/elc_ctxpopup.c b/legacy/elementary/src/lib/elc_ctxpopup.c
index aadfee7c6f..9278dcbfae 100644
--- a/legacy/elementary/src/lib/elc_ctxpopup.c
+++ b/legacy/elementary/src/lib/elc_ctxpopup.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_ctxpopup.h" 8#include "elm_widget_ctxpopup.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_CTXPOPUP_CLASS 14#define MY_CLASS ELM_CTXPOPUP_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Ctxpopup" 16#define MY_CLASS_NAME "Elm_Ctxpopup"
@@ -1172,7 +1176,8 @@ _elm_ctxpopup_eo_base_constructor(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED)
1172 eo_do_super(obj, MY_CLASS, eo_constructor()); 1176 eo_do_super(obj, MY_CLASS, eo_constructor());
1173 eo_do(obj, 1177 eo_do(obj,
1174 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1178 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1175 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1179 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1180 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_POPUP_MENU));
1176} 1181}
1177 1182
1178EOLIAN static void 1183EOLIAN static void
diff --git a/legacy/elementary/src/lib/elc_fileselector.c b/legacy/elementary/src/lib/elc_fileselector.c
index d09cfc00af..0f6903c95a 100644
--- a/legacy/elementary/src/lib/elc_fileselector.c
+++ b/legacy/elementary/src/lib/elc_fileselector.c
@@ -14,6 +14,10 @@
14#include "elm_interface_fileselector.h" 14#include "elm_interface_fileselector.h"
15#include "elm_widget_fileselector.h" 15#include "elm_widget_fileselector.h"
16 16
17#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
18#include "elm_interface_atspi_accessible.h"
19#include "elm_interface_atspi_accessible.eo.h"
20
17#define MY_CLASS ELM_FILESELECTOR_CLASS 21#define MY_CLASS ELM_FILESELECTOR_CLASS
18 22
19#define MY_CLASS_NAME "Elm_Fileselector" 23#define MY_CLASS_NAME "Elm_Fileselector"
@@ -1542,7 +1546,8 @@ _elm_fileselector_eo_base_constructor(Eo *obj, Elm_Fileselector_Data *sd)
1542 eo_do_super(obj, MY_CLASS, eo_constructor()); 1546 eo_do_super(obj, MY_CLASS, eo_constructor());
1543 eo_do(obj, 1547 eo_do(obj,
1544 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1548 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1545 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1549 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1550 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILE_CHOOSER));
1546} 1551}
1547 1552
1548EAPI void 1553EAPI void
diff --git a/legacy/elementary/src/lib/elc_fileselector_button.c b/legacy/elementary/src/lib/elc_fileselector_button.c
index a8c999eee7..0bbfe155fb 100644
--- a/legacy/elementary/src/lib/elc_fileselector_button.c
+++ b/legacy/elementary/src/lib/elc_fileselector_button.c
@@ -7,6 +7,10 @@
7#include "elm_interface_fileselector.h" 7#include "elm_interface_fileselector.h"
8#include "elm_widget_fileselector_button.h" 8#include "elm_widget_fileselector_button.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_FILESELECTOR_BUTTON_CLASS 14#define MY_CLASS ELM_FILESELECTOR_BUTTON_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Fileselector_Button" 16#define MY_CLASS_NAME "Elm_Fileselector_Button"
@@ -220,7 +224,8 @@ _elm_fileselector_button_eo_base_constructor(Eo *obj, Elm_Fileselector_Button_Da
220 eo_do_super(obj, MY_CLASS, eo_constructor()); 224 eo_do_super(obj, MY_CLASS, eo_constructor());
221 eo_do(obj, 225 eo_do(obj,
222 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 226 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
223 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 227 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
228 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PUSH_BUTTON));
224} 229}
225 230
226EOLIAN static void 231EOLIAN static void
diff --git a/legacy/elementary/src/lib/elc_fileselector_entry.c b/legacy/elementary/src/lib/elc_fileselector_entry.c
index d084cd6989..7518a7bbd0 100644
--- a/legacy/elementary/src/lib/elc_fileselector_entry.c
+++ b/legacy/elementary/src/lib/elc_fileselector_entry.c
@@ -8,6 +8,11 @@
8#include "elm_interface_fileselector.h" 8#include "elm_interface_fileselector.h"
9#include "elm_widget_fileselector_entry.h" 9#include "elm_widget_fileselector_entry.h"
10 10
11
12#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
13#include "elm_interface_atspi_accessible.h"
14#include "elm_interface_atspi_accessible.eo.h"
15
11#define MY_CLASS ELM_FILESELECTOR_ENTRY_CLASS 16#define MY_CLASS ELM_FILESELECTOR_ENTRY_CLASS
12 17
13#define MY_CLASS_NAME "Elm_Fileselector_Entry" 18#define MY_CLASS_NAME "Elm_Fileselector_Entry"
@@ -348,7 +353,8 @@ _elm_fileselector_entry_eo_base_constructor(Eo *obj, Elm_Fileselector_Entry_Data
348 eo_do_super(obj, MY_CLASS, eo_constructor()); 353 eo_do_super(obj, MY_CLASS, eo_constructor());
349 eo_do(obj, 354 eo_do(obj,
350 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 355 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
351 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 356 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
357 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GROUPING));
352} 358}
353 359
354EINA_DEPRECATED EAPI void 360EINA_DEPRECATED EAPI void
diff --git a/legacy/elementary/src/lib/elc_hoversel.c b/legacy/elementary/src/lib/elc_hoversel.c
index db73d3b4a0..612ba6c834 100644
--- a/legacy/elementary/src/lib/elc_hoversel.c
+++ b/legacy/elementary/src/lib/elc_hoversel.c
@@ -6,6 +6,11 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_hoversel.h" 7#include "elm_widget_hoversel.h"
8 8
9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
9#define MY_CLASS ELM_HOVERSEL_CLASS 14#define MY_CLASS ELM_HOVERSEL_CLASS
10 15
11#define MY_CLASS_NAME "Elm_Hoversel" 16#define MY_CLASS_NAME "Elm_Hoversel"
@@ -348,7 +353,8 @@ _elm_hoversel_eo_base_constructor(Eo *obj, Elm_Hoversel_Data *_pd EINA_UNUSED)
348 eo_do_super(obj, MY_CLASS, eo_constructor()); 353 eo_do_super(obj, MY_CLASS, eo_constructor());
349 eo_do(obj, 354 eo_do(obj,
350 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 355 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
351 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 356 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
357 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GLASS_PANE));
352} 358}
353 359
354EOLIAN static void 360EOLIAN static void
diff --git a/legacy/elementary/src/lib/elc_multibuttonentry.c b/legacy/elementary/src/lib/elc_multibuttonentry.c
index 8a139e5009..0a62c18c83 100644
--- a/legacy/elementary/src/lib/elc_multibuttonentry.c
+++ b/legacy/elementary/src/lib/elc_multibuttonentry.c
@@ -6,6 +6,10 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_multibuttonentry.h" 7#include "elm_widget_multibuttonentry.h"
8 8
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
10#include "elm_interface_atspi_accessible.h"
11#include "elm_interface_atspi_accessible.eo.h"
12
9#define MY_CLASS ELM_MULTIBUTTONENTRY_CLASS 13#define MY_CLASS ELM_MULTIBUTTONENTRY_CLASS
10 14
11#define MY_CLASS_NAME "Elm_Multibuttonentry" 15#define MY_CLASS_NAME "Elm_Multibuttonentry"
@@ -1616,7 +1620,8 @@ _elm_multibuttonentry_eo_base_constructor(Eo *obj, Elm_Multibuttonentry_Data *sd
1616 eo_do_super(obj, MY_CLASS, eo_constructor()); 1620 eo_do_super(obj, MY_CLASS, eo_constructor());
1617 eo_do(obj, 1621 eo_do(obj,
1618 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1622 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1619 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1623 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1624 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ENTRY));
1620} 1625}
1621 1626
1622EOLIAN static Evas_Object* 1627EOLIAN static Evas_Object*
diff --git a/legacy/elementary/src/lib/elc_naviframe.c b/legacy/elementary/src/lib/elc_naviframe.c
index 14d58a2b6e..dd96946ff5 100644
--- a/legacy/elementary/src/lib/elc_naviframe.c
+++ b/legacy/elementary/src/lib/elc_naviframe.c
@@ -7,6 +7,10 @@
7#include "elm_widget_naviframe.h" 7#include "elm_widget_naviframe.h"
8#include "elm_widget_container.h" 8#include "elm_widget_container.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_NAVIFRAME_CLASS 14#define MY_CLASS ELM_NAVIFRAME_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Naviframe" 16#define MY_CLASS_NAME "Elm_Naviframe"
@@ -1498,7 +1502,8 @@ _elm_naviframe_eo_base_constructor(Eo *obj, Elm_Naviframe_Data *sd EINA_UNUSED)
1498 eo_do_super(obj, MY_CLASS, eo_constructor()); 1502 eo_do_super(obj, MY_CLASS, eo_constructor());
1499 eo_do(obj, 1503 eo_do(obj,
1500 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1504 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1501 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1505 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1506 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PAGE_TAB_LIST));
1502} 1507}
1503 1508
1504EOLIAN static Elm_Object_Item* 1509EOLIAN static Elm_Object_Item*
diff --git a/legacy/elementary/src/lib/elc_player.c b/legacy/elementary/src/lib/elc_player.c
index 13d0c86bc5..3da4abee9e 100644
--- a/legacy/elementary/src/lib/elc_player.c
+++ b/legacy/elementary/src/lib/elc_player.c
@@ -9,6 +9,10 @@
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10#include "elm_widget_player.h" 10#include "elm_widget_player.h"
11 11
12#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
13#include "elm_interface_atspi_accessible.h"
14#include "elm_interface_atspi_accessible.eo.h"
15
12#define MY_CLASS ELM_PLAYER_CLASS 16#define MY_CLASS ELM_PLAYER_CLASS
13 17
14#define MY_CLASS_NAME "Elm_Player" 18#define MY_CLASS_NAME "Elm_Player"
@@ -708,7 +712,8 @@ _elm_player_eo_base_constructor(Eo *obj, Elm_Player_Data *sd EINA_UNUSED)
708 eo_do_super(obj, MY_CLASS, eo_constructor()); 712 eo_do_super(obj, MY_CLASS, eo_constructor());
709 eo_do(obj, 713 eo_do(obj,
710 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 714 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
711 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 715 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
716 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ANIMATION));
712} 717}
713 718
714EOLIAN static void 719EOLIAN static void
diff --git a/legacy/elementary/src/lib/elc_popup.c b/legacy/elementary/src/lib/elc_popup.c
index 2012f50eee..a35cc2b0ce 100644
--- a/legacy/elementary/src/lib/elc_popup.c
+++ b/legacy/elementary/src/lib/elc_popup.c
@@ -6,6 +6,10 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_popup.h" 7#include "elm_widget_popup.h"
8 8
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
10#include "elm_interface_atspi_accessible.h"
11#include "elm_interface_atspi_accessible.eo.h"
12
9#define MY_CLASS ELM_POPUP_CLASS 13#define MY_CLASS ELM_POPUP_CLASS
10 14
11#define MY_CLASS_NAME "Elm_Popup" 15#define MY_CLASS_NAME "Elm_Popup"
@@ -1572,7 +1576,8 @@ _elm_popup_eo_base_constructor(Eo *obj, Elm_Popup_Data *_pd EINA_UNUSED)
1572 eo_do_super(obj, MY_CLASS, eo_constructor()); 1576 eo_do_super(obj, MY_CLASS, eo_constructor());
1573 eo_do(obj, 1577 eo_do(obj,
1574 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1578 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1575 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1579 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1580 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_POPUP_MENU));
1576} 1581}
1577 1582
1578EOLIAN static void 1583EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_actionslider.c b/legacy/elementary/src/lib/elm_actionslider.c
index d922cf4a29..dac487a15a 100644
--- a/legacy/elementary/src/lib/elm_actionslider.c
+++ b/legacy/elementary/src/lib/elm_actionslider.c
@@ -8,6 +8,10 @@
8#include "elm_widget_actionslider.h" 8#include "elm_widget_actionslider.h"
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_ACTIONSLIDER_CLASS 15#define MY_CLASS ELM_ACTIONSLIDER_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Actionslider" 17#define MY_CLASS_NAME "Elm_Actionslider"
@@ -526,7 +530,8 @@ _elm_actionslider_eo_base_constructor(Eo *obj, Elm_Actionslider_Data *_pd EINA_U
526 eo_do_super(obj, MY_CLASS, eo_constructor()); 530 eo_do_super(obj, MY_CLASS, eo_constructor());
527 eo_do(obj, 531 eo_do(obj,
528 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 532 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
529 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 533 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
534 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SLIDER));
530} 535}
531 536
532EOLIAN static void 537EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_bg.c b/legacy/elementary/src/lib/elm_bg.c
index cc184a77fe..2120e378ee 100644
--- a/legacy/elementary/src/lib/elm_bg.c
+++ b/legacy/elementary/src/lib/elm_bg.c
@@ -7,6 +7,10 @@
7#include "elm_widget_bg.h" 7#include "elm_widget_bg.h"
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_BG_CLASS 14#define MY_CLASS ELM_BG_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Bg" 16#define MY_CLASS_NAME "Elm_Bg"
@@ -133,7 +137,9 @@ EOLIAN static void
133_elm_bg_eo_base_constructor(Eo *obj, Elm_Bg_Data *_pd EINA_UNUSED) 137_elm_bg_eo_base_constructor(Eo *obj, Elm_Bg_Data *_pd EINA_UNUSED)
134{ 138{
135 eo_do_super(obj, MY_CLASS, eo_constructor()); 139 eo_do_super(obj, MY_CLASS, eo_constructor());
136 eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 140 eo_do(obj,
141 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
142 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
137} 143}
138 144
139static void 145static void
diff --git a/legacy/elementary/src/lib/elm_box.c b/legacy/elementary/src/lib/elm_box.c
index 1f29f161d8..6be7a1ef7f 100644
--- a/legacy/elementary/src/lib/elm_box.c
+++ b/legacy/elementary/src/lib/elm_box.c
@@ -7,6 +7,10 @@
7#include "els_box.h" 7#include "els_box.h"
8#include "elm_widget_box.h" 8#include "elm_widget_box.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_BOX_CLASS 14#define MY_CLASS ELM_BOX_CLASS
11#define MY_CLASS_NAME "Elm_Box" 15#define MY_CLASS_NAME "Elm_Box"
12#define MY_CLASS_NAME_LEGACY "elm_box" 16#define MY_CLASS_NAME_LEGACY "elm_box"
@@ -437,7 +441,8 @@ _elm_box_eo_base_constructor(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED)
437 eo_do_super(obj, MY_CLASS, eo_constructor()); 441 eo_do_super(obj, MY_CLASS, eo_constructor());
438 eo_do(obj, 442 eo_do(obj,
439 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 443 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
440 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 444 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
445 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
441} 446}
442 447
443EOLIAN static void 448EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_bubble.c b/legacy/elementary/src/lib/elm_bubble.c
index 69b917c1a1..861268530d 100644
--- a/legacy/elementary/src/lib/elm_bubble.c
+++ b/legacy/elementary/src/lib/elm_bubble.c
@@ -7,6 +7,10 @@
7#include "elm_widget_bubble.h" 7#include "elm_widget_bubble.h"
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_BUBBLE_CLASS 14#define MY_CLASS ELM_BUBBLE_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Bubble" 16#define MY_CLASS_NAME "Elm_Bubble"
@@ -228,7 +232,8 @@ _elm_bubble_eo_base_constructor(Eo *obj, Elm_Bubble_Data *_pd EINA_UNUSED)
228 eo_do_super(obj, MY_CLASS, eo_constructor()); 232 eo_do_super(obj, MY_CLASS, eo_constructor());
229 eo_do(obj, 233 eo_do(obj,
230 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 234 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
231 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 235 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
236 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
232} 237}
233 238
234EOLIAN static void 239EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_button.c b/legacy/elementary/src/lib/elm_button.c
index 34c0084fbb..d9376c08f8 100644
--- a/legacy/elementary/src/lib/elm_button.c
+++ b/legacy/elementary/src/lib/elm_button.c
@@ -13,6 +13,10 @@
13#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 13#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
14#include "elm_interface_atspi_widget_action.eo.h" 14#include "elm_interface_atspi_widget_action.eo.h"
15 15
16#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
17#include "elm_interface_atspi_accessible.h"
18#include "elm_interface_atspi_accessible.eo.h"
19
16#define MY_CLASS_NAME "Elm_Button" 20#define MY_CLASS_NAME "Elm_Button"
17#define MY_CLASS_NAME_LEGACY "elm_button" 21#define MY_CLASS_NAME_LEGACY "elm_button"
18 22
@@ -332,7 +336,8 @@ _elm_button_eo_base_constructor(Eo *obj, Elm_Button_Data *_pd EINA_UNUSED)
332 eo_do_super(obj, MY_CLASS, eo_constructor()); 336 eo_do_super(obj, MY_CLASS, eo_constructor());
333 eo_do(obj, 337 eo_do(obj,
334 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 338 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
335 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 339 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
340 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PUSH_BUTTON));
336} 341}
337 342
338EOLIAN static void 343EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_calendar.c b/legacy/elementary/src/lib/elm_calendar.c
index 680c9e7dfb..976c9bb1b0 100644
--- a/legacy/elementary/src/lib/elm_calendar.c
+++ b/legacy/elementary/src/lib/elm_calendar.c
@@ -6,6 +6,10 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_calendar.h" 7#include "elm_widget_calendar.h"
8 8
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
10#include "elm_interface_atspi_accessible.h"
11#include "elm_interface_atspi_accessible.eo.h"
12
9#define MY_CLASS ELM_CALENDAR_CLASS 13#define MY_CLASS ELM_CALENDAR_CLASS
10 14
11#define MY_CLASS_NAME "Elm_Calendar" 15#define MY_CLASS_NAME "Elm_Calendar"
@@ -1183,7 +1187,8 @@ _elm_calendar_eo_base_constructor(Eo *obj, Elm_Calendar_Data *sd)
1183 eo_do_super(obj, MY_CLASS, eo_constructor()); 1187 eo_do_super(obj, MY_CLASS, eo_constructor());
1184 eo_do(obj, 1188 eo_do(obj,
1185 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1189 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1186 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1190 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1191 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_CALENDAR));
1187} 1192}
1188 1193
1189EOLIAN static void 1194EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_check.c b/legacy/elementary/src/lib/elm_check.c
index e6fe526ea7..a72ee401a5 100644
--- a/legacy/elementary/src/lib/elm_check.c
+++ b/legacy/elementary/src/lib/elm_check.c
@@ -7,6 +7,11 @@
7#include "elm_widget_check.h" 7#include "elm_widget_check.h"
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9 9
10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
10#define MY_CLASS ELM_CHECK_CLASS 15#define MY_CLASS ELM_CHECK_CLASS
11 16
12#define MY_CLASS_NAME "Elm_Check" 17#define MY_CLASS_NAME "Elm_Check"
@@ -342,7 +347,8 @@ _elm_check_eo_base_constructor(Eo *obj, Elm_Check_Data *_pd EINA_UNUSED)
342 eo_do_super(obj, MY_CLASS, eo_constructor()); 347 eo_do_super(obj, MY_CLASS, eo_constructor());
343 eo_do(obj, 348 eo_do(obj,
344 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 349 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
345 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 350 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
351 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_CHECK_BOX));
346} 352}
347 353
348EOLIAN static void 354EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_clock.c b/legacy/elementary/src/lib/elm_clock.c
index 759819876e..95317d642f 100644
--- a/legacy/elementary/src/lib/elm_clock.c
+++ b/legacy/elementary/src/lib/elm_clock.c
@@ -6,6 +6,10 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_clock.h" 7#include "elm_widget_clock.h"
8 8
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
10#include "elm_interface_atspi_accessible.h"
11#include "elm_interface_atspi_accessible.eo.h"
12
9#define MY_CLASS ELM_CLOCK_CLASS 13#define MY_CLASS ELM_CLOCK_CLASS
10 14
11#define MY_CLASS_NAME "Elm_Clock" 15#define MY_CLASS_NAME "Elm_Clock"
@@ -801,7 +805,8 @@ _elm_clock_eo_base_constructor(Eo *obj, Elm_Clock_Data *_pd EINA_UNUSED)
801 eo_do_super(obj, MY_CLASS, eo_constructor()); 805 eo_do_super(obj, MY_CLASS, eo_constructor());
802 eo_do(obj, 806 eo_do(obj,
803 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 807 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
804 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 808 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
809 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TEXT));
805} 810}
806 811
807static void 812static void
diff --git a/legacy/elementary/src/lib/elm_colorselector.c b/legacy/elementary/src/lib/elm_colorselector.c
index 8323d6fc88..5f3ee15af1 100644
--- a/legacy/elementary/src/lib/elm_colorselector.c
+++ b/legacy/elementary/src/lib/elm_colorselector.c
@@ -6,6 +6,10 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_colorselector.h" 7#include "elm_widget_colorselector.h"
8 8
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
10#include "elm_interface_atspi_accessible.h"
11#include "elm_interface_atspi_accessible.eo.h"
12
9#define MY_CLASS ELM_COLORSELECTOR_CLASS 13#define MY_CLASS ELM_COLORSELECTOR_CLASS
10 14
11#define MY_CLASS_NAME "Elm_Colorselector" 15#define MY_CLASS_NAME "Elm_Colorselector"
@@ -1867,7 +1871,8 @@ _elm_colorselector_eo_base_constructor(Eo *obj, Elm_Colorselector_Data *_pd EINA
1867 eo_do_super(obj, MY_CLASS, eo_constructor()); 1871 eo_do_super(obj, MY_CLASS, eo_constructor());
1868 eo_do(obj, 1872 eo_do(obj,
1869 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1873 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1870 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1874 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1875 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_COLOR_CHOOSER));
1871} 1876}
1872 1877
1873EOLIAN static void 1878EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_conform.c b/legacy/elementary/src/lib/elm_conform.c
index 3f97252229..55ee5a8e28 100644
--- a/legacy/elementary/src/lib/elm_conform.c
+++ b/legacy/elementary/src/lib/elm_conform.c
@@ -7,6 +7,10 @@
7#include "elm_widget_conform.h" 7#include "elm_widget_conform.h"
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_CONFORMANT_CLASS 14#define MY_CLASS ELM_CONFORMANT_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Conformant" 16#define MY_CLASS_NAME "Elm_Conformant"
@@ -972,7 +976,8 @@ _elm_conformant_eo_base_constructor(Eo *obj, Elm_Conformant_Data *sd)
972 eo_do_super(obj, MY_CLASS, eo_constructor()); 976 eo_do_super(obj, MY_CLASS, eo_constructor());
973 eo_do(obj, 977 eo_do(obj,
974 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 978 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
975 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 979 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
980 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
976 981
977 top = elm_widget_top_get(obj); 982 top = elm_widget_top_get(obj);
978 _on_indicator_mode_changed(obj, top, NULL); 983 _on_indicator_mode_changed(obj, top, NULL);
diff --git a/legacy/elementary/src/lib/elm_datetime.c b/legacy/elementary/src/lib/elm_datetime.c
index 7d74121435..09bff6443c 100644
--- a/legacy/elementary/src/lib/elm_datetime.c
+++ b/legacy/elementary/src/lib/elm_datetime.c
@@ -6,6 +6,10 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_datetime.h" 7#include "elm_widget_datetime.h"
8 8
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
10#include "elm_interface_atspi_accessible.h"
11#include "elm_interface_atspi_accessible.eo.h"
12
9#define MY_CLASS ELM_DATETIME_CLASS 13#define MY_CLASS ELM_DATETIME_CLASS
10 14
11#define MY_CLASS_NAME "Elm_Datetime" 15#define MY_CLASS_NAME "Elm_Datetime"
@@ -873,7 +877,8 @@ _elm_datetime_eo_base_constructor(Eo *obj, Elm_Datetime_Data *_pd EINA_UNUSED)
873 eo_do_super(obj, MY_CLASS, eo_constructor()); 877 eo_do_super(obj, MY_CLASS, eo_constructor());
874 eo_do(obj, 878 eo_do(obj,
875 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 879 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
876 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 880 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
881 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_DATE_EDITOR));
877} 882}
878 883
879EOLIAN static const char* 884EOLIAN static const char*
diff --git a/legacy/elementary/src/lib/elm_dayselector.c b/legacy/elementary/src/lib/elm_dayselector.c
index 7698a64785..c67a9b2534 100644
--- a/legacy/elementary/src/lib/elm_dayselector.c
+++ b/legacy/elementary/src/lib/elm_dayselector.c
@@ -7,6 +7,10 @@
7#include "elm_widget_dayselector.h" 7#include "elm_widget_dayselector.h"
8#include "elm_widget_container.h" 8#include "elm_widget_container.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_DAYSELECTOR_CLASS 14#define MY_CLASS ELM_DAYSELECTOR_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Dayselector" 16#define MY_CLASS_NAME "Elm_Dayselector"
@@ -450,7 +454,8 @@ _elm_dayselector_eo_base_constructor(Eo *obj, Elm_Dayselector_Data *_pd EINA_UNU
450 eo_do_super(obj, MY_CLASS, eo_constructor()); 454 eo_do_super(obj, MY_CLASS, eo_constructor());
451 eo_do(obj, 455 eo_do(obj,
452 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 456 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
453 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 457 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
458 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PANEL));
454} 459}
455 460
456EOLIAN static void 461EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_diskselector.c b/legacy/elementary/src/lib/elm_diskselector.c
index cd26ac4358..44a56df6ca 100644
--- a/legacy/elementary/src/lib/elm_diskselector.c
+++ b/legacy/elementary/src/lib/elm_diskselector.c
@@ -7,6 +7,10 @@
7#include "elm_widget_diskselector.h" 7#include "elm_widget_diskselector.h"
8#include "elm_interface_scrollable.h" 8#include "elm_interface_scrollable.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define DISPLAY_ITEM_NUM_MIN 3 14#define DISPLAY_ITEM_NUM_MIN 3
11 15
12#define MY_CLASS ELM_DISKSELECTOR_CLASS 16#define MY_CLASS ELM_DISKSELECTOR_CLASS
@@ -1436,7 +1440,8 @@ _elm_diskselector_eo_base_constructor(Eo *obj, Elm_Diskselector_Data *_pd EINA_U
1436 eo_do_super(obj, MY_CLASS, eo_constructor()); 1440 eo_do_super(obj, MY_CLASS, eo_constructor());
1437 eo_do(obj, 1441 eo_do(obj,
1438 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1442 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1439 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1443 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1444 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
1440} 1445}
1441 1446
1442EOLIAN static Eina_Bool 1447EOLIAN static Eina_Bool
diff --git a/legacy/elementary/src/lib/elm_entry.c b/legacy/elementary/src/lib/elm_entry.c
index a4bc1acd9b..9f9fd99067 100644
--- a/legacy/elementary/src/lib/elm_entry.c
+++ b/legacy/elementary/src/lib/elm_entry.c
@@ -3660,7 +3660,7 @@ _elm_entry_eo_base_constructor(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED)
3660 eo_do(obj, 3660 eo_do(obj,
3661 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 3661 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
3662 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks), 3662 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
3663 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TEXT)); 3663 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ENTRY));
3664} 3664}
3665 3665
3666EOLIAN static void 3666EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_flip.c b/legacy/elementary/src/lib/elm_flip.c
index 019132cfa9..5c28a12b0b 100644
--- a/legacy/elementary/src/lib/elm_flip.c
+++ b/legacy/elementary/src/lib/elm_flip.c
@@ -7,6 +7,10 @@
7#include "elm_widget_flip.h" 7#include "elm_widget_flip.h"
8#include "elm_widget_container.h" 8#include "elm_widget_container.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_FLIP_CLASS 14#define MY_CLASS ELM_FLIP_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Flip" 16#define MY_CLASS_NAME "Elm_Flip"
@@ -1866,7 +1870,8 @@ _elm_flip_eo_base_constructor(Eo *obj, Elm_Flip_Data *sd)
1866 eo_do_super(obj, MY_CLASS, eo_constructor()); 1870 eo_do_super(obj, MY_CLASS, eo_constructor());
1867 eo_do(obj, 1871 eo_do(obj,
1868 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1872 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1869 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1873 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1874 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PAGE_TAB_LIST));
1870} 1875}
1871 1876
1872EOLIAN static Eina_Bool 1877EOLIAN static Eina_Bool
diff --git a/legacy/elementary/src/lib/elm_flipselector.c b/legacy/elementary/src/lib/elm_flipselector.c
index 5427e5d8cb..09a1d47fb8 100644
--- a/legacy/elementary/src/lib/elm_flipselector.c
+++ b/legacy/elementary/src/lib/elm_flipselector.c
@@ -6,6 +6,11 @@
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_widget_flipselector.h" 7#include "elm_widget_flipselector.h"
8 8
9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
9#define MY_CLASS ELM_FLIPSELECTOR_CLASS 14#define MY_CLASS ELM_FLIPSELECTOR_CLASS
10 15
11#define MY_CLASS_NAME "Elm_Flipselector" 16#define MY_CLASS_NAME "Elm_Flipselector"
@@ -605,7 +610,8 @@ _elm_flipselector_eo_base_constructor(Eo *obj, Elm_Flipselector_Data *sd)
605 eo_do_super(obj, MY_CLASS, eo_constructor()); 610 eo_do_super(obj, MY_CLASS, eo_constructor());
606 eo_do(obj, 611 eo_do(obj,
607 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 612 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
608 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 613 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
614 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
609} 615}
610 616
611EOLIAN static void 617EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_frame.c b/legacy/elementary/src/lib/elm_frame.c
index 01b4bd91eb..c71ff4da48 100644
--- a/legacy/elementary/src/lib/elm_frame.c
+++ b/legacy/elementary/src/lib/elm_frame.c
@@ -7,6 +7,10 @@
7#include "elm_widget_frame.h" 7#include "elm_widget_frame.h"
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_FRAME_CLASS 14#define MY_CLASS ELM_FRAME_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Frame" 16#define MY_CLASS_NAME "Elm_Frame"
@@ -204,7 +208,8 @@ _elm_frame_eo_base_constructor(Eo *obj, Elm_Frame_Data *_pd EINA_UNUSED)
204 eo_do_super(obj, MY_CLASS, eo_constructor()); 208 eo_do_super(obj, MY_CLASS, eo_constructor());
205 eo_do(obj, 209 eo_do(obj,
206 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 210 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
207 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 211 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
212 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FRAME));
208} 213}
209 214
210EOLIAN static void 215EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_gengrid.c b/legacy/elementary/src/lib/elm_gengrid.c
index 40a3ea4bb1..19c0b9b5eb 100644
--- a/legacy/elementary/src/lib/elm_gengrid.c
+++ b/legacy/elementary/src/lib/elm_gengrid.c
@@ -8,6 +8,10 @@
8#include "elm_widget_gengrid.h" 8#include "elm_widget_gengrid.h"
9#include "elm_interface_scrollable.h" 9#include "elm_interface_scrollable.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_PAN_CLASS ELM_GENGRID_PAN_CLASS 15#define MY_PAN_CLASS ELM_GENGRID_PAN_CLASS
12 16
13#define MY_PAN_CLASS_NAME "Elm_Gengrid_Pan" 17#define MY_PAN_CLASS_NAME "Elm_Gengrid_Pan"
@@ -3441,7 +3445,8 @@ _elm_gengrid_eo_base_constructor(Eo *obj, Elm_Gengrid_Data *sd)
3441 eo_do_super(obj, MY_CLASS, eo_constructor()); 3445 eo_do_super(obj, MY_CLASS, eo_constructor());
3442 eo_do(obj, 3446 eo_do(obj,
3443 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 3447 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
3444 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 3448 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
3449 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TABLE));
3445} 3450}
3446 3451
3447EOLIAN static void 3452EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c
index 6e7b1be71a..2d2d1ece03 100644
--- a/legacy/elementary/src/lib/elm_genlist.c
+++ b/legacy/elementary/src/lib/elm_genlist.c
@@ -11,6 +11,10 @@
11#include "elm_widget_genlist.h" 11#include "elm_widget_genlist.h"
12#include "elm_interface_scrollable.h" 12#include "elm_interface_scrollable.h"
13 13
14#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
15#include "elm_interface_atspi_accessible.h"
16#include "elm_interface_atspi_accessible.eo.h"
17
14#define MY_PAN_CLASS ELM_GENLIST_PAN_CLASS 18#define MY_PAN_CLASS ELM_GENLIST_PAN_CLASS
15 19
16#define MY_PAN_CLASS_NAME "Elm_Genlist_Pan" 20#define MY_PAN_CLASS_NAME "Elm_Genlist_Pan"
@@ -5396,7 +5400,8 @@ _elm_genlist_eo_base_constructor(Eo *obj, Elm_Genlist_Data *sd)
5396 eo_do_super(obj, MY_CLASS, eo_constructor()); 5400 eo_do_super(obj, MY_CLASS, eo_constructor());
5397 eo_do(obj, 5401 eo_do(obj,
5398 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 5402 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
5399 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 5403 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
5404 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
5400} 5405}
5401 5406
5402static void 5407static void
diff --git a/legacy/elementary/src/lib/elm_glview.c b/legacy/elementary/src/lib/elm_glview.c
index 9f58fc4931..4f346564e9 100644
--- a/legacy/elementary/src/lib/elm_glview.c
+++ b/legacy/elementary/src/lib/elm_glview.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_glview.h" 8#include "elm_widget_glview.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_GLVIEW_CLASS 14#define MY_CLASS ELM_GLVIEW_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Glview" 16#define MY_CLASS_NAME "Elm_Glview"
@@ -269,7 +273,8 @@ _elm_glview_eo_base_constructor(Eo *obj, Elm_Glview_Data *sd)
269 eo_do_super(obj, MY_CLASS, eo_constructor()); 273 eo_do_super(obj, MY_CLASS, eo_constructor());
270 eo_do(obj, 274 eo_do(obj,
271 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 275 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
272 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 276 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
277 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ANIMATION));
273 278
274 if (!sd->evasgl) 279 if (!sd->evasgl)
275 { 280 {
diff --git a/legacy/elementary/src/lib/elm_grid.c b/legacy/elementary/src/lib/elm_grid.c
index fa771b6226..ad3a78b853 100644
--- a/legacy/elementary/src/lib/elm_grid.c
+++ b/legacy/elementary/src/lib/elm_grid.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_grid.h" 8#include "elm_widget_grid.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_GRID_CLASS 14#define MY_CLASS ELM_GRID_CLASS
11#define MY_CLASS_NAME "Elm_Grid" 15#define MY_CLASS_NAME "Elm_Grid"
12#define MY_CLASS_NAME_LEGACY "elm_grid" 16#define MY_CLASS_NAME_LEGACY "elm_grid"
@@ -168,7 +172,9 @@ EOLIAN static void
168_elm_grid_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED) 172_elm_grid_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED)
169{ 173{
170 eo_do_super(obj, MY_CLASS, eo_constructor()); 174 eo_do_super(obj, MY_CLASS, eo_constructor());
171 eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 175 eo_do(obj,
176 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
177 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
172} 178}
173 179
174EOLIAN static void 180EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_hover.c b/legacy/elementary/src/lib/elm_hover.c
index 6fb4c2019c..a9c9e9f2f4 100644
--- a/legacy/elementary/src/lib/elm_hover.c
+++ b/legacy/elementary/src/lib/elm_hover.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_hover.h" 8#include "elm_widget_hover.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_HOVER_CLASS 14#define MY_CLASS ELM_HOVER_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Hover" 16#define MY_CLASS_NAME "Elm_Hover"
@@ -635,7 +639,8 @@ _elm_hover_eo_base_constructor(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED)
635 eo_do_super(obj, MY_CLASS, eo_constructor()); 639 eo_do_super(obj, MY_CLASS, eo_constructor());
636 eo_do(obj, 640 eo_do(obj,
637 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 641 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
638 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 642 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
643 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GLASS_PANE));
639} 644}
640 645
641EOLIAN static void 646EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_icon.c b/legacy/elementary/src/lib/elm_icon.c
index 31fc38cbd3..405430f0a4 100644
--- a/legacy/elementary/src/lib/elm_icon.c
+++ b/legacy/elementary/src/lib/elm_icon.c
@@ -11,6 +11,10 @@
11#define NON_EXISTING (void *)-1 11#define NON_EXISTING (void *)-1
12static const char *icon_theme = NULL; 12static const char *icon_theme = NULL;
13 13
14#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
15#include "elm_interface_atspi_accessible.h"
16#include "elm_interface_atspi_accessible.eo.h"
17
14#define MY_CLASS ELM_ICON_CLASS 18#define MY_CLASS ELM_ICON_CLASS
15#define MY_CLASS_NAME "Elm_Icon" 19#define MY_CLASS_NAME "Elm_Icon"
16#define MY_CLASS_NAME_LEGACY "elm_icon" 20#define MY_CLASS_NAME_LEGACY "elm_icon"
@@ -697,7 +701,8 @@ _elm_icon_eo_base_constructor(Eo *obj, Elm_Icon_Data *sd)
697 eo_do_super(obj, MY_CLASS, eo_constructor()); 701 eo_do_super(obj, MY_CLASS, eo_constructor());
698 eo_do(obj, 702 eo_do(obj,
699 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 703 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
700 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 704 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
705 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
701} 706}
702 707
703EAPI Eina_Bool 708EAPI Eina_Bool
diff --git a/legacy/elementary/src/lib/elm_image.c b/legacy/elementary/src/lib/elm_image.c
index 3a075cf944..bc78a2eca0 100644
--- a/legacy/elementary/src/lib/elm_image.c
+++ b/legacy/elementary/src/lib/elm_image.c
@@ -10,6 +10,10 @@
10#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED 10#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED
11#include "elm_interface_atspi_image.eo.h" 11#include "elm_interface_atspi_image.eo.h"
12 12
13#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
14#include "elm_interface_atspi_accessible.h"
15#include "elm_interface_atspi_accessible.eo.h"
16
13#define FMT_SIZE_T "%zu" 17#define FMT_SIZE_T "%zu"
14 18
15#define MY_CLASS ELM_IMAGE_CLASS 19#define MY_CLASS ELM_IMAGE_CLASS
@@ -730,7 +734,8 @@ _elm_image_eo_base_constructor(Eo *obj, Elm_Image_Data *_pd EINA_UNUSED)
730 eo_do_super(obj, MY_CLASS, eo_constructor()); 734 eo_do_super(obj, MY_CLASS, eo_constructor());
731 eo_do(obj, 735 eo_do(obj,
732 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 736 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
733 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 737 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
738 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
734} 739}
735 740
736EAPI Eina_Bool 741EAPI Eina_Bool
diff --git a/legacy/elementary/src/lib/elm_index.c b/legacy/elementary/src/lib/elm_index.c
index 0f32959a09..62c2cc1aaf 100644
--- a/legacy/elementary/src/lib/elm_index.c
+++ b/legacy/elementary/src/lib/elm_index.c
@@ -9,6 +9,10 @@
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10#include "elm_widget_index.h" 10#include "elm_widget_index.h"
11 11
12#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
13#include "elm_interface_atspi_accessible.h"
14#include "elm_interface_atspi_accessible.eo.h"
15
12#define MY_CLASS ELM_INDEX_CLASS 16#define MY_CLASS ELM_INDEX_CLASS
13 17
14#define MY_CLASS_NAME "Elm_Index" 18#define MY_CLASS_NAME "Elm_Index"
@@ -1077,7 +1081,8 @@ _elm_index_eo_base_constructor(Eo *obj, Elm_Index_Data *_pd EINA_UNUSED)
1077 eo_do_super(obj, MY_CLASS, eo_constructor()); 1081 eo_do_super(obj, MY_CLASS, eo_constructor());
1078 eo_do(obj, 1082 eo_do(obj,
1079 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1083 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1080 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1084 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1085 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
1081} 1086}
1082 1087
1083EOLIAN static void 1088EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_inwin.c b/legacy/elementary/src/lib/elm_inwin.c
index 2e6cecd0ea..50311d482b 100644
--- a/legacy/elementary/src/lib/elm_inwin.c
+++ b/legacy/elementary/src/lib/elm_inwin.c
@@ -8,6 +8,10 @@
8#include "elm_widget_inwin.h" 8#include "elm_widget_inwin.h"
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_INWIN_CLASS 15#define MY_CLASS ELM_INWIN_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Inwin" 17#define MY_CLASS_NAME "Elm_Inwin"
@@ -114,7 +118,9 @@ _elm_inwin_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED)
114 } 118 }
115 119
116 eo_do_super(obj, MY_CLASS, eo_constructor()); 120 eo_do_super(obj, MY_CLASS, eo_constructor());
117 eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 121 eo_do(obj,
122 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
123 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GLASS_PANE));
118} 124}
119 125
120EOLIAN static void 126EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_label.c b/legacy/elementary/src/lib/elm_label.c
index 7f06430ee9..95da5591bd 100644
--- a/legacy/elementary/src/lib/elm_label.c
+++ b/legacy/elementary/src/lib/elm_label.c
@@ -8,6 +8,10 @@
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9#include "elm_widget_label.h" 9#include "elm_widget_label.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_LABEL_CLASS 15#define MY_CLASS ELM_LABEL_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Label" 17#define MY_CLASS_NAME "Elm_Label"
@@ -406,7 +410,8 @@ _elm_label_eo_base_constructor(Eo *obj, Elm_Label_Data *_pd EINA_UNUSED)
406 eo_do_super(obj, MY_CLASS, eo_constructor()); 410 eo_do_super(obj, MY_CLASS, eo_constructor());
407 eo_do(obj, 411 eo_do(obj,
408 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 412 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
409 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 413 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
414 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LABEL));
410} 415}
411 416
412EOLIAN static void 417EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_layout.c b/legacy/elementary/src/lib/elm_layout.c
index 9f439338e7..6571ba8f09 100644
--- a/legacy/elementary/src/lib/elm_layout.c
+++ b/legacy/elementary/src/lib/elm_layout.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_LAYOUT_CLASS 14#define MY_CLASS ELM_LAYOUT_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Layout" 16#define MY_CLASS_NAME "Elm_Layout"
@@ -1708,7 +1712,8 @@ _elm_layout_eo_base_constructor(Eo *obj, Elm_Layout_Smart_Data *sd)
1708 eo_do_super(obj, MY_CLASS, eo_constructor()); 1712 eo_do_super(obj, MY_CLASS, eo_constructor());
1709 eo_do(obj, 1713 eo_do(obj,
1710 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1714 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1711 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1715 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1716 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
1712} 1717}
1713 1718
1714EOLIAN static void _elm_layout_class_constructor(Eo_Class *klass) 1719EOLIAN static void _elm_layout_class_constructor(Eo_Class *klass)
diff --git a/legacy/elementary/src/lib/elm_list.c b/legacy/elementary/src/lib/elm_list.c
index eb48c4da83..cbf69b2e69 100644
--- a/legacy/elementary/src/lib/elm_list.c
+++ b/legacy/elementary/src/lib/elm_list.c
@@ -8,6 +8,10 @@
8#include "elm_widget_list.h" 8#include "elm_widget_list.h"
9#include "elm_interface_scrollable.h" 9#include "elm_interface_scrollable.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_LIST_CLASS 15#define MY_CLASS ELM_LIST_CLASS
12 16
13#define MY_CLASS_NAME "Elm_List" 17#define MY_CLASS_NAME "Elm_List"
@@ -2365,7 +2369,8 @@ _elm_list_eo_base_constructor(Eo *obj, Elm_List_Data *sd EINA_UNUSED)
2365 eo_do_super(obj, MY_CLASS, eo_constructor()); 2369 eo_do_super(obj, MY_CLASS, eo_constructor());
2366 eo_do(obj, 2370 eo_do(obj,
2367 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 2371 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
2368 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 2372 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
2373 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
2369} 2374}
2370 2375
2371EOLIAN static void 2376EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_map.c b/legacy/elementary/src/lib/elm_map.c
index 69c5cae11a..de03088e52 100644
--- a/legacy/elementary/src/lib/elm_map.c
+++ b/legacy/elementary/src/lib/elm_map.c
@@ -8,6 +8,10 @@
8#include "elm_widget_map.h" 8#include "elm_widget_map.h"
9#include "elm_interface_scrollable.h" 9#include "elm_interface_scrollable.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_PAN_CLASS ELM_MAP_PAN_CLASS 15#define MY_PAN_CLASS ELM_MAP_PAN_CLASS
12 16
13#define MY_PAN_CLASS_NAME "Elm_Map_Pan" 17#define MY_PAN_CLASS_NAME "Elm_Map_Pan"
@@ -4197,7 +4201,8 @@ _elm_map_eo_base_constructor(Eo *obj, Elm_Map_Data *sd)
4197 eo_do_super(obj, MY_CLASS, eo_constructor()); 4201 eo_do_super(obj, MY_CLASS, eo_constructor());
4198 eo_do(obj, 4202 eo_do(obj,
4199 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 4203 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
4200 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 4204 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
4205 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE_MAP));
4201} 4206}
4202 4207
4203EOLIAN static void 4208EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_mapbuf.c b/legacy/elementary/src/lib/elm_mapbuf.c
index c75b57192a..cbd76ef16d 100644
--- a/legacy/elementary/src/lib/elm_mapbuf.c
+++ b/legacy/elementary/src/lib/elm_mapbuf.c
@@ -8,6 +8,10 @@
8#include "elm_widget_mapbuf.h" 8#include "elm_widget_mapbuf.h"
9#include "elm_widget_container.h" 9#include "elm_widget_container.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_MAPBUF_CLASS 15#define MY_CLASS ELM_MAPBUF_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Mapbuf" 17#define MY_CLASS_NAME "Elm_Mapbuf"
@@ -294,7 +298,8 @@ _elm_mapbuf_eo_base_constructor(Eo *obj, Elm_Mapbuf_Data *sd EINA_UNUSED)
294{ 298{
295 eo_do_super(obj, MY_CLASS, eo_constructor()); 299 eo_do_super(obj, MY_CLASS, eo_constructor());
296 eo_do(obj, 300 eo_do(obj,
297 evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 301 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
302 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE_MAP));
298} 303}
299 304
300static void 305static void
diff --git a/legacy/elementary/src/lib/elm_menu.c b/legacy/elementary/src/lib/elm_menu.c
index aa4c02582b..e3b9da8c37 100644
--- a/legacy/elementary/src/lib/elm_menu.c
+++ b/legacy/elementary/src/lib/elm_menu.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_menu.h" 8#include "elm_widget_menu.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_MENU_CLASS 14#define MY_CLASS ELM_MENU_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Menu" 16#define MY_CLASS_NAME "Elm_Menu"
@@ -756,7 +760,8 @@ _elm_menu_eo_base_constructor(Eo *obj, Elm_Menu_Data *sd)
756 eo_do(obj, 760 eo_do(obj,
757 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 761 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
758 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks), 762 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
759 parent = eo_parent_get()); 763 parent = eo_parent_get(),
764 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_MENU));
760 765
761 elm_menu_parent_set(obj, parent); 766 elm_menu_parent_set(obj, parent);
762 elm_hover_target_set(sd->hv, sd->location); 767 elm_hover_target_set(sd->hv, sd->location);
diff --git a/legacy/elementary/src/lib/elm_notify.c b/legacy/elementary/src/lib/elm_notify.c
index 0a78b0e4f7..de17d8210b 100644
--- a/legacy/elementary/src/lib/elm_notify.c
+++ b/legacy/elementary/src/lib/elm_notify.c
@@ -8,6 +8,10 @@
8#include "elm_widget_notify.h" 8#include "elm_widget_notify.h"
9#include "elm_widget_container.h" 9#include "elm_widget_container.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_NOTIFY_CLASS 15#define MY_CLASS ELM_NOTIFY_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Notify" 17#define MY_CLASS_NAME "Elm_Notify"
@@ -466,7 +470,8 @@ _elm_notify_eo_base_constructor(Eo *obj, Elm_Notify_Data *sd EINA_UNUSED)
466{ 470{
467 eo_do_super(obj, MY_CLASS, eo_constructor()); 471 eo_do_super(obj, MY_CLASS, eo_constructor());
468 eo_do(obj, 472 eo_do(obj,
469 evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 473 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
474 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_NOTIFICATION));
470} 475}
471 476
472EAPI void 477EAPI void
diff --git a/legacy/elementary/src/lib/elm_panel.c b/legacy/elementary/src/lib/elm_panel.c
index 5b86ad7a08..6da13f9751 100644
--- a/legacy/elementary/src/lib/elm_panel.c
+++ b/legacy/elementary/src/lib/elm_panel.c
@@ -9,6 +9,10 @@
9 9
10#include "els_box.h" 10#include "els_box.h"
11 11
12#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
13#include "elm_interface_atspi_accessible.h"
14#include "elm_interface_atspi_accessible.eo.h"
15
12#define MY_CLASS ELM_PANEL_CLASS 16#define MY_CLASS ELM_PANEL_CLASS
13 17
14#define MY_CLASS_NAME "Elm_Panel" 18#define MY_CLASS_NAME "Elm_Panel"
@@ -417,7 +421,8 @@ _elm_panel_eo_base_constructor(Eo *obj, Elm_Panel_Data *_pd EINA_UNUSED)
417 eo_do_super(obj, MY_CLASS, eo_constructor()); 421 eo_do_super(obj, MY_CLASS, eo_constructor());
418 eo_do(obj, 422 eo_do(obj,
419 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 423 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
420 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 424 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
425 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PANEL));
421} 426}
422 427
423EOLIAN static void 428EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_panes.c b/legacy/elementary/src/lib/elm_panes.c
index d3658f2462..3826dd251b 100644
--- a/legacy/elementary/src/lib/elm_panes.c
+++ b/legacy/elementary/src/lib/elm_panes.c
@@ -8,6 +8,10 @@
8#include "elm_widget_layout.h" 8#include "elm_widget_layout.h"
9#include "elm_widget_panes.h" 9#include "elm_widget_panes.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_PANES_CLASS 15#define MY_CLASS ELM_PANES_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Panes" 17#define MY_CLASS_NAME "Elm_Panes"
@@ -236,7 +240,8 @@ _elm_panes_eo_base_constructor(Eo *obj, Elm_Panes_Data *_pd EINA_UNUSED)
236 eo_do_super(obj, MY_CLASS, eo_constructor()); 240 eo_do_super(obj, MY_CLASS, eo_constructor());
237 eo_do(obj, 241 eo_do(obj,
238 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 242 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
239 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 243 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
244 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SPLIT_PANE));
240} 245}
241 246
242EINA_DEPRECATED EAPI void 247EINA_DEPRECATED EAPI void
diff --git a/legacy/elementary/src/lib/elm_photo.c b/legacy/elementary/src/lib/elm_photo.c
index 7aa012a72e..ba0ee5bdc5 100644
--- a/legacy/elementary/src/lib/elm_photo.c
+++ b/legacy/elementary/src/lib/elm_photo.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_photo.h" 8#include "elm_widget_photo.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_PHOTO_CLASS 14#define MY_CLASS ELM_PHOTO_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Photo" 16#define MY_CLASS_NAME "Elm_Photo"
@@ -315,7 +319,8 @@ _elm_photo_eo_base_constructor(Eo *obj, Elm_Photo_Data *_pd EINA_UNUSED)
315 eo_do_super(obj, MY_CLASS, eo_constructor()); 319 eo_do_super(obj, MY_CLASS, eo_constructor());
316 eo_do(obj, 320 eo_do(obj,
317 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 321 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
318 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 322 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
323 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
319} 324}
320 325
321EOLIAN static Eina_Bool 326EOLIAN static Eina_Bool
diff --git a/legacy/elementary/src/lib/elm_photocam.c b/legacy/elementary/src/lib/elm_photocam.c
index e71787d0b1..da9895debf 100644
--- a/legacy/elementary/src/lib/elm_photocam.c
+++ b/legacy/elementary/src/lib/elm_photocam.c
@@ -8,6 +8,10 @@
8#include "elm_widget_photocam.h" 8#include "elm_widget_photocam.h"
9#include "elm_interface_scrollable.h" 9#include "elm_interface_scrollable.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_PAN_CLASS ELM_PHOTOCAM_PAN_CLASS 15#define MY_PAN_CLASS ELM_PHOTOCAM_PAN_CLASS
12 16
13#define MY_PAN_CLASS_NAME "Elm_Photocam_Pan" 17#define MY_PAN_CLASS_NAME "Elm_Photocam_Pan"
@@ -1416,7 +1420,8 @@ _elm_photocam_eo_base_constructor(Eo *obj, Elm_Photocam_Data *_pd EINA_UNUSED)
1416 eo_do_super(obj, MY_CLASS, eo_constructor()); 1420 eo_do_super(obj, MY_CLASS, eo_constructor());
1417 eo_do(obj, 1421 eo_do(obj,
1418 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1422 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1419 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 1423 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
1424 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
1420} 1425}
1421 1426
1422static void 1427static void
diff --git a/legacy/elementary/src/lib/elm_plug.c b/legacy/elementary/src/lib/elm_plug.c
index dbaccd258f..1beabf1e6b 100644
--- a/legacy/elementary/src/lib/elm_plug.c
+++ b/legacy/elementary/src/lib/elm_plug.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_plug.h" 8#include "elm_widget_plug.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_PLUG_CLASS 14#define MY_CLASS ELM_PLUG_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Plug" 16#define MY_CLASS_NAME "Elm_Plug"
@@ -145,7 +149,8 @@ _elm_plug_eo_base_constructor(Eo *obj, void *sd EINA_UNUSED)
145 eo_do_super(obj, MY_CLASS, eo_constructor()); 149 eo_do_super(obj, MY_CLASS, eo_constructor());
146 eo_do(obj, 150 eo_do(obj,
147 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 151 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
148 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 152 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
153 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
149} 154}
150 155
151EOLIAN static Evas_Object* 156EOLIAN static Evas_Object*
diff --git a/legacy/elementary/src/lib/elm_prefs.c b/legacy/elementary/src/lib/elm_prefs.c
index 219b1cb7a6..3b4cfd0803 100644
--- a/legacy/elementary/src/lib/elm_prefs.c
+++ b/legacy/elementary/src/lib/elm_prefs.c
@@ -10,6 +10,10 @@
10 10
11#include "Eo.h" 11#include "Eo.h"
12 12
13#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
14#include "elm_interface_atspi_accessible.h"
15#include "elm_interface_atspi_accessible.eo.h"
16
13#define MY_CLASS ELM_PREFS_CLASS 17#define MY_CLASS ELM_PREFS_CLASS
14 18
15#define MY_CLASS_NAME "Elm_Prefs" 19#define MY_CLASS_NAME "Elm_Prefs"
@@ -517,7 +521,8 @@ _elm_prefs_eo_base_constructor(Eo *obj, Elm_Prefs_Data *_pd EINA_UNUSED)
517 eo_do_super(obj, MY_CLASS, eo_constructor()); 521 eo_do_super(obj, MY_CLASS, eo_constructor());
518 eo_do(obj, 522 eo_do(obj,
519 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 523 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
520 evas_obj_smart_callbacks_descriptions_set(_elm_prefs_smart_callbacks)); 524 evas_obj_smart_callbacks_descriptions_set(_elm_prefs_smart_callbacks),
525 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_REDUNDANT_OBJECT));
521} 526}
522 527
523static Eina_Bool 528static Eina_Bool
diff --git a/legacy/elementary/src/lib/elm_progressbar.c b/legacy/elementary/src/lib/elm_progressbar.c
index 5c363fa5f7..816341170d 100644
--- a/legacy/elementary/src/lib/elm_progressbar.c
+++ b/legacy/elementary/src/lib/elm_progressbar.c
@@ -8,6 +8,10 @@
8#include "elm_widget_progressbar.h" 8#include "elm_widget_progressbar.h"
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_PROGRESSBAR_CLASS 15#define MY_CLASS ELM_PROGRESSBAR_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Progressbar" 17#define MY_CLASS_NAME "Elm_Progressbar"
@@ -332,7 +336,8 @@ _elm_progressbar_eo_base_constructor(Eo *obj, Elm_Progressbar_Data *_pd EINA_UNU
332 eo_do_super(obj, MY_CLASS, eo_constructor()); 336 eo_do_super(obj, MY_CLASS, eo_constructor());
333 eo_do(obj, 337 eo_do(obj,
334 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 338 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
335 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 339 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
340 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PROGRESS_BAR));
336} 341}
337 342
338EOLIAN static void 343EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_radio.c b/legacy/elementary/src/lib/elm_radio.c
index 651ef103f7..0532c1834f 100644
--- a/legacy/elementary/src/lib/elm_radio.c
+++ b/legacy/elementary/src/lib/elm_radio.c
@@ -8,6 +8,10 @@
8#include "elm_widget_radio.h" 8#include "elm_widget_radio.h"
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_RADIO_CLASS 15#define MY_CLASS ELM_RADIO_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Radio" 17#define MY_CLASS_NAME "Elm_Radio"
@@ -322,7 +326,8 @@ _elm_radio_eo_base_constructor(Eo *obj, Elm_Radio_Data *_pd EINA_UNUSED)
322 eo_do_super(obj, MY_CLASS, eo_constructor()); 326 eo_do_super(obj, MY_CLASS, eo_constructor());
323 eo_do(obj, 327 eo_do(obj,
324 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 328 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
325 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 329 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
330 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_RADIO_BUTTON));
326} 331}
327 332
328EOLIAN static void 333EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_scroller.c b/legacy/elementary/src/lib/elm_scroller.c
index 2ae30ddd6b..7d10c7516f 100644
--- a/legacy/elementary/src/lib/elm_scroller.c
+++ b/legacy/elementary/src/lib/elm_scroller.c
@@ -9,6 +9,10 @@
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10#include "elm_widget_scroller.h" 10#include "elm_widget_scroller.h"
11 11
12#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
13#include "elm_interface_atspi_accessible.h"
14#include "elm_interface_atspi_accessible.eo.h"
15
12#define MY_CLASS ELM_SCROLLER_CLASS 16#define MY_CLASS ELM_SCROLLER_CLASS
13 17
14#define MY_CLASS_NAME "Elm_Scroller" 18#define MY_CLASS_NAME "Elm_Scroller"
@@ -773,7 +777,8 @@ _elm_scroller_eo_base_constructor(Eo *obj, Elm_Scroller_Data *_pd EINA_UNUSED)
773 eo_do_super(obj, MY_CLASS, eo_constructor()); 777 eo_do_super(obj, MY_CLASS, eo_constructor());
774 eo_do(obj, 778 eo_do(obj,
775 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 779 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
776 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 780 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
781 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SCROLL_PANE));
777} 782}
778 783
779/* deprecated */ 784/* deprecated */
diff --git a/legacy/elementary/src/lib/elm_segment_control.c b/legacy/elementary/src/lib/elm_segment_control.c
index db129dc0f4..ed0c8bb2dc 100644
--- a/legacy/elementary/src/lib/elm_segment_control.c
+++ b/legacy/elementary/src/lib/elm_segment_control.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_segment_control.h" 8#include "elm_widget_segment_control.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_SEGMENT_CONTROL_CLASS 14#define MY_CLASS ELM_SEGMENT_CONTROL_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Segment_Control" 16#define MY_CLASS_NAME "Elm_Segment_Control"
@@ -687,7 +691,8 @@ _elm_segment_control_eo_base_constructor(Eo *obj, Elm_Segment_Control_Data *sd)
687 eo_do_super(obj, MY_CLASS, eo_constructor()); 691 eo_do_super(obj, MY_CLASS, eo_constructor());
688 eo_do(obj, 692 eo_do(obj,
689 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 693 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
690 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 694 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
695 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
691} 696}
692 697
693EOLIAN static Elm_Object_Item* 698EOLIAN static Elm_Object_Item*
diff --git a/legacy/elementary/src/lib/elm_separator.c b/legacy/elementary/src/lib/elm_separator.c
index 5a48d49955..736a346873 100644
--- a/legacy/elementary/src/lib/elm_separator.c
+++ b/legacy/elementary/src/lib/elm_separator.c
@@ -8,6 +8,10 @@
8#include "elm_widget_separator.h" 8#include "elm_widget_separator.h"
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_SEPARATOR_CLASS 15#define MY_CLASS ELM_SEPARATOR_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Separator" 17#define MY_CLASS_NAME "Elm_Separator"
@@ -70,7 +74,8 @@ _elm_separator_eo_base_constructor(Eo *obj, Elm_Separator_Data *sd EINA_UNUSED)
70{ 74{
71 eo_do_super(obj, MY_CLASS, eo_constructor()); 75 eo_do_super(obj, MY_CLASS, eo_constructor());
72 eo_do(obj, 76 eo_do(obj,
73 evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 77 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
78 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SEPARATOR));
74} 79}
75 80
76EOLIAN static void 81EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_slider.c b/legacy/elementary/src/lib/elm_slider.c
index ba321d0921..d3ea968af7 100644
--- a/legacy/elementary/src/lib/elm_slider.c
+++ b/legacy/elementary/src/lib/elm_slider.c
@@ -8,6 +8,10 @@
8#include "elm_widget_slider.h" 8#include "elm_widget_slider.h"
9#include "elm_widget_layout.h" 9#include "elm_widget_layout.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED 15#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
12#include "elm_interface_atspi_value.eo.h" 16#include "elm_interface_atspi_value.eo.h"
13 17
@@ -917,7 +921,8 @@ _elm_slider_eo_base_constructor(Eo *obj, Elm_Slider_Data *_pd EINA_UNUSED)
917 eo_do_super(obj, MY_CLASS, eo_constructor()); 921 eo_do_super(obj, MY_CLASS, eo_constructor());
918 eo_do(obj, 922 eo_do(obj,
919 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 923 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
920 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 924 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
925 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SLIDER));
921} 926}
922 927
923EOLIAN static void 928EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_slideshow.c b/legacy/elementary/src/lib/elm_slideshow.c
index 02ce16ddb0..830b763c0a 100644
--- a/legacy/elementary/src/lib/elm_slideshow.c
+++ b/legacy/elementary/src/lib/elm_slideshow.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_slideshow.h" 8#include "elm_widget_slideshow.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_SLIDESHOW_CLASS 14#define MY_CLASS ELM_SLIDESHOW_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Slideshow" 16#define MY_CLASS_NAME "Elm_Slideshow"
@@ -384,7 +388,8 @@ _elm_slideshow_eo_base_constructor(Eo *obj, Elm_Slideshow_Data *_pd EINA_UNUSED)
384 eo_do_super(obj, MY_CLASS, eo_constructor()); 388 eo_do_super(obj, MY_CLASS, eo_constructor());
385 eo_do(obj, 389 eo_do(obj,
386 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 390 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
387 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 391 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
392 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_DOCUMENT_PRESENTATION));
388} 393}
389 394
390EOLIAN static Elm_Object_Item* 395EOLIAN static Elm_Object_Item*
diff --git a/legacy/elementary/src/lib/elm_spinner.c b/legacy/elementary/src/lib/elm_spinner.c
index 16daa81efd..fa03342d74 100644
--- a/legacy/elementary/src/lib/elm_spinner.c
+++ b/legacy/elementary/src/lib/elm_spinner.c
@@ -10,6 +10,10 @@
10 10
11#include "Eo.h" 11#include "Eo.h"
12 12
13#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
14#include "elm_interface_atspi_accessible.h"
15#include "elm_interface_atspi_accessible.eo.h"
16
13#define MY_CLASS ELM_SPINNER_CLASS 17#define MY_CLASS ELM_SPINNER_CLASS
14 18
15#define MY_CLASS_NAME "Elm_Spinner" 19#define MY_CLASS_NAME "Elm_Spinner"
@@ -847,7 +851,8 @@ _elm_spinner_eo_base_constructor(Eo *obj, Elm_Spinner_Data *_pd EINA_UNUSED)
847 eo_do_super(obj, MY_CLASS, eo_constructor()); 851 eo_do_super(obj, MY_CLASS, eo_constructor());
848 eo_do(obj, 852 eo_do(obj,
849 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 853 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
850 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 854 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
855 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SPIN_BUTTON));
851} 856}
852 857
853EOLIAN static void 858EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_table.c b/legacy/elementary/src/lib/elm_table.c
index e24f9e45b4..e912c8af86 100644
--- a/legacy/elementary/src/lib/elm_table.c
+++ b/legacy/elementary/src/lib/elm_table.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_table.h" 8#include "elm_widget_table.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS ELM_TABLE_CLASS 14#define MY_CLASS ELM_TABLE_CLASS
11 15
12#define MY_CLASS_NAME "Elm_Table" 16#define MY_CLASS_NAME "Elm_Table"
@@ -223,7 +227,8 @@ _elm_table_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED)
223{ 227{
224 eo_do_super(obj, MY_CLASS, eo_constructor()); 228 eo_do_super(obj, MY_CLASS, eo_constructor());
225 eo_do(obj, 229 eo_do(obj,
226 evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 230 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
231 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
227} 232}
228 233
229EOLIAN static void 234EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_thumb.c b/legacy/elementary/src/lib/elm_thumb.c
index 1765a738f5..d6d7d04ae5 100644
--- a/legacy/elementary/src/lib/elm_thumb.c
+++ b/legacy/elementary/src/lib/elm_thumb.c
@@ -7,6 +7,10 @@
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_widget_thumb.h" 8#include "elm_widget_thumb.h"
9 9
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
10#define MY_CLASS_NAME "Elm_Thumb" 14#define MY_CLASS_NAME "Elm_Thumb"
11#define MY_CLASS_NAME_LEGACY "elm_thumb" 15#define MY_CLASS_NAME_LEGACY "elm_thumb"
12 16
@@ -594,7 +598,8 @@ _elm_thumb_eo_base_constructor(Eo *obj, Elm_Thumb_Data *sd)
594 eo_do_super(obj, MY_CLASS, eo_constructor()); 598 eo_do_super(obj, MY_CLASS, eo_constructor());
595 eo_do(obj, 599 eo_do(obj,
596 evas_obj_type_set("Elm_Thumb"), 600 evas_obj_type_set("Elm_Thumb"),
597 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 601 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
602 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
598 603
599 sd->obj = obj; 604 sd->obj = obj;
600} 605}
diff --git a/legacy/elementary/src/lib/elm_toolbar.c b/legacy/elementary/src/lib/elm_toolbar.c
index 9d51be77ad..de4f7e1654 100644
--- a/legacy/elementary/src/lib/elm_toolbar.c
+++ b/legacy/elementary/src/lib/elm_toolbar.c
@@ -8,6 +8,10 @@
8#include "elm_widget_toolbar.h" 8#include "elm_widget_toolbar.h"
9#include "els_box.h" 9#include "els_box.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11#define MY_CLASS ELM_TOOLBAR_CLASS 15#define MY_CLASS ELM_TOOLBAR_CLASS
12 16
13#define MY_CLASS_NAME "Elm_Toolbar" 17#define MY_CLASS_NAME "Elm_Toolbar"
@@ -2983,7 +2987,8 @@ _elm_toolbar_eo_base_constructor(Eo *obj, Elm_Toolbar_Data *_pd EINA_UNUSED)
2983 eo_do_super(obj, MY_CLASS, eo_constructor()); 2987 eo_do_super(obj, MY_CLASS, eo_constructor());
2984 eo_do(obj, 2988 eo_do(obj,
2985 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 2989 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
2986 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 2990 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
2991 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TOOL_BAR));
2987} 2992}
2988 2993
2989EOLIAN static void 2994EOLIAN static void
diff --git a/legacy/elementary/src/lib/elm_video.c b/legacy/elementary/src/lib/elm_video.c
index a6da4f54ba..d49b58133c 100644
--- a/legacy/elementary/src/lib/elm_video.c
+++ b/legacy/elementary/src/lib/elm_video.c
@@ -13,6 +13,10 @@
13/* TODO: add buffering support to Emotion and display buffering 13/* TODO: add buffering support to Emotion and display buffering
14 * progress in the theme when needed */ 14 * progress in the theme when needed */
15 15
16#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
17#include "elm_interface_atspi_accessible.h"
18#include "elm_interface_atspi_accessible.eo.h"
19
16#define MY_CLASS ELM_VIDEO_CLASS 20#define MY_CLASS ELM_VIDEO_CLASS
17 21
18#define MY_CLASS_NAME "Elm_Video" 22#define MY_CLASS_NAME "Elm_Video"
@@ -278,7 +282,8 @@ _elm_video_eo_base_constructor(Eo *obj, Elm_Video_Data *_pd EINA_UNUSED)
278 eo_do_super(obj, MY_CLASS, eo_constructor()); 282 eo_do_super(obj, MY_CLASS, eo_constructor());
279 eo_do(obj, 283 eo_do(obj,
280 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 284 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
281 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); 285 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
286 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ANIMATION));
282} 287}
283 288
284EOLIAN static Eina_Bool 289EOLIAN static Eina_Bool
diff --git a/legacy/elementary/src/lib/elm_web.c b/legacy/elementary/src/lib/elm_web.c
index 9a07a16ffd..a8e55e426f 100644
--- a/legacy/elementary/src/lib/elm_web.c
+++ b/legacy/elementary/src/lib/elm_web.c
@@ -14,6 +14,10 @@
14 14
15#if !defined(HAVE_ELEMENTARY_WEB) || !defined(USE_WEBKIT2) 15#if !defined(HAVE_ELEMENTARY_WEB) || !defined(USE_WEBKIT2)
16 16
17#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
18#include "elm_interface_atspi_accessible.h"
19#include "elm_interface_atspi_accessible.eo.h"
20
17#define MY_CLASS ELM_WEB_CLASS 21#define MY_CLASS ELM_WEB_CLASS
18 22
19#define MY_CLASS_NAME "Elm_Web" 23#define MY_CLASS_NAME "Elm_Web"
@@ -1231,7 +1235,8 @@ _elm_web_eo_base_constructor(Eo *obj, Elm_Web_Data *sd)
1231 eo_do_super(obj, MY_CLASS, eo_constructor()); 1235 eo_do_super(obj, MY_CLASS, eo_constructor());
1232 eo_do(obj, 1236 eo_do(obj,
1233 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 1237 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
1234 evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks)); 1238 evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks),
1239 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_HTML_CONTAINER));
1235} 1240}
1236 1241
1237EOLIAN static Evas_Object* 1242EOLIAN static Evas_Object*
diff --git a/legacy/elementary/src/tests/Makefile.am b/legacy/elementary/src/tests/Makefile.am
index 264da51ebc..dbd18c336f 100644
--- a/legacy/elementary/src/tests/Makefile.am
+++ b/legacy/elementary/src/tests/Makefile.am
@@ -11,7 +11,65 @@ elm_suite_SOURCES = \
11 elm_test_colorselector.c \ 11 elm_test_colorselector.c \
12 elm_test_entry.c \ 12 elm_test_entry.c \
13 elm_test_init.c \ 13 elm_test_init.c \
14 elm_test_list.c 14 elm_test_list.c \
15 elm_test_button.c \
16 elm_test_image.c \
17 elm_test_photo.c \
18 elm_test_actionslider.c \
19 elm_test_box.c \
20 elm_test_table.c \
21 elm_test_thumb.c \
22 elm_test_menu.c \
23 elm_test_photocam.c \
24 elm_test_win.c \
25 elm_test_icon.c \
26 elm_test_prefs.c \
27 elm_test_map.c \
28 elm_test_glview.c \
29 elm_test_web.c \
30 elm_test_toolbar.c \
31 elm_test_grid.c \
32 elm_test_diskselector.c \
33 elm_test_notify.c \
34 elm_test_mapbuf.c \
35 elm_test_flip.c \
36 elm_test_layout.c \
37 elm_test_slider.c \
38 elm_test_ctxpopup.c \
39 elm_test_separator.c \
40 elm_test_calendar.c \
41 elm_test_inwin.c \
42 elm_test_gengrid.c \
43 elm_test_radio.c \
44 elm_test_scroller.c \
45 elm_test_frame.c \
46 elm_test_datetime.c \
47 elm_test_player.c \
48 elm_test_bg.c \
49 elm_test_video.c \
50 elm_test_segmentcontrol.c \
51 elm_test_progressbar.c \
52 elm_test_fileselector.c \
53 elm_test_fileselector_button.c \
54 elm_test_fileselector_entry.c \
55 elm_test_hoversel.c \
56 elm_test_multibuttonentry.c \
57 elm_test_naviframe.c \
58 elm_test_popup.c \
59 elm_test_bubble.c \
60 elm_test_clock.c \
61 elm_test_conformant.c \
62 elm_test_dayselector.c \
63 elm_test_flipselector.c \
64 elm_test_genlist.c \
65 elm_test_hover.c \
66 elm_test_index.c \
67 elm_test_label.c \
68 elm_test_panel.c \
69 elm_test_panes.c \
70 elm_test_slideshow.c \
71 elm_test_spinner.c \
72 elm_test_plug.c
15 73
16elm_suite_CPPFLAGS = \ 74elm_suite_CPPFLAGS = \
17 -DTESTS_BUILD_DIR=\"${top_builddir}/src/tests\" \ 75 -DTESTS_BUILD_DIR=\"${top_builddir}/src/tests\" \
diff --git a/legacy/elementary/src/tests/elm_suite.c b/legacy/elementary/src/tests/elm_suite.c
index efa5df83f4..dde196291b 100644
--- a/legacy/elementary/src/tests/elm_suite.c
+++ b/legacy/elementary/src/tests/elm_suite.c
@@ -19,7 +19,65 @@ static const Elementary_Test_Case etc[] = {
19 { "elm_colorselector", elm_test_colorselector }, 19 { "elm_colorselector", elm_test_colorselector },
20 { "elm_entry", elm_test_entry}, 20 { "elm_entry", elm_test_entry},
21 { "elm_atspi", elm_test_atspi}, 21 { "elm_atspi", elm_test_atspi},
22 { "elm_button", elm_test_button},
23 { "elm_image", elm_test_image},
22 { "elm_list", elm_test_list}, 24 { "elm_list", elm_test_list},
25 { "elm_photo", elm_test_photo},
26 { "elm_actionslider", elm_test_actionslider},
27 { "elm_box", elm_test_box},
28 { "elm_table", elm_test_table},
29 { "elm_thumb", elm_test_thumb},
30 { "elm_menu", elm_test_menu},
31 { "elm_photocam", elm_test_photocam},
32 { "elm_win", elm_test_win},
33 { "elm_icon", elm_test_icon},
34 { "elm_prefs", elm_test_prefs},
35 { "elm_map", elm_test_map},
36 { "elm_glview", elm_test_glview},
37 { "elm_web", elm_test_web},
38 { "elm_toolbar", elm_test_toolbar},
39 { "elm_grid", elm_test_grid},
40 { "elm_diskselector", elm_test_diskselector},
41 { "elm_notify", elm_test_notify},
42 { "elm_mapbuf", elm_test_mapbuf},
43 { "elm_flip", elm_test_flip},
44 { "elm_layout", elm_test_layout},
45 { "elm_slider", elm_test_slider},
46 { "elm_ctxpopup", elm_test_ctxpopup},
47 { "elm_separator", elm_test_separator},
48 { "elm_calendar", elm_test_calendar},
49 { "elm_inwin", elm_test_inwin},
50 { "elm_gengrid", elm_test_gengrid},
51 { "elm_radio", elm_test_radio},
52 { "elm_scroller", elm_test_scroller},
53 { "elm_frame", elm_test_frame},
54 { "elm_datetime", elm_test_datetime},
55 { "elm_player", elm_test_player},
56 { "elm_bg", elm_test_bg},
57 { "elm_video", elm_test_video},
58 { "elm_segmentcontrol", elm_test_segmentcontrol},
59 { "elm_progressbar", elm_test_progressbar},
60 { "elm_fileselector", elm_test_fileselector},
61 { "elm_fileselector_button", elm_test_fileselector_button},
62 { "elm_fileselector_entry", elm_test_fileselector_entry},
63 { "elm_hoversel", elm_test_hoversel},
64 { "elm_multibuttonentry", elm_test_multibuttonentry},
65 { "elm_naviframe", elm_test_naviframe},
66 { "elm_popup", elm_test_popup},
67 { "elm_bubble", elm_test_bubble},
68 { "elm_clock", elm_test_clock},
69 { "elm_conformant", elm_test_conformant},
70 { "elm_dayselector", elm_test_dayselector},
71 { "elm_flipselector", elm_test_flipselector},
72 { "elm_genlist", elm_test_genlist},
73 { "elm_hover", elm_test_hover},
74 { "elm_index", elm_test_index},
75 { "elm_label", elm_test_label},
76 { "elm_panel", elm_test_panel},
77 { "elm_panes", elm_test_panes},
78 { "elm_slideshow", elm_test_slideshow},
79 { "elm_spinner", elm_test_spinner},
80 { "elm_plug", elm_test_plug},
23 { NULL, NULL } 81 { NULL, NULL }
24}; 82};
25 83
diff --git a/legacy/elementary/src/tests/elm_suite.h b/legacy/elementary/src/tests/elm_suite.h
index 4ff62f932b..7918a4efb5 100644
--- a/legacy/elementary/src/tests/elm_suite.h
+++ b/legacy/elementary/src/tests/elm_suite.h
@@ -8,6 +8,64 @@ void elm_test_check(TCase *tc);
8void elm_test_colorselector(TCase *tc); 8void elm_test_colorselector(TCase *tc);
9void elm_test_entry(TCase *tc); 9void elm_test_entry(TCase *tc);
10void elm_test_atspi(TCase *tc); 10void elm_test_atspi(TCase *tc);
11void elm_test_button(TCase *tc);
12void elm_test_image(TCase *tc);
11void elm_test_list(TCase *tc); 13void elm_test_list(TCase *tc);
14void elm_test_photo(TCase *tc);
15void elm_test_actionslider(TCase *tc);
16void elm_test_box(TCase *tc);
17void elm_test_table(TCase *tc);
18void elm_test_thumb(TCase *tc);
19void elm_test_menu(TCase *tc);
20void elm_test_photocam(TCase *tc);
21void elm_test_win(TCase *tc);
22void elm_test_icon(TCase *tc);
23void elm_test_prefs(TCase *tc);
24void elm_test_map(TCase *tc);
25void elm_test_glview(TCase *tc);
26void elm_test_web(TCase *tc);
27void elm_test_toolbar(TCase *tc);
28void elm_test_grid(TCase *tc);
29void elm_test_diskselector(TCase *tc);
30void elm_test_notify(TCase *tc);
31void elm_test_mapbuf(TCase *tc);
32void elm_test_flip(TCase *tc);
33void elm_test_layout(TCase *tc);
34void elm_test_slider(TCase *tc);
35void elm_test_ctxpopup(TCase *tc);
36void elm_test_separator(TCase *tc);
37void elm_test_calendar(TCase *tc);
38void elm_test_inwin(TCase *tc);
39void elm_test_gengrid(TCase *tc);
40void elm_test_radio(TCase *tc);
41void elm_test_scroller(TCase *tc);
42void elm_test_frame(TCase *tc);
43void elm_test_datetime(TCase *tc);
44void elm_test_player(TCase *tc);
45void elm_test_bg(TCase *tc);
46void elm_test_video(TCase *tc);
47void elm_test_segmentcontrol(TCase *tc);
48void elm_test_progressbar(TCase *tc);
49void elm_test_fileselector(TCase *tc);
50void elm_test_fileselector_button(TCase *tc);
51void elm_test_fileselector_entry(TCase *tc);
52void elm_test_hoversel(TCase *tc);
53void elm_test_multibuttonentry(TCase *tc);
54void elm_test_naviframe(TCase *tc);
55void elm_test_popup(TCase *tc);
56void elm_test_bubble(TCase *tc);
57void elm_test_clock(TCase *tc);
58void elm_test_conformant(TCase *tc);
59void elm_test_dayselector(TCase *tc);
60void elm_test_flipselector(TCase *tc);
61void elm_test_genlist(TCase *tc);
62void elm_test_hover(TCase *tc);
63void elm_test_index(TCase *tc);
64void elm_test_label(TCase *tc);
65void elm_test_panel(TCase *tc);
66void elm_test_panes(TCase *tc);
67void elm_test_slideshow(TCase *tc);
68void elm_test_spinner(TCase *tc);
69void elm_test_plug(TCase *tc);
12 70
13#endif /* _ELM_SUITE_H */ 71#endif /* _ELM_SUITE_H */
diff --git a/legacy/elementary/src/tests/elm_test_actionslider.c b/legacy/elementary/src/tests/elm_test_actionslider.c
new file mode 100644
index 0000000000..4974587f97
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_actionslider.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *actionslider;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC);
20
21 actionslider = elm_actionslider_add(win);
22 eo_do(actionslider, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_SLIDER);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_actionslider(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_bg.c b/legacy/elementary/src/tests/elm_test_bg.c
new file mode 100644
index 0000000000..1d341db5d4
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_bg.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *bg;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "bg", ELM_WIN_BASIC);
20
21 bg = elm_bg_add(win);
22 eo_do(bg, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_IMAGE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_bg(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_box.c b/legacy/elementary/src/tests/elm_test_box.c
new file mode 100644
index 0000000000..eacfbae488
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_box.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *box;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "box", ELM_WIN_BASIC);
20
21 box = elm_box_add(win);
22 eo_do(box, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_FILLER);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_box(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_bubble.c b/legacy/elementary/src/tests/elm_test_bubble.c
new file mode 100644
index 0000000000..e3f59fc1c7
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_bubble.c
@@ -0,0 +1,34 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *bubble;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC);
20
21 bubble = elm_bubble_add(win);
22 eo_do(bubble, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_FILLER);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_bubble(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
34
diff --git a/legacy/elementary/src/tests/elm_test_button.c b/legacy/elementary/src/tests/elm_test_button.c
new file mode 100644
index 0000000000..b54fc8fb0a
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_button.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *button;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
20
21 button = elm_button_add(win);
22 eo_do(button, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_PUSH_BUTTON);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_button(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_calendar.c b/legacy/elementary/src/tests/elm_test_calendar.c
new file mode 100644
index 0000000000..6366f6bb5f
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_calendar.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *calendar;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
20
21 calendar = elm_calendar_add(win);
22 eo_do(calendar, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_CALENDAR);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_calendar(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_check.c b/legacy/elementary/src/tests/elm_test_check.c
index 5c3eb2d08d..5e1c17783d 100644
--- a/legacy/elementary/src/tests/elm_test_check.c
+++ b/legacy/elementary/src/tests/elm_test_check.c
@@ -5,6 +5,10 @@
5#include <Elementary.h> 5#include <Elementary.h>
6#include "elm_suite.h" 6#include "elm_suite.h"
7 7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
8START_TEST (elm_check_onoff_text) 12START_TEST (elm_check_onoff_text)
9{ 13{
10 Evas_Object *win, *check; 14 Evas_Object *win, *check;
@@ -49,8 +53,26 @@ START_TEST (elm_check_state)
49} 53}
50END_TEST 54END_TEST
51 55
56START_TEST (elm_atspi_role_get)
57{
58 Evas_Object *win, *check;
59 Elm_Atspi_Role role;
60
61 elm_init(1, NULL);
62 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
63
64 check = elm_check_add(win);
65 eo_do(check, role = elm_interface_atspi_accessible_role_get());
66
67 ck_assert(role == ELM_ATSPI_ROLE_CHECK_BOX);
68
69 elm_shutdown();
70}
71END_TEST
72
52void elm_test_check(TCase *tc) 73void elm_test_check(TCase *tc)
53{ 74{
54 tcase_add_test(tc, elm_check_onoff_text); 75 tcase_add_test(tc, elm_check_onoff_text);
55 tcase_add_test(tc, elm_check_state); 76 tcase_add_test(tc, elm_check_state);
77 tcase_add_test(tc, elm_atspi_role_get);
56} 78}
diff --git a/legacy/elementary/src/tests/elm_test_clock.c b/legacy/elementary/src/tests/elm_test_clock.c
new file mode 100644
index 0000000000..1eca4361e9
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_clock.c
@@ -0,0 +1,34 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *clock;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC);
20
21 clock = elm_clock_add(win);
22 eo_do(clock, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_TEXT);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_clock(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
34
diff --git a/legacy/elementary/src/tests/elm_test_colorselector.c b/legacy/elementary/src/tests/elm_test_colorselector.c
index 3c3cbd18ec..d74a5f63c8 100644
--- a/legacy/elementary/src/tests/elm_test_colorselector.c
+++ b/legacy/elementary/src/tests/elm_test_colorselector.c
@@ -5,6 +5,10 @@
5#include <Elementary.h> 5#include <Elementary.h>
6#include "elm_suite.h" 6#include "elm_suite.h"
7 7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
8START_TEST (elm_colorselector_palette) 12START_TEST (elm_colorselector_palette)
9{ 13{
10 Evas_Object *win, *c; 14 Evas_Object *win, *c;
@@ -32,7 +36,25 @@ START_TEST (elm_colorselector_palette)
32} 36}
33END_TEST 37END_TEST
34 38
39START_TEST (elm_atspi_role_get)
40{
41 Evas_Object *win, *c;
42 Elm_Atspi_Role role;
43
44 elm_init(1, NULL);
45 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC);
46
47 c = elm_colorselector_add(win);
48 eo_do(c, role = elm_interface_atspi_accessible_role_get());
49
50 ck_assert(role == ELM_ATSPI_ROLE_COLOR_CHOOSER);
51
52 elm_shutdown();
53}
54END_TEST
55
35void elm_test_colorselector(TCase *tc) 56void elm_test_colorselector(TCase *tc)
36{ 57{
37 tcase_add_test(tc, elm_colorselector_palette); 58 tcase_add_test(tc, elm_colorselector_palette);
59 tcase_add_test(tc, elm_atspi_role_get);
38} 60}
diff --git a/legacy/elementary/src/tests/elm_test_conformant.c b/legacy/elementary/src/tests/elm_test_conformant.c
new file mode 100644
index 0000000000..478569cf7d
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_conformant.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *conformant;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC);
20
21 conformant = elm_conformant_add(win);
22 eo_do(conformant, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_FILLER);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_conformant(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_ctxpopup.c b/legacy/elementary/src/tests/elm_test_ctxpopup.c
new file mode 100644
index 0000000000..cc744e6303
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_ctxpopup.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *ctxpopup;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
20
21 ctxpopup = elm_ctxpopup_add(win);
22 eo_do(ctxpopup, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_POPUP_MENU);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_ctxpopup(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_datetime.c b/legacy/elementary/src/tests/elm_test_datetime.c
new file mode 100644
index 0000000000..06128c1c1f
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_datetime.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *datetime;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC);
20
21 datetime = elm_datetime_add(win);
22 eo_do(datetime, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_DATE_EDITOR);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_datetime(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_dayselector.c b/legacy/elementary/src/tests/elm_test_dayselector.c
new file mode 100644
index 0000000000..1eebfd0b37
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_dayselector.c
@@ -0,0 +1,34 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *dayselector;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC);
20
21 dayselector = elm_dayselector_add(win);
22 eo_do(dayselector, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_PANEL);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_dayselector(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
34
diff --git a/legacy/elementary/src/tests/elm_test_diskselector.c b/legacy/elementary/src/tests/elm_test_diskselector.c
new file mode 100644
index 0000000000..e0296c483f
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_diskselector.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *diskselector;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC);
20
21 diskselector = elm_diskselector_add(win);
22 eo_do(diskselector, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_LIST);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_diskselector(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_entry.c b/legacy/elementary/src/tests/elm_test_entry.c
index 3fdf31bf98..d3cc16573d 100644
--- a/legacy/elementary/src/tests/elm_test_entry.c
+++ b/legacy/elementary/src/tests/elm_test_entry.c
@@ -6,15 +6,18 @@
6#include "elm_suite.h" 6#include "elm_suite.h"
7 7
8#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED 8#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_text.h" 10#include "elm_interface_atspi_text.h"
10#include "elm_interface_atspi_text.eo.h" 11#include "elm_interface_atspi_text.eo.h"
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
11 14
12START_TEST (elm_entry_del) 15START_TEST (elm_entry_del)
13{ 16{
14 Evas_Object *win, *entry; 17 Evas_Object *win, *entry;
15 18
16 elm_init(1, NULL); 19 elm_init(1, NULL);
17 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 20 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
18 21
19 entry = elm_entry_add(win); 22 entry = elm_entry_add(win);
20 elm_object_text_set(entry, "TEST"); 23 elm_object_text_set(entry, "TEST");
@@ -349,6 +352,23 @@ START_TEST (elm_entry_atspi_text_attributes)
349} 352}
350END_TEST 353END_TEST
351 354
355START_TEST (elm_atspi_role_get)
356{
357 Evas_Object *win, *entry;
358 Elm_Atspi_Role role;
359
360 elm_init(1, NULL);
361 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
362
363 entry = elm_entry_add(win);
364 eo_do(entry, role = elm_interface_atspi_accessible_role_get());
365
366 ck_assert(role == ELM_ATSPI_ROLE_ENTRY);
367
368 elm_shutdown();
369}
370END_TEST
371
352void elm_test_entry(TCase *tc) 372void elm_test_entry(TCase *tc)
353{ 373{
354 tcase_add_test(tc, elm_entry_del); 374 tcase_add_test(tc, elm_entry_del);
@@ -361,4 +381,5 @@ void elm_test_entry(TCase *tc)
361 tcase_add_test(tc, elm_entry_atspi_text_text_get); 381 tcase_add_test(tc, elm_entry_atspi_text_text_get);
362 tcase_add_test(tc, elm_entry_atspi_text_selections); 382 tcase_add_test(tc, elm_entry_atspi_text_selections);
363 tcase_add_test(tc, elm_entry_atspi_text_attributes); 383 tcase_add_test(tc, elm_entry_atspi_text_attributes);
384 tcase_add_test(tc, elm_atspi_role_get);
364} 385}
diff --git a/legacy/elementary/src/tests/elm_test_fileselector.c b/legacy/elementary/src/tests/elm_test_fileselector.c
new file mode 100644
index 0000000000..5d09430837
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_fileselector.c
@@ -0,0 +1,34 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *fileselector;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC);
20
21 fileselector = elm_fileselector_add(win);
22 eo_do(fileselector, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_FILE_CHOOSER);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_fileselector(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
34
diff --git a/legacy/elementary/src/tests/elm_test_fileselector_button.c b/legacy/elementary/src/tests/elm_test_fileselector_button.c
new file mode 100644
index 0000000000..a6c4774281
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_fileselector_button.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *fs_button;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC);
20
21 fs_button = elm_fileselector_button_add(win);
22 eo_do(fs_button, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_PUSH_BUTTON);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_fileselector_button(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_fileselector_entry.c b/legacy/elementary/src/tests/elm_test_fileselector_entry.c
new file mode 100644
index 0000000000..0f02292453
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_fileselector_entry.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *fs_entry;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "fileselectorentry", ELM_WIN_BASIC);
20
21 fs_entry = elm_fileselector_entry_add(win);
22 eo_do(fs_entry, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_GROUPING);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_fileselector_entry(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_flip.c b/legacy/elementary/src/tests/elm_test_flip.c
new file mode 100644
index 0000000000..1f2635c931
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_flip.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *flip;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC);
20
21 flip = elm_flip_add(win);
22 eo_do(flip, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_PAGE_TAB_LIST);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_flip(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_flipselector.c b/legacy/elementary/src/tests/elm_test_flipselector.c
new file mode 100644
index 0000000000..2e9a0d9bf5
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_flipselector.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *flipselector;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC);
20
21 flipselector = elm_flipselector_add(win);
22 eo_do(flipselector, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_LIST);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_flipselector(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_frame.c b/legacy/elementary/src/tests/elm_test_frame.c
new file mode 100644
index 0000000000..d3a6463ac4
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_frame.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *frame;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC);
20
21 frame = elm_frame_add(win);
22 eo_do(frame, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_FRAME);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_frame(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_gengrid.c b/legacy/elementary/src/tests/elm_test_gengrid.c
new file mode 100644
index 0000000000..c3fc99effe
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_gengrid.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *gengrid;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC);
20
21 gengrid = elm_gengrid_add(win);
22 eo_do(gengrid, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_TABLE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_gengrid(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_genlist.c b/legacy/elementary/src/tests/elm_test_genlist.c
new file mode 100644
index 0000000000..9387e0bfbc
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_genlist.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *genlist;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC);
20
21 genlist = elm_genlist_add(win);
22 eo_do(genlist, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_LIST);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_genlist(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_glview.c b/legacy/elementary/src/tests/elm_test_glview.c
new file mode 100644
index 0000000000..af380056aa
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_glview.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *glview;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC);
20
21 glview = elm_glview_add(win);
22 eo_do(glview, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_ANIMATION);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_glview(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_grid.c b/legacy/elementary/src/tests/elm_test_grid.c
new file mode 100644
index 0000000000..bdacbb9a59
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_grid.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *grid;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC);
20
21 grid = elm_grid_add(win);
22 eo_do(grid, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_FILLER);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_grid(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_hover.c b/legacy/elementary/src/tests/elm_test_hover.c
new file mode 100644
index 0000000000..4aafb2fef1
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_hover.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *hover;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC);
20
21 hover = elm_hover_add(win);
22 eo_do(hover, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_GLASS_PANE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_hover(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_hoversel.c b/legacy/elementary/src/tests/elm_test_hoversel.c
new file mode 100644
index 0000000000..d4f2757688
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_hoversel.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *hoversel;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC);
20
21 hoversel = elm_hoversel_add(win);
22 eo_do(hoversel, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_GLASS_PANE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_hoversel(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_icon.c b/legacy/elementary/src/tests/elm_test_icon.c
new file mode 100644
index 0000000000..71525d0654
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_icon.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *icon;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
20
21 icon = elm_icon_add(win);
22 eo_do(icon, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_IMAGE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_icon(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_image.c b/legacy/elementary/src/tests/elm_test_image.c
new file mode 100644
index 0000000000..c8db645d0f
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_image.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *image;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
20
21 image = elm_image_add(win);
22 eo_do(image, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_IMAGE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_image(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_index.c b/legacy/elementary/src/tests/elm_test_index.c
new file mode 100644
index 0000000000..17c240e09b
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_index.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *index;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "index", ELM_WIN_BASIC);
20
21 index = elm_index_add(win);
22 eo_do(index, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_LIST);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_index(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_inwin.c b/legacy/elementary/src/tests/elm_test_inwin.c
new file mode 100644
index 0000000000..f5693b73a3
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_inwin.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *inwin;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC);
20
21 inwin = elm_win_inwin_add(win);
22 eo_do(inwin, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_GLASS_PANE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_inwin(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_label.c b/legacy/elementary/src/tests/elm_test_label.c
new file mode 100644
index 0000000000..e0f0e06dad
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_label.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *label;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "label", ELM_WIN_BASIC);
20
21 label = elm_label_add(win);
22 eo_do(label, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_LABEL);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_label(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_layout.c b/legacy/elementary/src/tests/elm_test_layout.c
new file mode 100644
index 0000000000..37f5cfd5e2
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_layout.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *layout;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
20
21 layout = elm_layout_add(win);
22 eo_do(layout, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_FILLER);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_layout(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_list.c b/legacy/elementary/src/tests/elm_test_list.c
index 4e5c4148f4..1bd5d1f013 100644
--- a/legacy/elementary/src/tests/elm_test_list.c
+++ b/legacy/elementary/src/tests/elm_test_list.c
@@ -8,6 +8,10 @@
8#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED 8#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
9#include "elm_interface_atspi_selection.eo.h" 9#include "elm_interface_atspi_selection.eo.h"
10 10
11#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h"
14
11START_TEST (elm_list_atspi_selection_selected_children_count_get) 15START_TEST (elm_list_atspi_selection_selected_children_count_get)
12{ 16{
13 Evas_Object *win, *list; 17 Evas_Object *win, *list;
@@ -178,6 +182,23 @@ START_TEST (elm_list_atspi_selection_child_deselect)
178} 182}
179END_TEST 183END_TEST
180 184
185START_TEST (elm_atspi_role_get)
186{
187 Evas_Object *win, *list;
188 Elm_Atspi_Role role;
189
190 elm_init(1, NULL);
191 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
192
193 list = elm_list_add(win);
194 eo_do(list, role = elm_interface_atspi_accessible_role_get());
195
196 ck_assert(role == ELM_ATSPI_ROLE_LIST);
197
198 elm_shutdown();
199}
200END_TEST
201
181void elm_test_list(TCase *tc) 202void elm_test_list(TCase *tc)
182{ 203{
183 tcase_add_test(tc, elm_list_atspi_selection_selected_children_count_get); 204 tcase_add_test(tc, elm_list_atspi_selection_selected_children_count_get);
@@ -187,4 +208,5 @@ void elm_test_list(TCase *tc)
187 tcase_add_test(tc, elm_list_atspi_selection_all_children_select); 208 tcase_add_test(tc, elm_list_atspi_selection_all_children_select);
188 tcase_add_test(tc, elm_list_atspi_selection_clear); 209 tcase_add_test(tc, elm_list_atspi_selection_clear);
189 tcase_add_test(tc, elm_list_atspi_selection_child_deselect); 210 tcase_add_test(tc, elm_list_atspi_selection_child_deselect);
211 tcase_add_test(tc, elm_atspi_role_get);
190} 212}
diff --git a/legacy/elementary/src/tests/elm_test_map.c b/legacy/elementary/src/tests/elm_test_map.c
new file mode 100644
index 0000000000..80d4e94d14
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_map.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *map;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "map", ELM_WIN_BASIC);
20
21 map = elm_map_add(win);
22 eo_do(map, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_IMAGE_MAP);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_map(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_mapbuf.c b/legacy/elementary/src/tests/elm_test_mapbuf.c
new file mode 100644
index 0000000000..e124481249
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_mapbuf.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *mapbuf;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC);
20
21 mapbuf = elm_mapbuf_add(win);
22 eo_do(mapbuf, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_IMAGE_MAP);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_mapbuf(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_menu.c b/legacy/elementary/src/tests/elm_test_menu.c
new file mode 100644
index 0000000000..49b124391a
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_menu.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *menu;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC);
20
21 menu = elm_menu_add(win);
22 eo_do(menu, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_MENU);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_menu(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_multibuttonentry.c b/legacy/elementary/src/tests/elm_test_multibuttonentry.c
new file mode 100644
index 0000000000..390142d7cd
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_multibuttonentry.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *multibuttonentry;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC);
20
21 multibuttonentry = elm_multibuttonentry_add(win);
22 eo_do(multibuttonentry, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_ENTRY);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_multibuttonentry(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_naviframe.c b/legacy/elementary/src/tests/elm_test_naviframe.c
new file mode 100644
index 0000000000..8a5247081e
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_naviframe.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *naviframe;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC);
20
21 naviframe = elm_naviframe_add(win);
22 eo_do(naviframe, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_PAGE_TAB_LIST);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_naviframe(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_notify.c b/legacy/elementary/src/tests/elm_test_notify.c
new file mode 100644
index 0000000000..e4c360cbe5
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_notify.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *notify;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC);
20
21 notify = elm_notify_add(win);
22 eo_do(notify, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_NOTIFICATION);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_notify(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_panel.c b/legacy/elementary/src/tests/elm_test_panel.c
new file mode 100644
index 0000000000..eef52cef77
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_panel.c
@@ -0,0 +1,34 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *panel;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "panel", ELM_WIN_BASIC);
20
21 panel = elm_panel_add(win);
22 eo_do(panel, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_PANEL);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_panel(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
34
diff --git a/legacy/elementary/src/tests/elm_test_panes.c b/legacy/elementary/src/tests/elm_test_panes.c
new file mode 100644
index 0000000000..c643dc4b07
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_panes.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *panes;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "panes", ELM_WIN_BASIC);
20
21 panes = elm_panes_add(win);
22 eo_do(panes, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_SPLIT_PANE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_panes(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_photo.c b/legacy/elementary/src/tests/elm_test_photo.c
new file mode 100644
index 0000000000..ab0342eba8
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_photo.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *photo;
16 Elm_Atspi_Role role;
17
18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "photo", ELM_WIN_BASIC);
20
21 photo = elm_photo_add(win);
22 eo_do(photo, role = elm_interface_atspi_accessible_role_get());
23
24 ck_assert(role == ELM_ATSPI_ROLE_IMAGE);
25
26 elm_shutdown();
27}
28END_TEST
29
30void elm_test_photo(TCase *tc)
31{
32 tcase_add_test(tc, elm_atspi_role_get);
33}
diff --git a/legacy/elementary/src/tests/elm_test_photocam.c b/legacy/elementary/src/tests/elm_test_photocam.c
new file mode 100644
index 0000000000..4d1f445f16
--- /dev/null
+++ b/legacy/elementary/src/tests/elm_test_photocam.c
@@ -0,0 +1,33 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#include "elm_interface_atspi_accessible.h"
10#include "elm_interface_atspi_accessible.eo.h"
11
12
13START_TEST (elm_atspi_role_get)
14{
15 Evas_Object *win, *photocam;