diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/edje/src/tests/edje_test_edje.c | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to '')
-rw-r--r-- | libraries/edje/src/tests/edje_test_edje.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libraries/edje/src/tests/edje_test_edje.c b/libraries/edje/src/tests/edje_test_edje.c new file mode 100644 index 0000000..ad92c63 --- /dev/null +++ b/libraries/edje/src/tests/edje_test_edje.c | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifdef HAVE_CONFIG_H | ||
2 | # include <config.h> | ||
3 | #endif | ||
4 | |||
5 | #include <unistd.h> | ||
6 | #include <stdio.h> | ||
7 | |||
8 | #include <Eina.h> | ||
9 | #include <Edje.h> | ||
10 | |||
11 | #include "edje_suite.h" | ||
12 | |||
13 | START_TEST(edje_test_edje_init) | ||
14 | { | ||
15 | int ret; | ||
16 | |||
17 | ret = edje_init(); | ||
18 | fail_if(ret != 1); | ||
19 | |||
20 | ret = edje_shutdown(); | ||
21 | fail_if(ret != 0); | ||
22 | } | ||
23 | END_TEST | ||
24 | |||
25 | void edje_test_edje(TCase *tc) | ||
26 | { | ||
27 | tcase_add_test(tc, edje_test_edje_init); | ||
28 | } | ||