X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..2be6500137966bba13903b24204a44804f9e133a:/icuSources/test/intltest/ucdtest.h diff --git a/icuSources/test/intltest/ucdtest.h b/icuSources/test/intltest/ucdtest.h index 6695a878..74fdfc1c 100644 --- a/icuSources/test/intltest/ucdtest.h +++ b/icuSources/test/intltest/ucdtest.h @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2004, International Business Machines Corporation and + * Copyright (c) 1997-2013, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -13,9 +13,15 @@ U_CFUNC void U_CALLCONV unicodeDataLineFn(void *context, UErrorCode *pErrorCode); U_CFUNC void U_CALLCONV -derivedCorePropsLineFn(void *context, - char *fields[][2], int32_t fieldCount, - UErrorCode *pErrorCode); +derivedPropsLineFn(void *context, + char *fields[][2], int32_t fieldCount, + UErrorCode *pErrorCode); + +U_NAMESPACE_BEGIN + +class Hashtable; + +U_NAMESPACE_END /** * Test API and functionality of class Unicode @@ -28,6 +34,10 @@ public: void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); void TestAdditionalProperties(); + void TestBinaryValues(); + void TestConsistency(); + void TestPatternProperties(); + void TestScriptMetadata(); private: @@ -36,10 +46,14 @@ private: UErrorCode *pErrorCode); friend void U_CALLCONV - derivedCorePropsLineFn(void *context, + derivedPropsLineFn(void *context, char *fields[][2], int32_t fieldCount, UErrorCode *pErrorCode); - UnicodeSet derivedCoreProps[30]; -}; + UnicodeSet derivedProps[30]; + U_NAMESPACE_QUALIFIER Hashtable *unknownPropertyNames; + UBool compareUSets(const UnicodeSet &a, const UnicodeSet &b, + const char *a_name, const char *b_name, + UBool diffIsError); +};