diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-07-22 21:02:06 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-07-30 19:11:40 +0800 |
commit | fa60b75334999bedb28dfacdbb5a73f1cc62193a (patch) | |
tree | 984954ebfd8b08e71ff436e00399f003aff127c9 /tests/empathy-live-search-test.c | |
parent | 9ab5da340ffe6f13afc5b3e32682635980b96ad5 (diff) | |
download | gsoc2013-empathy-fa60b75334999bedb28dfacdbb5a73f1cc62193a.tar gsoc2013-empathy-fa60b75334999bedb28dfacdbb5a73f1cc62193a.tar.gz gsoc2013-empathy-fa60b75334999bedb28dfacdbb5a73f1cc62193a.tar.bz2 gsoc2013-empathy-fa60b75334999bedb28dfacdbb5a73f1cc62193a.tar.lz gsoc2013-empathy-fa60b75334999bedb28dfacdbb5a73f1cc62193a.tar.xz gsoc2013-empathy-fa60b75334999bedb28dfacdbb5a73f1cc62193a.tar.zst gsoc2013-empathy-fa60b75334999bedb28dfacdbb5a73f1cc62193a.zip |
Make livesearch work if accentued letters are pre-decomposed
Diffstat (limited to 'tests/empathy-live-search-test.c')
-rw-r--r-- | tests/empathy-live-search-test.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/empathy-live-search-test.c b/tests/empathy-live-search-test.c index 6401f2557..377470e60 100644 --- a/tests/empathy-live-search-test.c +++ b/tests/empathy-live-search-test.c @@ -29,12 +29,17 @@ test_live_search (void) { "Hello-World", "wo", TRUE }, { "HelloWorld", "wo", FALSE }, - /* Test accentued letters */ + /* Test composed chars (accentued letters) */ { "Jörgen", "jor", TRUE }, { "Gaëtan", "gaetan", TRUE }, { "élève", "ele", TRUE }, { "Azais", "AzaÏs", TRUE }, + /* Test decomposed chars, they looks the same, but are actually + * composed of multiple unicodes */ + { "Jorgen", "Jör", TRUE }, + { "Jörgen", "jor", TRUE }, + /* Multi words */ { "Xavier Claessens", "Xav Cla", TRUE }, { "Xavier Claessens", "Cla Xav", TRUE }, |