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
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
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
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
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
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
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
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
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
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
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
Tom Hacohen
3ba9311c0f
Tests: Output XML to build dir, not source dir.
2013-03-12 12:46:06 +00:00
Stefan Schmidt
85810dac8c
tests: Add xml output file for check runs for the use with jenkins.
...
We can do pretty graphs with jenkins about our unit tests. But we
need the check xml output for that. Enabling it in all suites.
2013-03-12 09:59:06 +00:00
Tom Hacohen
23264ae09c
Evas textblock: Fixed coord (int) overflow.
...
X advance coords can be bigger than the limits of short.
2013-03-11 15:33:28 +00:00
Tom Hacohen
1425b0d2dc
Evas text: Fixed a bug with the (kinda) newly added text object ellipsis.
...
There was a problem with bidi texts and ellipsis. The text would be trimmed
according to the visual position instead of the logical.
2013-02-25 15:39:32 +00:00
Tom Hacohen
039b3da078
Evas text: Added a test that shows how broken ellipsis is.
2013-02-25 15:22:04 +00:00
Tom Hacohen
9696f44a67
Evas text tests: Start shipping DejaVuSans with the test suite.
...
We can finally rely on having fonts in all cases (even when there's no
fontconfig) and we can also rely on specific sizing.
2013-02-25 14:59:03 +00:00
Tom Hacohen
d6dababe78
Evas text: Fixed bug with the text object direction detection.
2013-02-21 13:39:37 +00:00
Tom Hacohen
3974cb3dc1
Evas textblock: Fixed a selection bug introduced in my previous commit.
...
I matched against the wrong values so it never included items in the middle
even when needed.
SVN revision: 83869
2013-02-13 12:42:44 +00:00
Tom Hacohen
548e548632
Evas textblock: Fixed a selection issue.
...
The issue happens when selecting in strings that have both bidi and different
scripts in the same bidi run. E.g: "עבריתenglishрусскийעברית".
SVN revision: 83786
2013-02-08 15:31:25 +00:00
Tom Hacohen
6aa4eb7d86
Evas text test: Fixed the test to work with Clang.
...
Apparently L'' doesn't work there.
SVN revision: 82940
2013-01-17 16:58:23 +00:00
Tom Hacohen
e183866d21
Evas text test: Use the more verbose test macros.
...
SVN revision: 82799
2013-01-15 11:07:22 +00:00
Gustavo Sverzut Barbieri
733425c62c
efl: make libraries aware of EFL_RUN_IN_TREE.
...
this variable tells that the build is being done in tree and we should
not look at install locations.
SVN revision: 82217
2013-01-04 17:19:43 +00:00
Vincent Torri
4ae8b8cf86
merge: do not use recursive make for unit tests
...
SVN revision: 79413
2012-11-18 07:12:38 +00:00
Vincent Torri
80910393d6
merge: add evas tests and examples
...
SVN revision: 79300
2012-11-14 20:12:53 +00:00