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