Vincent Torri
c086d505a9
Eina: fix eina_file_split on Windows and update unit test
...
@fix
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-04-29 15:27:47 +09:00
vivek
dab4fb492a
eina: add test cases for eina file xattr functions.
...
Summary:
Added test cases for eina_file_xattr_get and eina_file_xattr_value_get functions
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2401
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-22 15:10:19 +02:00
Andy Williams
128a78940b
eina: include blank lines in file iterator T2237
...
any line that would not have been included before has length == 0
2015-03-27 21:42:45 +00:00
Andy Williams
a6290f8505
eina: Change newline parsing to handle crlf better
...
Adjust test to demonstrate failure, existing code only worked for
windows newlines on blank line.
@fix T2236
2015-03-27 09:56:22 +00:00
Cedric BAIL
458373e795
eina: don't leak directory during testing of Eina_File infrastructure.
2015-03-13 09:33:28 +01:00
Daniel Hirt
d503dbeed1
eina: Eina_File - add test case for path resolution.
...
Summary:
This is a follow-up to the 7cbf22212f
revert commit. It's a bit late, as the issue has already been fixed with
the later 7143bd7fb5
commit.
This test checks eina_file_sanitize "../" case with absolute paths (i.e.
that start with "/"), and should fail prior the revert mentioned above.
Should come up with more tests like this one.
Reviewers: stefan_schmidt, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1937
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05 15:37:15 +01:00
Cedric BAIL
563ea6a01c
tests: remove warnings.
2014-03-06 14:27:26 +09:00
Jérémy Zurcher
58b578c9b0
eina: fix a possible race condition during eina_file_close.
...
replay 7e8fb93
without the breakage
2013-11-20 10:22:00 +01:00
Jérémy Zurcher
8a3e021298
Revert "eina: fix a possible race condition during eina_file_close."
...
it breaks everything
This reverts commit 7e8fb93206
.
2013-11-20 10:22:00 +01:00
Cedric Bail
7e8fb93206
eina: fix a possible race condition during eina_file_close.
...
The lock on the main hash was taken to late (after we took the decision
to remove the targeted Eina_File from the cache), this means it was possible
to get an Eina_File from the cache that was going to be removed. This patch
attempt to fix that potential race condition.
Hopefully should fix T461.
2013-11-20 13:02:37 +09:00
Cedric BAIL
da559ee5d0
eina: use portable infrastructure to detect page size.
2013-11-10 09:26:12 +01:00
Cedric Bail
7f8665a266
eina: improve test coverage of Eina_File API.
2013-10-25 19:57:57 +09:00
Cedric Bail
cae6b0b0e4
eina: improve test coverage of virtual file.
2013-10-25 19:50:14 +09:00
Carsten Haitzler
69e27abdc3
eina - and e3fl in general - stop using eina_error_get/set - useless really
2013-10-11 16:50:40 +09:00
Oleksander Sirook
337b3d4daf
eina: add test for 'eina_file_map_new' function.
2013-08-13 17:31:41 +09:00
Vladislav Brovko
7584a7e84d
eina: add eina_file_mkdtemp and tests for Eina_File.
...
Test added for :
eina_file_direct_ls_simple
eina_file_ls_simple
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-27 22:45:34 +09:00
Vincent Torri
7fe3d35994
merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
...
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Vincent Torri
785f2a6b3a
merge : add eina
...
currently, examples, tests and benchmark are not set. That's the next things i'll do
SVN revision: 76710
2012-09-16 10:57:48 +00:00