Youngbok Shin
b4106c90d9
Evas test textblock: Added a test for a broken range_text_get case.
...
Summary: Added a test for range_text_get case on the text that include multi text node.
Reviewers: tasn, woohyun, seoz
CC: cedric
Differential Revision: https://phab.enlightenment.org/D398
2013-12-23 11:01:57 +09:00
Youngbok Shin
8bee8853ae
Evas test textblock: Added a test for a broken range_delete case.
...
This fixes bad integration by me (Tom) of Youngbok's patch in
42a06f24d8
.
2013-12-16 12:05:47 +00:00
Youngbok Shin
42a06f24d8
Evas textblock: Added more range_delete tests.
...
These tests check for a regression with deletion of ranges ending with
visual formats.
Thanks to Youngbok Shin for sending me the tests.
2013-12-13 14:44:16 +00:00
Carsten Haitzler
cd208fbeef
emotion - test - exit if calloc fails
...
spotted this while looking at coverty issue. likely analysis tools
will complain.
2013-12-11 18:22:59 +09:00
Jean-Philippe Andre
a1c3fef538
Evas tests: Add invalid markup test
...
Commit 0cb048f9b6
fixed a crash in Textblock where
a couple "key=val" had an empty value ("key=").
2013-12-10 20:57:19 +09:00
Cedric Bail
41c28c3deb
eina: fuzze test the eina_hash_string_superfast to.
2013-12-04 19:04:24 +09:00
Cedric Bail
517f339fd0
eina: add fuzzy test of eina_hash.
2013-12-04 18:33:04 +09:00
Cedric Bail
d31a85bb51
eina: add fuzzy testing of the red black tree.
2013-12-04 15:20:17 +09:00
Cedric Bail
7cac8bceef
gitignore: ignore new async test.
2013-12-03 16:43:58 +09:00
Sebastian Dransfeld
b47e7651aa
efreet: add async menu test
2013-11-29 22:20:50 +01:00
Daniel Juyung Seo
106960af59
emotion emotion_test: free allocated data when the dependent object is
...
deleted.
This fixes coverity CID 1099709.
2013-11-27 01:48:37 +09:00
Tom Hacohen
1b51bc256b
Evas tests: Add canvas free with ref tests.
...
This should check test for the issue fixed in:
bb4a19b5ad
8bba92fbca
2013-11-26 12:27:31 +00:00
Tom Hacohen
d6ac2464bb
Eo: Make eo_manual_free() return a success flag.
...
eo_manual_free() can fail in some cases, and it is useful for users of
this API to know about it in order to decide what to do.
2013-11-26 12:10:53 +00:00
Tom Hacohen
99c8652dec
Ecore con dns test: Fix test hangs.
...
This should fix the test hangs on Jenkins. Fixed them for me.
The problem was, that the timeout was not handled correctly.
The server object was deleted, but the mainloop was not stopped.
2013-11-25 15:45:01 +00:00
Tom Hacohen
ada27a49d7
Evas textblock: Added a test for wraps ending with whites.
...
This tests for word wraps of lines ending with whites.
Those whites should not be cut, they should be wrapped as well.
2013-11-25 14:41:24 +00:00
maxerba
26df676e06
Adding galician and spanish translations in desktop files
2013-11-22 21:28:37 +01:00
Tom Hacohen
46a3f01465
Eo tests: Added a parent_set parameter validity test.
2013-11-20 12:23:18 +00: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
Tom Hacohen
0e363f54b4
Evas textblock tests: Added tests for correct tag ordering.
...
Check that tags entered are correctly ordered.
2013-11-19 15:56:49 +00:00
Tom Hacohen
61264aebe3
Evas textblock tests: Added a complex markup set/get test.
...
This should make things more robust as thing tests a lot.
2013-11-19 15:56:49 +00:00
Cedric Bail
2dc092d36e
eina: adjust precision for all our targeted convertion.
2013-11-12 20:12:54 +09:00
Cedric Bail
1281a8369f
eina: fix uninitialized data use.
2013-11-12 19:01:10 +09:00
Cedric BAIL
da559ee5d0
eina: use portable infrastructure to detect page size.
2013-11-10 09:26:12 +01:00
Cedric Bail
65c33f6369
eina: eina_lock_debug is only on Eina_Lock.
2013-11-09 20:06:59 +09:00
Cedric Bail
91025a1e04
eina: fix warning of unsigned int being compared to an int.
2013-11-09 20:06:36 +09:00
Guillaume Friloux
329c646218
This adds the test case for the DNS error patch.
...
Do not set the timeout value to something too low or you walk over
another bug i discovered and that needs a lil talk.
2013-11-06 14:32:11 +01:00
Cedric Bail
e570ea7805
ecore: remove coroutine for now. Can easily be reverted for 1.9.
2013-11-05 11:12:20 +09:00
Cedric Bail
be3afd8f4b
eina: update Eina_Cow test to latest API change.
2013-11-04 12:47:12 +09:00
Cedric Bail
fe5dd4bcda
eina: add test for old ABI supported function, but not exposed anymore.
2013-10-25 20:16:10 +09: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
Cedric Bail
39931d295b
eina: use Eina_Barrier to improve coverage and reduce race condition during testing.
...
This should hopefully solve the failing test on Jenkins. As I can't reproduce them
here, it is just an educated guess... We will see !
2013-10-25 15:12:28 +09:00
Cedric Bail
577ae1debc
eina: let's add some straight forward test.
2013-10-16 16:51:41 +09:00
Sebastian Dransfeld
c7c08b0e3e
efreet: No need to set pointer value
...
CID 1039919
2013-10-14 13:22:34 +02:00
Sebastian Dransfeld
6b18d7b80a
efreet: Check if count != 0
...
CID 1039434
2013-10-14 13:14:55 +02:00
Jérémy Zurcher
9e246eadd0
eo: cover eo_class_get new behaviour
2013-10-13 00:00:13 +02: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
maxerba
8de703279c
Adding italian entries in desktop files
2013-10-05 11:17:58 +02:00
Daniel Zaoui
203b6295e9
Reduce the number of deleted objects to reduce the number of expected error prints
2013-09-29 09:34:03 +03:00
Tom Hacohen
e6886e05b1
Eo: get rid of eo_class_do(_super) which we don't need anymore.
...
We now completely use eo_do(_super), so those are not needed.
2013-09-27 17:01:51 +01:00
Tom Hacohen
c1e5fb7cf8
Eo tests: Fixed wrong prototype in one of the tests in the suite.
2013-09-27 16:44:00 +01:00
Tom Hacohen
682c69764d
Revert "eo: libs,test,benchmarks Eo_Class -> Eo"
...
This reverts commit 1714fe93f4
.
We actually want this type, it makes things clearer.
Conflicts:
src/tests/eo/function_overrides/function_overrides_inherit2.c
src/tests/eo/function_overrides/function_overrides_simple.c
src/tests/eo/suite/eo_test_class_simple.c
2013-09-27 16:40:32 +01:00
Tom Hacohen
2a82ff95e4
Eo: unify the class func and normal func prototypes.
...
Conflicts:
src/lib/eo/eo.c
2013-09-27 14:01:47 +01:00
Jérémy Zurcher
1714fe93f4
eo: libs,test,benchmarks Eo_Class -> Eo
...
Conflicts:
src/tests/eo/suite/eo_test_general.c
2013-09-27 14:01:46 +01:00
Cedric Bail
5b7063b62a
eo: fix those anoying check.
2013-09-25 15:29:19 +09:00
Tom Hacohen
4850c4660f
Evas textblock: Fixed broken test.
...
Item is not meant to take the size of the max ascent, just the ascent.
2013-09-23 14:37:19 +01:00
Tom Hacohen
bda3ceb632
Evas textblock: fixed *_markup_get issue with escaped chars.
...
Markup_get was misbehaving and returning wrong results with some escaped
chars. markup_to_utf8 was working correctly. Merged the code together
and now both are consistent and correct.
Thanks to WooHyun for reporting.
2013-09-03 11:50:34 +01:00
Tom Hacohen
6ca84f0486
Evas textblock tests: Make the tests more lax.
...
The tests were failing on jenkins (gentoo), and on arch, but passing on an
old ubuntu. Ubuntu patches freetype, and that's probably the reason for that
with the tests more lax, both work.
2013-08-20 13:32:03 +01:00
Tom Hacohen
1e9f121f42
Evas textblock tests: Adjust tests according to descent fix.
2013-08-20 11:13:06 +01:00
Tom Hacohen
92a6d2e2d2
Evas textblock tests: Fix a broken test and add another test.
...
The test was running without a text being set.
The added test runs with an empty textblock.
2013-08-20 11:13:06 +01:00
Tom Hacohen
ec573948b0
Evas textblock tests: use the libcheck assert macros.
2013-08-20 11:13:06 +01:00
Oleksander Sirook
337b3d4daf
eina: add test for 'eina_file_map_new' function.
2013-08-13 17:31:41 +09:00
Cedric Bail
93b0fbfe65
edje: add warning when not finding the exact match.
...
This will close T223.
2013-08-07 16:01:57 +09:00
Tom Hacohen
6583b83c73
Evas textblock: Use max ascent/descent at the edges of the textblock.
...
Thanks to Youngbok Shin for reporting the difference in behaviour between
textblock and text object.
2013-08-06 09:29:03 +01:00
Chris Michael
d384574095
If efreet_menu_parse returns an actual menu, let's free the memory
...
allocated to it before we return.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 14:24:46 +01:00
Cedric Bail
ee72c809f0
efl: fix headers order.
2013-07-23 11:27:29 +09:00
Cedric Bail
b343874300
edje: fix typo and deep apology to asdfuser.
2013-07-18 20:19:09 +09:00
Cedric Bail
9d54653a31
edje: update position after avoiding rounding error.
2013-07-18 16:52:57 +09:00
Vladislav Brovko
56adc51e83
eina: add Eina_Value tests convert from short, int.
2013-07-18 16:19:26 +09:00
Cedric Bail
592b1362bb
emotion: let's work out of tree.
...
NOTE: I have no idea why we did require emotion_test to only work
in tree. If you have an explanation, I would be glad to ear it. In the
mean time, this patch restore the use of emotion_test when your build
tree is not around.
2013-07-16 09:49:01 +09:00
Cedric Bail
d9aa0fccd9
eet: add support for EET_T_VALUE.
...
Add the moment, it only support simple type. Need iterator for more
complex type. It also expect a pointer to an Eina_Value and not directly
an Eina_Value, let me know if you prefer the opposite and maybe I
should rename it EET_T_PVALUE.
2013-07-15 17:04:34 +09:00
Cedric Bail
4a183ac1a8
eet: fix test suite to always use the proper data descriptor type.
2013-07-15 17:04:34 +09:00
Sergii Kanaev
f21bcaccbb
eina: improve test coverage for Eina_Clist.
...
Add tests for eina_clist_add_after, eina_clist_add_head, eina_clist_next
and eina_clist_add_tail.
2013-07-09 10:23:00 +09:00
maxerba
a64e0c0573
Fixed sorting in desktop files
2013-07-05 19:00:52 +02:00
Cedric Bail
2fdc05863d
eet: force thread to always run during eet_cache_concurrency test.
2013-07-02 13:45:30 +09:00
Daniel Willmann
7927c0f9fa
edje_test: Test geometry of a more complex layout
...
It seems someone thought it was fun to have rel2.offset behave
differently than rel1.offset...
A rel2.offset of 0 actually means the size is increased by one pixel.
Acocunt for that in the tests.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-28 14:25:30 +01:00
Daniel Willmann
db29fbb286
edje_test: Make the variable returned in test_layout_get static
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-28 14:25:30 +01:00
Daniel Willmann
5763195418
edje_test: Test geometry and color of edje part
...
Just a simple test that uses the existing test_layout
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 17:51:30 +01:00
Daniel Willmann
a23ff7b5ab
edje_test: Make test_layout_get() configurable
...
This will help when we want to test different edj files
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 17:50:23 +01:00
Daniel Willmann
3e5ff22ab9
eina_test_fp: Improve speed of eina_fp test
...
Test less values in between, but still have a decent combination of
large/small values to test.
Fixes -WTasn
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 14:34:02 +01:00
Tom Hacohen
fdbc477f79
Evas textblock: Fixed issue with textblocks without fonts segfaulting.
...
Fixes T184 (which is a regression).
2013-06-25 16:37:48 +01:00
Sebastian Dransfeld
068f1ddc62
efl: formatting
2013-06-20 13:08:36 +02:00
Jérémy Zurcher
4eb2fb0bb6
eo_class_new: pack mro at the end of _Eo_Class
2013-06-17 23:41:02 +02:00
Daniel Willmann
0e51bff61a
eina_test_str: Make sure we have an empty string before using strcat
...
Caused issues with address sanitizer. Just calling allocating memory for
a string does not mean that it's empty/NULL-terminated.
2013-06-12 23:57:42 +01:00
Jérémy Zurcher
22220ca70a
improve eina_str coverage
...
my time killer, what a sad life ;))
2013-06-12 23:34:40 +02:00
Jérémy Zurcher
d0d1b705fb
indent eina_list tests
2013-06-12 23:34:40 +02:00
Eduardo Lima (Etrunko)
d3292a7ae9
Split .gitignore into multiple files
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Daniel Zaoui
3bfc9ae76f
Ecore: fix warnings
2013-05-27 10:49:27 +03:00
Daniel Willmann
4cd116db19
tests/ecore_con: Sadly IPv4 is still more prevalent than IPv6
...
Switch to IPv4 loopback - especially since our build slaves don't have
IPv6 support...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-24 14:43:32 +01:00
Daniel Willmann
7d654ec027
ecore_con: Reenable ecore_con tests - they seem fine (but don't use port 8080)
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-24 11:47:47 +01:00
Cedric Bail
d66517debf
ecore: animator can get called with the same value due to rounding and range limit.
2013-05-20 18:59:43 +09:00
Daniel Willmann
d1e38b8535
tests/ecore_animators: Don't rely on consistent timing
...
This may break under heavy load so we shouldn't rely on it. Instead make
sure that time only moves forward.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-17 18:16:09 +01:00
Daniel Willmann
62325dd693
tests/ecore: Add test for ecore_animator
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-17 17:15:27 +01:00
Daniel Willmann
7c20a90c3d
eina_test_fp: Test multiplication and division as well
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-17 17:10:55 +01:00
Tom Hacohen
e7cd15b04b
Fixed text/block tests: Added Korean UnDotum font and fixed some issues.
2013-05-13 15:13:25 +01:00
Tom Hacohen
211ebc9e88
Fix broken test from previous commit.
2013-05-13 13:51:14 +01:00
Tom Hacohen
a7d7cc1df1
Evas bidi test: Improved error output.
2013-05-13 13:49:51 +01:00
Jérémy Zurcher
52b20f0334
eina_stringshare: improve coverage
2013-05-08 12:14:57 +02:00
Jérémy Zurcher
f71b40db2f
eo ptr ind tests: guard numerous fail_if, lesson learned from eina_list_shuffle
2013-05-07 23:40:53 +02:00
Jérémy Zurcher
fc34b73c28
eo ptr ind: eo_test_general, increase NB_OBJS to cover more
2013-05-07 00:35:07 +02:00
Jérémy Zurcher
94845627b5
Revert "eo suite: add ptr indirection coverage test"
...
This reverts commit 88cf0cf460
.
already covered in eo_test_general.c
2013-05-07 00:03:59 +02:00
Jérémy Zurcher
88cf0cf460
eo suite: add ptr indirection coverage test
2013-05-03 21:13:03 +02:00
Daniel Zaoui
f6a37f88d2
Eo: Add reference functions for objects data
...
We want to introduce a new mechanism concerning the data of the Eo
objects.
The goal is to improve the memory management by defragmenting the memory
banks used by the Eo objects. The first phase has been done by raster
and consists in allocating the objects into a separate memory region
that the one used by malloc. So now, we know where our objects are
located.
Now, moving objects means moving data of objects. The issue we have here
is that a lot of data pointers are stored into data of other objects,
e.g Evas Object data into lists for rendering...
We need a way to reference the data and eo_data_get doesn't provide us
that. So we need to improve the API for data extraction by requesting
from the developer if the data will be stored or not. Five functions are
supplied:
- eo_data_scope_get: no referencing, the data pointer is no more used after
exiting the function.
- eo_data_ref: reference the data of the object. It means that while the
data is referenced, the object cannot be moved.
- eo_data_xref: reference the data of the object but for debug purpose,
we associate the objects that references. Same behavior as eo_data_ref
for non-debug.
- eo_data_unref: unreference the data of an object.
- eo_data_xunref: unreference the data of an object previously
referenced by another object.
I deprecated the eo_data_get function. Most of the time,
eo_data_scope_get needs to be used.
In the next patches, I changed the eo_data_get to the corresponding
functions, according to the usage of the data pointer.
The next step is to find all the places in the code where the data is
stored but not yet referenced. This will be done by:
- requesting from every object to unreference all data to other objects.
- moving all the objects from one region to another
- requesting from every object to rerefenrence the data.
- debugging by hunting the segmentation faults and other weird
creatures.
2013-05-01 10:37:08 +03:00
Daniel Willmann
0c0ff01930
ecore_audio test: Change the volume of the output instead of the input
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann
72e65872d5
ecore_audio: Add test to check correct cleanup when removing input
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann
014c6176b3
ecore_audio: Test sndfile/tone format and source methods better
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann
ed011b10cc
ecore_audio: Test pulseaudio output if it is enabled
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann
bafa8f0ae6
ecore_audio: Test VIO unsetting and freeing
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann
b9ad2190ab
ecore_audio: Test read-while-paused code path as well
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26 18:49:25 +01:00
Daniel Willmann
fdb73b8a49
ecore_audio: Test VIO input/output of base in/out class
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26 18:49:25 +01:00
Daniel Willmann
1a8fcf81a0
ecore_audio: Test the looped signal/code path as well
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26 18:49:24 +01:00
Tom Hacohen
fc05066a50
Eo: fixed an issue with the test_value test.
2013-04-24 17:42:24 +01:00
Tom Hacohen
a26ed054a9
Eo: Added test to the special eina value type.
2013-04-24 16:45:41 +01:00
Daniel Willmann
97d4b50c91
ecore_audio: Add more return values for methods, catch up with API
...
input_attach, input_detach, format_set, and source_set now return an
Eina_Bool
Tests, examples and edje_multisense adapted
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-23 17:13:39 +01:00
Lucas De Marchi
4e3804041f
Rename edbus->eldbus
...
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done
find . -name '*edbus2*' -exec rename edbus2 eldbus {} \;
git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done
git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done
git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done
git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done
git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done
find . -name '*edbus*' -exec rename edbus eldbus {} \;
find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;
2013-04-23 12:36:29 -03:00
Daniel Zaoui
d29fc36e1b
Eo: tests to check eo ptrs indirection feature.
...
The test doesn't fail if the feature is disabled.
2013-04-23 09:50:40 +03:00
Daniel Willmann
6781342d3c
ecore_audio: Guard against attaching an input twice
...
Add check in input_attach and change test case accordingly
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 18:34:16 +01:00
Daniel Willmann
af8fed32c6
ecore_audio test: Better test coverage for inputs
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 15:43:20 +01:00
Valerii Kanunik
d601c15302
ecore: update ecore_test_ecore_main_loop_event test for more coverage code.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-19 15:43:42 +09:00
Daniel Willmann
986244339b
tests/ecore_audio: Create temporary test files in build dir
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:47:35 +01:00
Daniel Willmann
e99ab4623a
ecore_audio: Add return value to input_attach method
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:32:46 +01:00
Daniel Willmann
8b8dc1fd6d
ecore_audio: Enable tone test case
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann
542b8743bb
ecore_audio: Enable soundfile test for eo
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann
48b78234a8
ecore_audio: Build Eo-based Ecore_Audio and tests now
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Yakov Goldberg
0389d46014
Evas textblock: fix split cursor tests; FIXME ligatures tests
...
- re-enabling split BiDi cursor tests, disabled in 0d68ffbe;
ligatures tests are still disabled;
- change "fail_if" to "ck_assert_int_*",
because it prints error message with values;
- fixing usage of embedding LTR/RTL codes in tests;
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-17 10:07:29 +03:00
Tom Hacohen
14f7c774ff
Eina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR.
2013-04-16 13:57:00 +01:00
Stefan Schmidt
763bdd1618
eeze/sensor: Switch timestamp to relative values coming.
...
Switch from absolut microseconds since epoch to a monotonic clock with
realtive values. Switch from unsigned long long to double.
This aligns it with how we present time in efl. ecore_time_get is used
when possible. For the tizen modules we convert the the epoch timestamp
we get into a double. This is still a working monotone clock source.
As this will be released the first time with 1.8 we don't have any API
break here.
2013-04-16 13:21:28 +01:00
Tom Hacohen
3f3ad67616
Evas textblock: Fixed a bug with deletion of ranges.
...
Fixed a bug with deletion of ranges that end just before a visual format.
Thanks to WooHyun Jung for reporting.
2013-04-15 17:15:22 +01:00
Stefan Schmidt
6b70dd57d3
eeze/sensor: Move eeze_Sernsor_obj_get into private header.
...
Together with eeze_sensor_module_register/unregister these are the functions
that are irrelevant for developer when they just want to use the eeze_sensor
API.
Still all three need to be marked with EAPI as they are used in the backend
modules and due to our visibility hidden usage the module loading would fail
if we remove EAPI from them.
Moving them into the private header should give an indication that these are
not meant for pure API users.
2013-04-12 15:35:08 +01:00
Tom Hacohen
0ed15b04f8
Eo array: Add more testing.
2013-04-12 13:49:26 +01:00
Tom Hacohen
3e11c380c9
Eo: Added eo_event_callback_array_* functions.
...
These functions let you pass an array of callbacks instead of just one.
It's more memory efficient to use this if you just add a bulk of events
on the same object.
This commits breaks ABI, and breaks API of the EO_EV_CALLBACK_ADD/DEL
signals (the event info passed).
2013-04-12 12:02:49 +01:00
Daniel Willmann
53e7fb6edc
ecore_timer test: Pre-increment variable to prevent buffer overflow
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-12 10:10:25 +01:00
Cedric Bail
38543ae53b
ecore: reduce risk of rounding error.
2013-04-12 11:19:39 +09:00
Valerii Kanunik
89f108312e
ecore: add tests for ecore_poll module.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 11:07:11 +09:00
Dmytro Kaidalov
fc0d46411c
ecore: add tests for Ecore_Evas.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 10:46:47 +09:00
Vitaliy Venzak
b3159a889c
ecore: add ecore timer test.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 10:46:47 +09:00
Valerii Kanunik
4c992a4f85
ecore: Added tests for ecore_app_args procedures.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-04-12 10:46:47 +09:00
Yakov Goldberg
0d68ffbe86
Evas textblock: Revert commit 3832ec5
...
with additional disabling of unused function
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-11 18:19:46 +03:00
Yakov Goldberg
3832ec5500
Evas textblock: fixing tests
...
Re-enabling tests, disabled in commit:
84fa062d6e
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-11 17:15:46 +03:00
Yakov Goldberg
ff1230f77a
Evas text: fixing test
...
Adding conditional dependence on freebidi
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-11 17:15:45 +03:00
Yakov Goldberg
84fa062d6e
Evas textblock: disable some tests. FIXME
...
Some of tests fail on e5-jenkins-slave-x86_64-1.
Tests seem right and pass locally,
but not on the server.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-10 17:05:44 +03:00
Yakov Goldberg
7016872619
Efl textblock/entry: additions to split BiDi cursor
...
- handling multiple runs, multiple lines, last char of line/par
- tests added
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-10 14:59:48 +03:00
Yakov Goldberg
afddaf94a0
Evas textblock: fixing tests to work w/ or w/o harfbuzz
...
In this test harfbuzz creates ligatures,
so need to handle cases w/ or w/o harfbuzz
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-10 14:43:35 +03:00
Daniel Willmann
fe8db5a2d1
eo: Update tests to check for the correct error strings
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-09 14:13:47 +01:00
Jérémy Zurcher
2036f7d344
eina: add eina_inlist_first and eina_inlist_last
...
- both as static inline functions
- test added in eina_inlist_simple
2013-04-09 12:03:05 +02:00
Tom Hacohen
920c1b2af8
Evas font: Fixed a bug with cluster sizes and ligatures.
...
This casused cursor position (among other things) to look wrong with texts
ending with ligatures.
Thanks to Yakov Goldberg for reporting.
2013-04-08 13:31:09 +01:00
Yakov Goldberg
fb7994e0d9
evas/font: fixing tests
...
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-04 14:35:30 +03:00
Yakov Goldberg
d55c3f2bb7
evas/font: fix handling querying char at coords (click on gap)
...
If query at x coord, which points to rigth half of LTR char,
next position will be returned. The same for left half of RTL char.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-04 13:10:22 +03:00
Cedric BAIL
be2cebab17
eina: fix test logic after change in Eina_Cow GC.
2013-04-03 19:21:51 +09:00
Daniel Willmann
75aa9118d0
ecore_audio: Rename ecore_audio_*_userdata_{get,set} userdata -> data
...
As mentioned by Cedric *_data_set is used in other places of EFL
already.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:21:44 +01:00
Daniel Willmann
35d203d9e7
eina_cow: Fix compilation for tests again
...
eina_cow_add now requires a gc parameter
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 15:07:25 +01:00
Carsten Haitzler
332e215b41
matching fix to evas test suite to account for changes in word
...
start/end changes as per log message/changelog
2013-03-29 09:21:20 +09:00
Stefan Schmidt
5706c6027b
eeze/sensor/tests: Catch all callbacks from async read.
...
Originally we quit mainloop on the first event we got. As we expect a bit
more we are now counting them and only leave when all arrived.
2013-03-28 14:38:12 +00:00
Stefan Schmidt
f7c055b0ce
eeze/sensor: Setup all ecore event types in init.
...
We had some set up but not all. Do that and avoid the redo'ing in
eeze_sensor test.
2013-03-27 17:15:27 +00:00
Stefan Schmidt
fdb479d060
eeze/sensor/test: Remove useless check.
...
Thsi would only test ecore_event_add and nothing wrt to eeze sensor.
2013-03-27 17:14:31 +00: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
Valerii Kanunik
940543d972
eina: improve Eina_Value coverage.
...
Added test 1: eina_value_test_convert_long.
Added test 2: eina_value_test_convert_ulong.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-25 13:00:00 +09:00
Daniel Willmann
c2bdfae63e
eeze_sensor: Don't free the data passed in the callback ourself
...
The way ecore_event_add() is used in the sensor modules takes care of
that already (not providing a free cb).
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-22 18:32:38 +00:00