diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-06-22 13:04:05 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-07-30 13:11:40 +0200 |
commit | 9ab5da340ffe6f13afc5b3e32682635980b96ad5 (patch) | |
tree | 250419cc935087af8315af9cf0a1833592835882 /tests/empathy-live-search-test.c | |
parent | 0cdeb7e2b28f91b84cefb15d72eaa21af8a5be99 (diff) | |
download | empathy-9ab5da340ffe6f13afc5b3e32682635980b96ad5.tar.gz |
Add unit tests for the multi-word searching
Diffstat (limited to 'tests/empathy-live-search-test.c')
-rw-r--r-- | tests/empathy-live-search-test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/empathy-live-search-test.c b/tests/empathy-live-search-test.c index 6263481a2..6401f2557 100644 --- a/tests/empathy-live-search-test.c +++ b/tests/empathy-live-search-test.c @@ -35,6 +35,12 @@ test_live_search (void) { "élève", "ele", TRUE }, { "Azais", "AzaÏs", TRUE }, + /* Multi words */ + { "Xavier Claessens", "Xav Cla", TRUE }, + { "Xavier Claessens", "Cla Xav", TRUE }, + { "Foo Bar Baz", " b ", TRUE }, + { "Foo Bar Baz", "bar bazz", FALSE }, + { NULL, NULL, FALSE } }; guint i; |