summaryrefslogtreecommitdiff
path: root/src/tests/elm_test_init.c
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2013-11-19 13:18:02 +0000
committerTom Hacohen <tom@stosb.com>2013-11-19 13:18:02 +0000
commit640f687383f5c6d928b562eb323937d3bd07f1ad (patch)
treeb66ed7bf2783ed5c1f07dd3052926bda9a07d152 /src/tests/elm_test_init.c
parent8419f51ab8928e919d1d58c0690811f0ace132cb (diff)
Introduce check for unit testing framework of Elementary
Reviewers: seoz, tasn CC: tasn, cedric Differential Revision: https://phab.enlightenment.org/D91
Diffstat (limited to '')
-rw-r--r--src/tests/elm_test_init.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tests/elm_test_init.c b/src/tests/elm_test_init.c
new file mode 100644
index 000000000..3e3210c9f
--- /dev/null
+++ b/src/tests/elm_test_init.c
@@ -0,0 +1,18 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_suite.h"
7
8START_TEST (elm_main)
9{
10 ck_assert(elm_init(1, NULL) == 1);
11 ck_assert(elm_shutdown() == 0);
12}
13END_TEST
14
15void elm_test_init(TCase *tc)
16{
17 tcase_add_test(tc, elm_main);
18}