summaryrefslogtreecommitdiff
path: root/src/tests/eet
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-03-27 13:51:13 -0400
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-05 11:10:26 +0200
commit624925fe6e9c72c639d47135d5ea70d4110ac1fe (patch)
treeb57c12a611bf3b4b492327a7fcb5722cd39dad5b /src/tests/eet
parent730020c7d4a87daf60cbfbb3a0a912b4f75d8cb5 (diff)
tests: move to using checked fixtures for all test suites
individual tests should not need to explicitly call init/shutdown functions in most cases, and many did not properly do this anyway see followup commit which resolves some issues with eina tests ref T6813 ref T6811 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'src/tests/eet')
-rw-r--r--src/tests/eet/eet_suite.c13
-rw-r--r--src/tests/eet/eet_test_cache.c2
-rw-r--r--src/tests/eet/eet_test_cipher.c4
-rw-r--r--src/tests/eet/eet_test_connection.c4
-rw-r--r--src/tests/eet/eet_test_data.c34
-rw-r--r--src/tests/eet/eet_test_file.c12
-rw-r--r--src/tests/eet/eet_test_identity.c12
-rw-r--r--src/tests/eet/eet_test_image.c6
-rw-r--r--src/tests/eet/eet_test_init.c7
9 files changed, 12 insertions, 82 deletions
diff --git a/src/tests/eet/eet_suite.c b/src/tests/eet/eet_suite.c
index a1d7840327..60cc8ce3e8 100644
--- a/src/tests/eet/eet_suite.c
+++ b/src/tests/eet/eet_suite.c
@@ -6,6 +6,7 @@
6 6
7#include "eet_suite.h" 7#include "eet_suite.h"
8#include "../efl_check.h" 8#include "../efl_check.h"
9#include <Eet.h>
9 10
10char argv0[PATH_MAX]; 11char argv0[PATH_MAX];
11 12
@@ -25,6 +26,16 @@ static const Efl_Test_Case etc[] = {
25 { NULL, NULL } 26 { NULL, NULL }
26}; 27};
27 28
29SUITE_INIT(eet)
30{
31 ck_assert_int_eq(eet_init(), 1);
32}
33
34SUITE_SHUTDOWN(eet)
35{
36 ck_assert_int_eq(eet_shutdown(), 0);
37}
38
28int 39int
29main(int argc, char *argv[]) 40main(int argc, char *argv[])
30{ 41{
@@ -40,7 +51,7 @@ main(int argc, char *argv[])
40 memcpy(argv0, argv[0], strlen(argv[0]) + 1); 51 memcpy(argv0, argv[0], strlen(argv[0]) + 1);
41 52
42 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1, 53 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
43 "Eet", etc); 54 "Eet", etc, SUITE_INIT_FN(eet), SUITE_SHUTDOWN_FN(eet));
44 55
45 return (failed_count == 0) ? EXIT_SUCCESS : EXIT_FAILURE; 56 return (failed_count == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
46} 57}
diff --git a/src/tests/eet/eet_test_cache.c b/src/tests/eet/eet_test_cache.c
index 02a51ed852..6dee39142c 100644
--- a/src/tests/eet/eet_test_cache.c
+++ b/src/tests/eet/eet_test_cache.c
@@ -57,7 +57,6 @@ EFL_START_TEST(eet_test_cache_concurrency)
57 57
58 file = strdup("/tmp/eet_suite_testXXXXXX"); 58 file = strdup("/tmp/eet_suite_testXXXXXX");
59 59
60 eet_init();
61 eina_threads_init(); 60 eina_threads_init();
62 61
63 eina_lock_new(&open_worker_mutex); 62 eina_lock_new(&open_worker_mutex);
@@ -95,7 +94,6 @@ EFL_START_TEST(eet_test_cache_concurrency)
95 fail_if(unlink(file) != 0); 94 fail_if(unlink(file) != 0);
96 95
97 eina_threads_shutdown(); 96 eina_threads_shutdown();
98 eet_shutdown();
99} 97}
100EFL_END_TEST 98EFL_END_TEST
101 99
diff --git a/src/tests/eet/eet_test_cipher.c b/src/tests/eet/eet_test_cipher.c
index eacc8e0f3a..c06c505b4c 100644
--- a/src/tests/eet/eet_test_cipher.c
+++ b/src/tests/eet/eet_test_cipher.c
@@ -23,8 +23,6 @@ EFL_START_TEST(eet_test_cipher_decipher_simple)
23 int size; 23 int size;
24 int tmpfd; 24 int tmpfd;
25 25
26 eet_init();
27
28 fail_if(-1 == (tmpfd = mkstemp(file))); 26 fail_if(-1 == (tmpfd = mkstemp(file)));
29 fail_if(!!close(tmpfd)); 27 fail_if(!!close(tmpfd));
30 28
@@ -61,8 +59,6 @@ EFL_START_TEST(eet_test_cipher_decipher_simple)
61 eet_close(ef); 59 eet_close(ef);
62 60
63 fail_if(unlink(file) != 0); 61 fail_if(unlink(file) != 0);
64
65 eet_shutdown();
66} 62}
67EFL_END_TEST 63EFL_END_TEST
68 64
diff --git a/src/tests/eet/eet_test_connection.c b/src/tests/eet/eet_test_connection.c
index a839f51883..173fa5a37c 100644
--- a/src/tests/eet/eet_test_connection.c
+++ b/src/tests/eet/eet_test_connection.c
@@ -95,8 +95,6 @@ EFL_START_TEST(eet_test_connection_check)
95 Eet_Test_Ex_Type etbt; 95 Eet_Test_Ex_Type etbt;
96 Eina_Bool on_going; 96 Eina_Bool on_going;
97 97
98 eet_init();
99
100 eet_test_ex_set(&etbt, 0); 98 eet_test_ex_set(&etbt, 0);
101 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 99 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
102 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 100 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
@@ -139,8 +137,6 @@ EFL_START_TEST(eet_test_connection_check)
139 fail_if(!eet_connection_close(ecd.conn, &on_going)); 137 fail_if(!eet_connection_close(ecd.conn, &on_going));
140 138
141 fail_if(on_going); 139 fail_if(on_going);
142
143 eet_shutdown();
144} 140}
145EFL_END_TEST 141EFL_END_TEST
146 142
diff --git a/src/tests/eet/eet_test_data.c b/src/tests/eet/eet_test_data.c
index f65720114a..ae5d013fcc 100644
--- a/src/tests/eet/eet_test_data.c
+++ b/src/tests/eet/eet_test_data.c
@@ -288,8 +288,6 @@ EFL_START_TEST(eet_test_data_basic_type_encoding_decoding)
288 void *transfert; 288 void *transfert;
289 int size; 289 int size;
290 290
291 eet_init();
292
293 eet_test_basic_set(&etbt, 0); 291 eet_test_basic_set(&etbt, 0);
294 292
295 eet_test_setup_eddc(&eddc); 293 eet_test_setup_eddc(&eddc);
@@ -313,8 +311,6 @@ EFL_START_TEST(eet_test_data_basic_type_encoding_decoding)
313 free(result); 311 free(result);
314 312
315 eet_data_descriptor_free(edd); 313 eet_data_descriptor_free(edd);
316
317 eet_shutdown();
318} 314}
319EFL_END_TEST 315EFL_END_TEST
320 316
@@ -328,8 +324,6 @@ EFL_START_TEST(eet_test_data_type_encoding_decoding)
328 int size; 324 int size;
329 int test; 325 int test;
330 326
331 eet_init();
332
333 eet_test_ex_set(&etbt, 0); 327 eet_test_ex_set(&etbt, 0);
334 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 328 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
335 etbt.hash = eina_hash_string_superfast_new(NULL); 329 etbt.hash = eina_hash_string_superfast_new(NULL);
@@ -379,8 +373,6 @@ EFL_START_TEST(eet_test_data_type_encoding_decoding)
379 eina_hash_foreach(result->ihash, func7, &test); 373 eina_hash_foreach(result->ihash, func7, &test);
380 374
381 fail_if(test != 0); 375 fail_if(test != 0);
382
383 eet_shutdown();
384} 376}
385EFL_END_TEST 377EFL_END_TEST
386 378
@@ -398,8 +390,6 @@ EFL_START_TEST(eet_test_data_type_dump_undump)
398 int size2; 390 int size2;
399 int test; 391 int test;
400 392
401 eet_init();
402
403 eet_test_ex_set(&etbt, 0); 393 eet_test_ex_set(&etbt, 0);
404 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 394 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
405 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 395 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
@@ -470,7 +460,6 @@ EFL_START_TEST(eet_test_data_type_dump_undump)
470 460
471 fail_if(test != 0); 461 fail_if(test != 0);
472 462
473 eet_shutdown();
474} 463}
475EFL_END_TEST 464EFL_END_TEST
476 465
@@ -488,8 +477,6 @@ EFL_START_TEST(eet_test_data_type_escape_dump_undump)
488 " value \"\\\\My\\\\NewLine\\\\\" string: \"\\n\";\n" 477 " value \"\\\\My\\\\NewLine\\\\\" string: \"\\n\";\n"
489 "}\n"; 478 "}\n";
490 479
491 eet_init();
492
493 blob = eet_data_text_undump(inputstr, strlen(inputstr), &blob_len); 480 blob = eet_data_text_undump(inputstr, strlen(inputstr), &blob_len);
494 fail_if(!blob); 481 fail_if(!blob);
495 482
@@ -504,7 +491,6 @@ EFL_START_TEST(eet_test_data_type_escape_dump_undump)
504 eina_strbuf_free(strbuf); 491 eina_strbuf_free(strbuf);
505 free(blob); 492 free(blob);
506 493
507 eet_shutdown();
508} 494}
509EFL_END_TEST 495EFL_END_TEST
510 496
@@ -519,8 +505,6 @@ EFL_START_TEST(eet_test_data_fp)
519 void *blob; 505 void *blob;
520 int size; 506 int size;
521 507
522 eet_init();
523
524 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_5FP); 508 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_5FP);
525 edd_5FP = eet_data_descriptor_stream_new(&eddc); 509 edd_5FP = eet_data_descriptor_stream_new(&eddc);
526 510
@@ -566,7 +550,6 @@ EFL_START_TEST(eet_test_data_fp)
566 fail_if(convert->f1 != 1); 550 fail_if(convert->f1 != 1);
567 fail_if(convert->f0 != 0); 551 fail_if(convert->f0 != 0);
568 552
569 eet_shutdown();
570} 553}
571EFL_END_TEST 554EFL_END_TEST
572 555
@@ -582,9 +565,6 @@ EFL_START_TEST(eet_test_data_union)
582 int size; 565 int size;
583 int i; 566 int i;
584 567
585 eina_init();
586 eet_init();
587
588 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_Union_Test); 568 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_Union_Test);
589 edd = eet_data_descriptor_stream_new(&eddc); 569 edd = eet_data_descriptor_stream_new(&eddc);
590 570
@@ -642,9 +622,6 @@ EFL_START_TEST(eet_test_data_union)
642 EUT_CMP(2); 622 EUT_CMP(2);
643 EUT_CMP(3); 623 EUT_CMP(3);
644 } 624 }
645
646 eet_shutdown();
647 eina_shutdown();
648} 625}
649EFL_END_TEST 626EFL_END_TEST
650 627
@@ -663,9 +640,6 @@ EFL_START_TEST(eet_test_data_variant)
663 int size; 640 int size;
664 int i; 641 int i;
665 642
666 eina_init();
667 eet_init();
668
669 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_Variant_Test); 643 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_Variant_Test);
670 edd = eet_data_descriptor_stream_new(&eddc); 644 edd = eet_data_descriptor_stream_new(&eddc);
671 645
@@ -753,8 +727,6 @@ EFL_START_TEST(eet_test_data_variant)
753 EVT_CMP(3); 727 EVT_CMP(3);
754 } 728 }
755 729
756 eet_shutdown();
757 eina_shutdown();
758} /* EFL_START_TEST */ 730} /* EFL_START_TEST */
759EFL_END_TEST 731EFL_END_TEST
760 732
@@ -770,9 +742,6 @@ EFL_START_TEST(eet_test_data_hash_value)
770 double d; 742 double d;
771 char *s; 743 char *s;
772 744
773 eina_init();
774 eet_init();
775
776 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_Hash); 745 EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_Hash);
777 edd = eet_data_descriptor_stream_new(&eddc); 746 edd = eet_data_descriptor_stream_new(&eddc);
778 747
@@ -810,9 +779,6 @@ EFL_START_TEST(eet_test_data_hash_value)
810 val = (Eina_Value *)eina_hash_find(h->hash, "val/string"); 779 val = (Eina_Value *)eina_hash_find(h->hash, "val/string");
811 eina_value_get(val, &s); 780 eina_value_get(val, &s);
812 fail_if((!val) || strcmp(s, EET_TEST_STRING)); 781 fail_if((!val) || strcmp(s, EET_TEST_STRING));
813
814 eet_shutdown();
815 eina_shutdown();
816} /* EFL_START_TEST */ 782} /* EFL_START_TEST */
817EFL_END_TEST 783EFL_END_TEST
818 784
diff --git a/src/tests/eet/eet_test_file.c b/src/tests/eet/eet_test_file.c
index c5e386f895..6d77a7d817 100644
--- a/src/tests/eet/eet_test_file.c
+++ b/src/tests/eet/eet_test_file.c
@@ -26,8 +26,6 @@ EFL_START_TEST(eet_test_file_simple_write)
26 26
27 file = strdup("/tmp/eet_suite_testXXXXXX"); 27 file = strdup("/tmp/eet_suite_testXXXXXX");
28 28
29 eet_init();
30
31 fail_if(-1 == (tmpfd = mkstemp(file))); 29 fail_if(-1 == (tmpfd = mkstemp(file)));
32 fail_if(!!close(tmpfd)); 30 fail_if(!!close(tmpfd));
33 31
@@ -120,7 +118,6 @@ EFL_START_TEST(eet_test_file_simple_write)
120 118
121 fail_if(unlink(file) != 0); 119 fail_if(unlink(file) != 0);
122 120
123 eet_shutdown();
124} 121}
125EFL_END_TEST 122EFL_END_TEST
126 123
@@ -140,8 +137,6 @@ EFL_START_TEST(eet_test_file_data)
140 137
141 file = strdup("/tmp/eet_suite_testXXXXXX"); 138 file = strdup("/tmp/eet_suite_testXXXXXX");
142 139
143 eet_init();
144
145 eet_test_ex_set(&etbt, 0); 140 eet_test_ex_set(&etbt, 0);
146 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 141 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
147 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 142 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
@@ -280,7 +275,6 @@ EFL_START_TEST(eet_test_file_data)
280 275
281 fail_if(unlink(file) != 0); 276 fail_if(unlink(file) != 0);
282 277
283 eet_shutdown();
284} 278}
285EFL_END_TEST 279EFL_END_TEST
286 280
@@ -298,8 +292,6 @@ EFL_START_TEST(eet_test_file_data_dump)
298 292
299 file = strdup("/tmp/eet_suite_testXXXXXX"); 293 file = strdup("/tmp/eet_suite_testXXXXXX");
300 294
301 eet_init();
302
303 eet_test_ex_set(&etbt, 0); 295 eet_test_ex_set(&etbt, 0);
304 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 296 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
305 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1)); 297 etbt.list = eina_list_prepend(etbt.list, eet_test_ex_set(NULL, 1));
@@ -382,7 +374,6 @@ EFL_START_TEST(eet_test_file_data_dump)
382 374
383 fail_if(unlink(file) != 0); 375 fail_if(unlink(file) != 0);
384 376
385 eet_shutdown();
386} 377}
387EFL_END_TEST 378EFL_END_TEST
388 379
@@ -400,8 +391,6 @@ EFL_START_TEST(eet_test_file_fp)
400 391
401 file = strdup("/tmp/eet_suite_testXXXXXX"); 392 file = strdup("/tmp/eet_suite_testXXXXXX");
402 393
403 eet_init();
404
405 EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_5FP); 394 EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(&eddc, Eet_5FP);
406 edd_5FP = eet_data_descriptor_file_new(&eddc); 395 edd_5FP = eet_data_descriptor_file_new(&eddc);
407 396
@@ -456,7 +445,6 @@ EFL_START_TEST(eet_test_file_fp)
456 445
457 fail_if(unlink(file) != 0); 446 fail_if(unlink(file) != 0);
458 447
459 eet_shutdown();
460} 448}
461EFL_END_TEST 449EFL_END_TEST
462 450
diff --git a/src/tests/eet/eet_test_identity.c b/src/tests/eet/eet_test_identity.c
index 19ffa9219c..641a53fa78 100644
--- a/src/tests/eet/eet_test_identity.c
+++ b/src/tests/eet/eet_test_identity.c
@@ -66,8 +66,6 @@ EFL_START_TEST(eet_test_identity_simple)
66 66
67 file = strdup("/tmp/eet_suite_testXXXXXX"); 67 file = strdup("/tmp/eet_suite_testXXXXXX");
68 68
69 eet_init();
70
71 fail_if(-1 == (fd = mkstemp(file))); 69 fail_if(-1 == (fd = mkstemp(file)));
72 fail_if(!!close(fd)); 70 fail_if(!!close(fd));
73 fail_if(!(noread = fopen("/dev/null", "wb"))); 71 fail_if(!(noread = fopen("/dev/null", "wb")));
@@ -129,7 +127,6 @@ EFL_START_TEST(eet_test_identity_simple)
129 127
130 fail_if(unlink(file) != 0); 128 fail_if(unlink(file) != 0);
131 129
132 eet_shutdown();
133} 130}
134EFL_END_TEST 131EFL_END_TEST
135 132
@@ -137,15 +134,12 @@ EFL_START_TEST(eet_test_identity_open_simple)
137{ 134{
138 Eet_Key *k = NULL; 135 Eet_Key *k = NULL;
139 136
140 eet_init();
141
142 k = eet_identity_open(_cert_pem, _key_pem, NULL); 137 k = eet_identity_open(_cert_pem, _key_pem, NULL);
143 fail_if(!k); 138 fail_if(!k);
144 139
145 if (k) 140 if (k)
146 eet_identity_close(k); 141 eet_identity_close(k);
147 142
148 eet_shutdown();
149} 143}
150EFL_END_TEST 144EFL_END_TEST
151 145
@@ -153,15 +147,12 @@ EFL_START_TEST(eet_test_identity_open_pkcs8)
153{ 147{
154 Eet_Key *k = NULL; 148 Eet_Key *k = NULL;
155 149
156 eet_init();
157
158 k = eet_identity_open(_cert_pem, _key_enc_none_pem, NULL); 150 k = eet_identity_open(_cert_pem, _key_enc_none_pem, NULL);
159 fail_if(!k); 151 fail_if(!k);
160 152
161 if (k) 153 if (k)
162 eet_identity_close(k); 154 eet_identity_close(k);
163 155
164 eet_shutdown();
165} 156}
166EFL_END_TEST 157EFL_END_TEST
167 158
@@ -169,8 +160,6 @@ EFL_START_TEST(eet_test_identity_open_pkcs8_enc)
169{ 160{
170 Eet_Key *k = NULL; 161 Eet_Key *k = NULL;
171 162
172 eet_init();
173
174 k = eet_identity_open(_cert_pem, _key_enc_pem, NULL); 163 k = eet_identity_open(_cert_pem, _key_enc_pem, NULL);
175 fail_if(k); 164 fail_if(k);
176 165
@@ -189,7 +178,6 @@ EFL_START_TEST(eet_test_identity_open_pkcs8_enc)
189 if (k) 178 if (k)
190 eet_identity_close(k); 179 eet_identity_close(k);
191 180
192 eet_shutdown();
193} 181}
194EFL_END_TEST 182EFL_END_TEST
195 183
diff --git a/src/tests/eet/eet_test_image.c b/src/tests/eet/eet_test_image.c
index 9214c2b8ab..5e35e67e54 100644
--- a/src/tests/eet/eet_test_image.c
+++ b/src/tests/eet/eet_test_image.c
@@ -85,8 +85,6 @@ EFL_START_TEST(eet_test_image_normal)
85 85
86 file = strdup("/tmp/eet_suite_testXXXXXX"); 86 file = strdup("/tmp/eet_suite_testXXXXXX");
87 87
88 eet_init();
89
90 fail_if(-1 == (tmpfd = mkstemp(file))); 88 fail_if(-1 == (tmpfd = mkstemp(file)));
91 fail_if(!!close(tmpfd)); 89 fail_if(!!close(tmpfd));
92 90
@@ -428,7 +426,6 @@ EFL_START_TEST(eet_test_image_normal)
428 426
429 fail_if(unlink(file) != 0); 427 fail_if(unlink(file) != 0);
430 428
431 eet_shutdown();
432} 429}
433EFL_END_TEST 430EFL_END_TEST
434 431
@@ -454,8 +451,6 @@ EFL_START_TEST(eet_test_image_small)
454 image[2] = IM2; 451 image[2] = IM2;
455 image[3] = IM3; 452 image[3] = IM3;
456 453
457 eet_init();
458
459 fail_if(-1 == (tmpfd = mkstemp(file))); 454 fail_if(-1 == (tmpfd = mkstemp(file)));
460 fail_if(!!close(tmpfd)); 455 fail_if(!!close(tmpfd));
461 456
@@ -491,7 +486,6 @@ EFL_START_TEST(eet_test_image_small)
491 486
492 free(data); 487 free(data);
493 488
494 eet_shutdown();
495} 489}
496EFL_END_TEST 490EFL_END_TEST
497 491
diff --git a/src/tests/eet/eet_test_init.c b/src/tests/eet/eet_test_init.c
index f9a9cd993a..bce13cb60c 100644
--- a/src/tests/eet/eet_test_init.c
+++ b/src/tests/eet/eet_test_init.c
@@ -8,13 +8,6 @@
8 8
9EFL_START_TEST(_eet_test_init) 9EFL_START_TEST(_eet_test_init)
10{ 10{
11 int ret;
12
13 ret = eet_init();
14 fail_if(ret != 1);
15
16 ret = eet_shutdown();
17 fail_if(ret != 0);
18} 11}
19EFL_END_TEST 12EFL_END_TEST
20 13