7 #include "ecore_suite.h"
9 /* FIXME: Currently disable these tests. They are useless ATM and they just
10 * make buildbot complain. Once we add useful tests here we'll also bother
11 * with getting X on the server. */
12 #undef HAVE_ECORE_X_XLIB
14 /* TODO: change to HAVE_ECORE_X when xcb implementation is done */
15 #ifdef HAVE_ECORE_X_XLIB
19 START_TEST(ecore_test_ecore_x_init)
23 ret = ecore_x_init(NULL);
26 ret = ecore_x_shutdown();
31 START_TEST(ecore_test_ecore_x_bell)
36 ret = ecore_x_init(NULL);
39 printf("You should hear 3 beeps now.\n");
40 for (i = 0; i < 3; i++)
42 ret = ecore_x_bell(0);
43 fail_if(ret != EINA_TRUE);
54 void ecore_test_ecore_x(TCase *tc EINA_UNUSED)
57 /* TODO: change to HAVE_ECORE_X when xcb implementation is done */
58 #ifdef HAVE_ECORE_X_XLIB
59 tcase_add_test(tc, ecore_test_ecore_x_init);
60 tcase_add_test(tc, ecore_test_ecore_x_bell);