aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-02-21 18:45:45 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-02-21 18:45:45 +0900
commit8a818ad79d8d728764946f6088beecdb5295366b (patch)
tree8fa82d06a3d0b7f06fae0c37eac592c70c937ab7 /src
parenta77cb9ee419b847f105687655138973d27285269 (diff)
downloadefl-8a818ad79d8d728764946f6088beecdb5295366b.tar.gz
efl-8a818ad79d8d728764946f6088beecdb5295366b.tar.xz
efl-8a818ad79d8d728764946f6088beecdb5295366b.zip
edje: let's fix the edje test to init/shutdown edje correctly.
We have so much wonderfull tool, like git and make lcov-check. Sadly we are lacking a tool to check their usage ! PEBKAC is still an issue.
Diffstat (limited to 'src')
-rw-r--r--src/tests/edje/edje_tests_helpers.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/tests/edje/edje_tests_helpers.h b/src/tests/edje/edje_tests_helpers.h
index fa87e816b..0319c9490 100644
--- a/src/tests/edje/edje_tests_helpers.h
+++ b/src/tests/edje/edje_tests_helpers.h
@@ -7,12 +7,13 @@
#define EDJE_TEST_INIT_EVAS() _setup_evas()
#define EDJE_TEST_FREE_EVAS() \
-do \
-{ \
- evas_free(evas); \
- evas_shutdown(); \
-} \
-while (0)
+ do \
+ { \
+ edje_shutdown(); \
+ evas_free(evas); \
+ evas_shutdown(); \
+ } \
+ while (0)
static Evas *
_setup_evas()
@@ -21,6 +22,8 @@ _setup_evas()
Evas_Engine_Info *einfo;
evas_init();
+ edje_init();
+
evas = evas_new();
evas_output_method_set(evas, evas_render_method_lookup("buffer"));