OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (C) 1999-2012, International Business Machines | 3 * Copyright (C) 1999-2014, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * Date Name Description | 6 * Date Name Description |
7 * 12/09/99 aliu Ported from Java. | 7 * 12/09/99 aliu Ported from Java. |
8 ********************************************************************** | 8 ********************************************************************** |
9 */ | 9 */ |
10 | 10 |
11 #include "unicode/utypes.h" | 11 #include "unicode/utypes.h" |
12 | 12 |
13 #if !UCONFIG_NO_COLLATION | 13 #if !UCONFIG_NO_COLLATION |
14 | 14 |
15 #include "thcoll.h" | 15 #include "thcoll.h" |
16 #include "unicode/utypes.h" | 16 #include "unicode/utypes.h" |
17 #include "unicode/coll.h" | 17 #include "unicode/coll.h" |
18 #include "unicode/localpointer.h" | 18 #include "unicode/localpointer.h" |
19 #include "unicode/sortkey.h" | 19 #include "unicode/sortkey.h" |
| 20 #include "unicode/tblcoll.h" |
20 #include "unicode/ustring.h" | 21 #include "unicode/ustring.h" |
21 #include "cstring.h" | 22 #include "cstring.h" |
22 #include "filestrm.h" | 23 #include "filestrm.h" |
23 #include "textfile.h" | 24 #include "textfile.h" |
24 | 25 |
25 /** | 26 /** |
26 * The TestDictionary test expects a file of this name, with this | 27 * The TestDictionary test expects a file of this name, with this |
27 * encoding, to be present in the directory $ICU/source/test/testdata. | 28 * encoding, to be present in the directory $ICU/source/test/testdata. |
28 */ | 29 */ |
29 //#define TEST_FILE "th18057.txt" | 30 //#define TEST_FILE "th18057.txt" |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 if(U_SUCCESS(status)) { | 463 if(U_SUCCESS(status)) { |
463 compareArray(*rcoll, testcontraction, 3); | 464 compareArray(*rcoll, testcontraction, 3); |
464 } else { | 465 } else { |
465 errln("Couldn't instantiate collator from rules"); | 466 errln("Couldn't instantiate collator from rules"); |
466 } | 467 } |
467 | 468 |
468 } | 469 } |
469 | 470 |
470 | 471 |
471 #endif /* #if !UCONFIG_NO_COLLATION */ | 472 #endif /* #if !UCONFIG_NO_COLLATION */ |
OLD | NEW |