summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_box.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_box.c
parent9340855597e7e465435c69b6278650346688da14 (diff)
downloadefl-c2a1c49ab2042f559b28e840e54feb8494888e0e.tar.gz
elementary: move all legacy files to their expected new location.
Diffstat (limited to 'src/tests/elementary/elm_test_box.c')
-rw-r--r--src/tests/elementary/elm_test_box.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_box.c b/src/tests/elementary/elm_test_box.c
new file mode 100644
index 0000000000..eb14a53aa5
--- /dev/null
+++ b/src/tests/elementary/elm_test_box.c
@@ -0,0 +1,29 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#include <Elementary.h>
+#include "elm_suite.h"
+
+START_TEST (elm_atspi_role_get)
+{
+ Evas_Object *win, *box;
+ Elm_Atspi_Role role;
+
+ elm_init(1, NULL);
+ win = elm_win_add(NULL, "box", ELM_WIN_BASIC);
+
+ box = elm_box_add(win);
+ role = elm_interface_atspi_accessible_role_get(box);
+
+ ck_assert(role == ELM_ATSPI_ROLE_FILLER);
+
+ elm_shutdown();
+}
+END_TEST
+
+void elm_test_box(TCase *tc)
+{
+ tcase_add_test(tc, elm_atspi_role_get);
+}