]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/ucdtest.h
ICU-551.51.tar.gz
[apple/icu.git] / icuSources / test / intltest / ucdtest.h
index 7893f77daac3e4c938cb6edbf9a366795ea25b5a..448321eeb30bf9acf4a2992d742afc19dd61e73c 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1997-2008, 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
@@ -29,6 +35,10 @@ public:
 
     void TestAdditionalProperties();
     void TestBinaryValues();
+    void TestConsistency();
+    void TestPatternProperties();
+    void TestScriptMetadata();
+    void TestBidiPairedBracketType();
 
 private:
 
@@ -37,10 +47,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);
+};