[tracker] tests, libtracker-fts: use a more generic test string for chinese parser tests



commit 9ab91da28c131589d1505814f15d58f77c9ade2e
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Oct 3 16:36:29 2013 +0200

    tests,libtracker-fts: use a more generic test string for chinese parser tests
    
    Instead of a made up string, which doesn't have any true meaning, and which
    makes libicu and libunistring differ on the number of words found, use a simpler
    sentence...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699412

 tests/libtracker-fts/tracker-parser-test.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/libtracker-fts/tracker-parser-test.c b/tests/libtracker-fts/tracker-parser-test.c
index f9b43c1..dcdfbac 100644
--- a/tests/libtracker-fts/tracker-parser-test.c
+++ b/tests/libtracker-fts/tracker-parser-test.c
@@ -324,12 +324,12 @@ static const TestDataExpectedNWords test_data_nwords[] = {
        { "noextension.",                                           TRUE,   1 },
        { "ホモ・サピエンス",                                          TRUE,   2 }, /* katakana */
 #ifdef FULL_UNICODE_TESTS /* glib/pango doesn't work properly with chinese */
-       { "本州最主流的风味",                                          TRUE,   8 }, /* chinese */
+       { "喂人类",                                                   TRUE,   2 }, /* chinese */
 #endif
        { "Американские суда находятся в международных водах.",     TRUE,   6 }, /* russian */
 #ifdef FULL_UNICODE_TESTS /* glib/pango doesn't work properly with chinese */
        { "Bần chỉ là một anh nghèo xác",                            TRUE,   7 }, /* vietnamese */
-       { "ホモ・サピエンス 本州最主流的风味 katakana, chinese, english", TRUE,  13 }, /* mixed */
+       { "ホモ・サピエンス 喂人类 katakana, chinese, english",          TRUE,   7 }, /* mixed */
 #endif
        { NULL,                                                     FALSE,  0 }
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]