summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_ctxpopup.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-03-26 14:19:28 -0400
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-05 11:10:25 +0200
commitadc601aca2f0a16784af36bf6ae7dd20eeb33202 (patch)
treecac0a78fa40e88abb028b06d985c28bf89da269c /src/tests/elementary/elm_test_ctxpopup.c
parentb340b5e49ccae48a7d5adbbfa301af39e232348c (diff)
tests: add instrumentation to existing tests to find slow tests
efl_check.h must be included and the EFL_START/END_TEST macros must be used in place of normal START/END_TEST macros timing is enabled when TIMING_ENABLED is set https://phab.enlightenment.org/w/improve_tests/ Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'src/tests/elementary/elm_test_ctxpopup.c')
-rw-r--r--src/tests/elementary/elm_test_ctxpopup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/elementary/elm_test_ctxpopup.c b/src/tests/elementary/elm_test_ctxpopup.c
index d0b5890..66f5e06 100644
--- a/src/tests/elementary/elm_test_ctxpopup.c
+++ b/src/tests/elementary/elm_test_ctxpopup.c
@@ -6,7 +6,7 @@
6#include <Elementary.h> 6#include <Elementary.h>
7#include "elm_suite.h" 7#include "elm_suite.h"
8 8
9START_TEST (elm_ctxpopup_legacy_type_check) 9EFL_START_TEST (elm_ctxpopup_legacy_type_check)
10{ 10{
11 Evas_Object *win, *ctxpopup; 11 Evas_Object *win, *ctxpopup;
12 const char *type; 12 const char *type;
@@ -27,9 +27,9 @@ START_TEST (elm_ctxpopup_legacy_type_check)
27 27
28 elm_shutdown(); 28 elm_shutdown();
29} 29}
30END_TEST 30EFL_END_TEST
31 31
32START_TEST (elm_atspi_role_get) 32EFL_START_TEST (elm_atspi_role_get)
33{ 33{
34 Evas_Object *win, *ctxpopup; 34 Evas_Object *win, *ctxpopup;
35 Efl_Access_Role role; 35 Efl_Access_Role role;
@@ -45,7 +45,7 @@ START_TEST (elm_atspi_role_get)
45 45
46 elm_shutdown(); 46 elm_shutdown();
47} 47}
48END_TEST 48EFL_END_TEST
49 49
50void elm_test_ctxpopup(TCase *tc) 50void elm_test_ctxpopup(TCase *tc)
51{ 51{