From: Marc Cromme Date: Thu, 25 Oct 2007 08:42:21 +0000 (+0000) Subject: simplified test case XML config root element tags X-Git-Tag: YAZ.3.0.16~41 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=80eb42ff87c6bda77018232e174e5aae41fc29e8;p=yaz-moved-to-github.git simplified test case XML config root element tags --- diff --git a/test/tst_icu_I18N.c b/test/tst_icu_I18N.c index 08099e9..cbef9e8 100644 --- a/test/tst_icu_I18N.c +++ b/test/tst_icu_I18N.c @@ -1,4 +1,4 @@ -/* $Id: tst_icu_I18N.c,v 1.7 2007-10-25 08:32:51 marc Exp $ +/* $Id: tst_icu_I18N.c,v 1.8 2007-10-25 08:42:21 marc Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -493,13 +493,13 @@ void test_icu_I18N_chain(int argc, char **argv) struct icu_chain * chain = 0; - const char * xml_str = "" + const char * xml_str = "" "" "" "" "" "" - ""; + ""; xmlDoc *doc = xmlParseMemory(xml_str, strlen(xml_str)); @@ -549,7 +549,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 @@ -559,7 +559,7 @@ void test_bug_1140(void) "" "" "" - ""; + ""; xmlDoc *doc = xmlParseMemory(xml_str, strlen(xml_str)); @@ -610,10 +610,10 @@ void test_chain_empty_token(void) UErrorCode status = U_ZERO_ERROR; struct icu_chain * chain = 0; - const char * xml_str = "" + const char * xml_str = "" "" "" - ""; + ""; xmlDoc *doc = xmlParseMemory(xml_str, strlen(xml_str)); xmlNode *xml_node = xmlDocGetRootElement(doc);