summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_popup.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_popup.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_popup.c')
-rw-r--r--src/tests/elementary/elm_test_popup.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_popup.c b/src/tests/elementary/elm_test_popup.c
new file mode 100644
index 0000000000..b284475441
--- /dev/null
+++ b/src/tests/elementary/elm_test_popup.c
@@ -0,0 +1,30 @@
+#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, *popup;
+ Elm_Atspi_Role role;
+
+ elm_init(1, NULL);
+ win = elm_win_add(NULL, "popup", ELM_WIN_BASIC);
+
+ popup = elm_popup_add(win);
+ role = elm_interface_atspi_accessible_role_get(popup);
+
+ ck_assert(role == ELM_ATSPI_ROLE_NOTIFICATION);
+
+ elm_shutdown();
+}
+END_TEST
+
+void elm_test_popup(TCase *tc)
+{
+ tcase_add_test(tc, elm_atspi_role_get);
+}