LEFT | RIGHT |
(no file at all) | |
1 // © 2016 and later: Unicode, Inc. and others. | 1 // © 2016 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html | 2 // License & terms of use: http://www.unicode.org/copyright.html |
3 /******************************************************************** | 3 /******************************************************************** |
4 * Copyright (c) 1997-2016, International Business Machines Corporation and | 4 * Copyright (c) 1997-2016, International Business Machines Corporation and |
5 * others. All Rights Reserved. | 5 * others. All Rights Reserved. |
6 ********************************************************************/ | 6 ********************************************************************/ |
7 | 7 |
8 #include "unicode/uniset.h" | 8 #include "unicode/uniset.h" |
9 #include "intltest.h" | 9 #include "intltest.h" |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par
= NULL ); | 35 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par
= NULL ); |
36 | 36 |
37 void TestAdditionalProperties(); | 37 void TestAdditionalProperties(); |
38 void TestBinaryValues(); | 38 void TestBinaryValues(); |
39 void TestConsistency(); | 39 void TestConsistency(); |
40 void TestPatternProperties(); | 40 void TestPatternProperties(); |
41 void TestScriptMetadata(); | 41 void TestScriptMetadata(); |
42 void TestBidiPairedBracketType(); | 42 void TestBidiPairedBracketType(); |
43 void TestEmojiProperties(); | 43 void TestEmojiProperties(); |
44 void TestDefaultScriptExtensions(); | 44 void TestDefaultScriptExtensions(); |
| 45 void TestInvalidCodePointFolding(); |
45 | 46 |
46 private: | 47 private: |
47 | 48 |
48 friend void U_CALLCONV unicodeDataLineFn(void *context, | 49 friend void U_CALLCONV unicodeDataLineFn(void *context, |
49 char *fields[][2], int32_t fieldCount, | 50 char *fields[][2], int32_t fieldCount, |
50 UErrorCode *pErrorCode); | 51 UErrorCode *pErrorCode); |
51 | 52 |
52 friend void U_CALLCONV | 53 friend void U_CALLCONV |
53 derivedPropsLineFn(void *context, | 54 derivedPropsLineFn(void *context, |
54 char *fields[][2], int32_t fieldCount, | 55 char *fields[][2], int32_t fieldCount, |
55 UErrorCode *pErrorCode); | 56 UErrorCode *pErrorCode); |
56 | 57 |
57 UnicodeSet derivedProps[30]; | 58 UnicodeSet derivedProps[30]; |
58 U_NAMESPACE_QUALIFIER Hashtable *unknownPropertyNames; | 59 U_NAMESPACE_QUALIFIER Hashtable *unknownPropertyNames; |
59 | 60 |
60 UBool compareUSets(const UnicodeSet &a, const UnicodeSet &b, | 61 UBool compareUSets(const UnicodeSet &a, const UnicodeSet &b, |
61 const char *a_name, const char *b_name, | 62 const char *a_name, const char *b_name, |
62 UBool diffIsError); | 63 UBool diffIsError); |
63 }; | 64 }; |
LEFT | RIGHT |