summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_ctxpopup.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-23 12:56:14 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-23 13:24:41 -0700
commitc2a1c49ab2042f559b28e840e54feb8494888e0e (patch)
treec6eb110b7c479499854eede9d0c3ab0a80c9a11a /src/tests/elementary/elm_test_ctxpopup.c
parent9340855597e7e465435c69b6278650346688da14 (diff)
elementary: move all legacy files to their expected new location.
Diffstat (limited to 'src/tests/elementary/elm_test_ctxpopup.c')
-rw-r--r--src/tests/elementary/elm_test_ctxpopup.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_ctxpopup.c b/src/tests/elementary/elm_test_ctxpopup.c
new file mode 100644
index 0000000..5c5ed6f
--- /dev/null
+++ b/src/tests/elementary/elm_test_ctxpopup.c
@@ -0,0 +1,29 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#include <Elementary.h>
7#include "elm_suite.h"
8
9START_TEST (elm_atspi_role_get)
10{
11 Evas_Object *win, *ctxpopup;
12 Elm_Atspi_Role role;
13
14 elm_init(1, NULL);
15 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
16
17 ctxpopup = elm_ctxpopup_add(win);
18 role = elm_interface_atspi_accessible_role_get(ctxpopup);
19
20 ck_assert(role == ELM_ATSPI_ROLE_POPUP_MENU);
21
22 elm_shutdown();
23}
24END_TEST
25
26void elm_test_ctxpopup(TCase *tc)
27{
28 tcase_add_test(tc, elm_atspi_role_get);
29}