Eo: add autotools tests. I have plenty of errors with the unit tests on Windows
[profile/ivi/eobj.git] / src / tests / eo_suite / eo_test_init.c
1 #ifdef HAVE_CONFIG_H
2 # include "config.h"
3 #endif
4
5 #include <stdio.h>
6
7 #include "Eo.h"
8 #include "eo_suite.h"
9
10 START_TEST(eo_simple)
11 {
12    fail_if(!eo_init()); /* one init by test suite */
13    fail_if(eo_init() != 1);
14    fail_if(eo_shutdown() != 1);
15    fail_if(!eo_shutdown());
16 }
17 END_TEST
18
19 void eo_test_init(TCase *tc)
20 {
21    tcase_add_test(tc, eo_simple);
22 }