Eobj: Use xref.
[profile/ivi/eobj.git] / tests / eobj_test_init.c
1 #ifdef HAVE_CONFIG_H
2 # include "config.h"
3 #endif
4
5 #include <stdio.h>
6
7 #include "eobj_suite.h"
8 #include "Eobj.h"
9
10 START_TEST(eobj_simple)
11 {
12    fail_if(!eobj_init()); /* one init by test suite */
13    fail_if(eobj_init() != 1);
14    fail_if(eobj_shutdown() != 1);
15    fail_if(!eobj_shutdown());
16 }
17 END_TEST
18
19 void eobj_test_init(TCase *tc)
20 {
21    tcase_add_test(tc, eobj_simple);
22 }