summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_inwin.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_inwin.c
parent9340855597e7e465435c69b6278650346688da14 (diff)
elementary: move all legacy files to their expected new location.
Diffstat (limited to 'src/tests/elementary/elm_test_inwin.c')
-rw-r--r--src/tests/elementary/elm_test_inwin.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_inwin.c b/src/tests/elementary/elm_test_inwin.c
new file mode 100644
index 0000000..942945d
--- /dev/null
+++ b/src/tests/elementary/elm_test_inwin.c
@@ -0,0 +1,30 @@
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
9
10START_TEST (elm_atspi_role_get)
11{
12 Evas_Object *win, *inwin;
13 Elm_Atspi_Role role;
14
15 elm_init(1, NULL);
16 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC);
17
18 inwin = elm_win_inwin_add(win);
19 role = elm_interface_atspi_accessible_role_get(inwin);
20
21 ck_assert(role == ELM_ATSPI_ROLE_GLASS_PANE);
22
23 elm_shutdown();
24}
25END_TEST
26
27void elm_test_inwin(TCase *tc)
28{
29 tcase_add_test(tc, elm_atspi_role_get);
30}