Commit ac1a1874 authored by Cedric BAIL's avatar Cedric BAIL

eet: use Eina_File and fix forgotten init in Eet test suite.


SVN revision: 59471
parent c9a4fc30
......@@ -496,3 +496,8 @@
* Use Eina_Lock.
* Sync GNUTLS initialisation with Eina.
2011-05-17 Cedric BAIL
* Use Eina_File.
* Fix test forgetting to initialize eet.
This diff is collapsed.
......@@ -1018,6 +1018,12 @@ START_TEST(eet_file_data_test)
fail_if(!eet_data_write(ef, edd, EET_TEST_FILE_KEY1, &etbt, 0));
result = eet_data_read(ef, edd, EET_TEST_FILE_KEY1);
fail_if(!result);
/* Test the resulting data. */
fail_if(_eet_test_ex_check(result, 0) != 0);
eet_close(ef);
/* Read back the data. */
......@@ -1204,6 +1210,8 @@ START_TEST(eet_image)
unsigned int w;
unsigned int h;
eet_init();
fail_if(!(file = tmpnam(file)));
/* Save the encoded data in a file. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment