2 * Tested interface: AtkObject
4 * Tested AtkObject: EailNaviframe
6 * Description: Test AtkAction interface
8 * Test input: accessible object representing EailNaviframe
10 * Expected test result: test should return 0 (success)
13 #include <Elementary.h>
16 #include "eail_test_utils.h"
18 INIT_TEST("EailNaviframe")
21 _do_test(AtkObject *obj)
25 g_assert(ATK_IS_OBJECT(obj));
26 atk_object_set_description(obj, "test");
27 g_assert_cmpstr(atk_object_get_description(obj), ==, "test");
30 child_count = atk_object_get_n_accessible_children(obj);
31 g_assert(child_count == 0);
33 g_assert(atk_object_get_role(obj) == ATK_ROLE_PAGE_TAB_LIST);
36 eailu_test_code_called = 1;
40 _init_naviframe(Evas_Object *win)
44 nf = elm_naviframe_add(win);
45 evas_object_size_hint_weight_set(nf, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
46 elm_win_resize_object_add(win, nf);
48 evas_object_resize(win, 800, 600);
52 elm_main(int argc, char **argv)
55 win = eailu_create_test_window_with_glib_init(_on_done, _on_focus_in);
57 evas_object_show(win);