X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftst_icu_I18N.c;h=35b4c56b3139c783a7035404104459d33b7b0654;hb=e005fd551460aab9ccefb561e42c746cc58fd302;hp=717e760ee3ee467411f1df45bb62a1d58b364e97;hpb=42e6fdb480e4de99b856018fd70475bd7fbdb928;p=yaz-moved-to-github.git diff --git a/test/tst_icu_I18N.c b/test/tst_icu_I18N.c index 717e760..35b4c56 100644 --- a/test/tst_icu_I18N.c +++ b/test/tst_icu_I18N.c @@ -1,4 +1,4 @@ -/* $Id: tst_icu_I18N.c,v 1.5 2007-10-24 13:23:34 marc Exp $ +/* $Id: tst_icu_I18N.c,v 1.6 2007-10-24 14:48:17 marc Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -493,7 +493,7 @@ void test_icu_I18N_chain(int argc, char **argv) struct icu_chain * chain = 0; - const char * xml_str = "" + const char * xml_str = "" "" "" "" @@ -511,7 +511,7 @@ void test_icu_I18N_chain(int argc, char **argv) // printf("ICU chain:\ninput: '%s'\n", en_str); - chain = icu_chain_xml_config(xml_node, &status); + chain = icu_chain_xml_config(xml_node, (uint8_t *) "en", &status); #if 0 chain = icu_chain_create((uint8_t *) "en:word", (uint8_t *) "en"); @@ -584,7 +584,7 @@ void test_bug_1140(void) UErrorCode status = U_ZERO_ERROR; struct icu_chain * chain = 0; - const char * xml_str = "" + const char * xml_str = "" /* if the first rule is normalize instead. Then it works */ #if 0 @@ -603,7 +603,7 @@ void test_bug_1140(void) xmlNode *xml_node = xmlDocGetRootElement(doc); YAZ_CHECK(xml_node); - chain = icu_chain_xml_config(xml_node, &status); + chain = icu_chain_xml_config(xml_node, (uint8_t *) "en", &status); xmlFreeDoc(doc); YAZ_CHECK(chain); @@ -647,7 +647,7 @@ void test_chain_empty_token(void) UErrorCode status = U_ZERO_ERROR; struct icu_chain * chain = 0; - const char * xml_str = "" + const char * xml_str = "" "" "" "" @@ -657,7 +657,7 @@ void test_chain_empty_token(void) xmlNode *xml_node = xmlDocGetRootElement(doc); YAZ_CHECK(xml_node); - chain = icu_chain_xml_config(xml_node, &status); + chain = icu_chain_xml_config(xml_node, (uint8_t *) "en", &status); xmlFreeDoc(doc); YAZ_CHECK(chain);