| OLD | NEW |
| 1 /******************************************************************** | 1 /******************************************************************** |
| 2 * COPYRIGHT: | 2 * Copyright (c) 1997-2016, International Business Machines Corporation and |
| 3 * Copyright (c) 1997-2013, International Business Machines Corporation and | |
| 4 * others. All Rights Reserved. | 3 * others. All Rights Reserved. |
| 5 ********************************************************************/ | 4 ********************************************************************/ |
| 6 | 5 |
| 7 #include "unicode/uniset.h" | 6 #include "unicode/uniset.h" |
| 8 #include "intltest.h" | 7 #include "intltest.h" |
| 9 | 8 |
| 10 /** Helper function for TestUnicodeData */ | 9 /** Helper function for TestUnicodeData */ |
| 11 U_CFUNC void U_CALLCONV unicodeDataLineFn(void *context, | 10 U_CFUNC void U_CALLCONV unicodeDataLineFn(void *context, |
| 12 char *fields[][2], int32_t fieldCount, | 11 char *fields[][2], int32_t fieldCount, |
| 13 UErrorCode *pErrorCode); | 12 UErrorCode *pErrorCode); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 32 virtual ~UnicodeTest(); | 31 virtual ~UnicodeTest(); |
| 33 | 32 |
| 34 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par
= NULL ); | 33 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par
= NULL ); |
| 35 | 34 |
| 36 void TestAdditionalProperties(); | 35 void TestAdditionalProperties(); |
| 37 void TestBinaryValues(); | 36 void TestBinaryValues(); |
| 38 void TestConsistency(); | 37 void TestConsistency(); |
| 39 void TestPatternProperties(); | 38 void TestPatternProperties(); |
| 40 void TestScriptMetadata(); | 39 void TestScriptMetadata(); |
| 41 void TestBidiPairedBracketType(); | 40 void TestBidiPairedBracketType(); |
| 41 void TestEmojiProperties(); |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 | 44 |
| 45 friend void U_CALLCONV unicodeDataLineFn(void *context, | 45 friend void U_CALLCONV unicodeDataLineFn(void *context, |
| 46 char *fields[][2], int32_t fieldCount, | 46 char *fields[][2], int32_t fieldCount, |
| 47 UErrorCode *pErrorCode); | 47 UErrorCode *pErrorCode); |
| 48 | 48 |
| 49 friend void U_CALLCONV | 49 friend void U_CALLCONV |
| 50 derivedPropsLineFn(void *context, | 50 derivedPropsLineFn(void *context, |
| 51 char *fields[][2], int32_t fieldCount, | 51 char *fields[][2], int32_t fieldCount, |
| 52 UErrorCode *pErrorCode); | 52 UErrorCode *pErrorCode); |
| 53 | 53 |
| 54 UnicodeSet derivedProps[30]; | 54 UnicodeSet derivedProps[30]; |
| 55 U_NAMESPACE_QUALIFIER Hashtable *unknownPropertyNames; | 55 U_NAMESPACE_QUALIFIER Hashtable *unknownPropertyNames; |
| 56 | 56 |
| 57 UBool compareUSets(const UnicodeSet &a, const UnicodeSet &b, | 57 UBool compareUSets(const UnicodeSet &a, const UnicodeSet &b, |
| 58 const char *a_name, const char *b_name, | 58 const char *a_name, const char *b_name, |
| 59 UBool diffIsError); | 59 UBool diffIsError); |
| 60 }; | 60 }; |
| OLD | NEW |