projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow YAZ to use ICU 3.4
[yaz-moved-to-github.git]
/
test
/
tst_icu_I18N.c
diff --git
a/test/tst_icu_I18N.c
b/test/tst_icu_I18N.c
index
c58ac85
..
f5e3e76
100644
(file)
--- a/
test/tst_icu_I18N.c
+++ b/
test/tst_icu_I18N.c
@@
-1,9
+1,6
@@
-/*
- * Copyright (C) 2005-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: tst_icu_I18N.c,v 1.14 2007-11-08 13:35:14 adam Exp $
- *
*/
/* DO NOT EDIT THIS FILE IF YOUR EDITOR DOES NOT SUPPORT UTF-8 */
*/
/* DO NOT EDIT THIS FILE IF YOUR EDITOR DOES NOT SUPPORT UTF-8 */
@@
-481,9
+478,9
@@
void test_icu_I18N_chain(int argc, char **argv)
const char * xml_str = "<icu locale=\"en\">"
const char * xml_str = "<icu locale=\"en\">"
- "<normalize rule=\"[:Control:] Any-Remove\"/>"
+ "<transform rule=\"[:Control:] Any-Remove\"/>"
"<tokenize rule=\"l\"/>"
"<tokenize rule=\"l\"/>"
- "<normalize rule=\"[[:WhiteSpace:][:Punctuation:]] Remove\"/>"
+ "<transform rule=\"[[:WhiteSpace:][:Punctuation:]] Remove\"/>"
"<display/>"
"<casemap rule=\"l\"/>"
"</icu>";
"<display/>"
"<casemap rule=\"l\"/>"
"</icu>";
@@
-537,10
+534,10
@@
void test_bug_1140(void)
/* if the first rule is normalize instead. Then it works */
#if 0
/* if the first rule is normalize instead. Then it works */
#if 0
- "<normalize rule=\"[:Control:] Any-Remove\"/>"
+ "<transform rule=\"[:Control:] Any-Remove\"/>"
#endif
"<tokenize rule=\"l\"/>"
#endif
"<tokenize rule=\"l\"/>"
- "<normalize rule=\"[[:WhiteSpace:][:Punctuation:]] Remove\"/>"
+ "<transform rule=\"[[:WhiteSpace:][:Punctuation:]] Remove\"/>"
"<display/>"
"<casemap rule=\"l\"/>"
"</icu>";
"<display/>"
"<casemap rule=\"l\"/>"
"</icu>";
@@
-596,7
+593,7
@@
void test_chain_empty_token(void)
const char * xml_str = "<icu locale=\"en\">"
"<tokenize rule=\"w\"/>"
const char * xml_str = "<icu locale=\"en\">"
"<tokenize rule=\"w\"/>"
- "<normalize rule=\"[[:WhiteSpace:][:Punctuation:]] Remove\"/>"
+ "<transform rule=\"[[:WhiteSpace:][:Punctuation:]] Remove\"/>"
"</icu>";
xmlDoc *doc = xmlParseMemory(xml_str, strlen(xml_str));
"</icu>";
xmlDoc *doc = xmlParseMemory(xml_str, strlen(xml_str));