]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/apicoll.h
ICU-62108.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / apicoll.h
index 95710e5eaad2f035095c19fe0dd7756c692be919..52aef26001374db853db53b4ccd18558ff552467 100644 (file)
@@ -1,8 +1,10 @@
-/********************************************************************
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
+/***********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1997-2001, International Business Machines Corporation and
- * others. All Rights Reserved.
- ********************************************************************/
+ * Copyright (c) 1997-2014, International Business Machines Corporation
+ * and others. All Rights Reserved.
+ ***********************************************************************/
 
 /**
  * CollationAPITest is a third level test class. This test performs API 
@@ -33,6 +35,7 @@ public:
      * - displayable name in the desired locale
      */
     void TestProperty(/* char* par */);
+    void TestKeywordValues();
 
     /**
     * This tests the RuleBasedCollator
@@ -113,6 +116,7 @@ public:
      * This tests the sort keys generated by collator
      */
     void TestSortKey();
+    void TestSortKeyOverflow();
 
     /**
      * This tests getMaxExpansion
@@ -133,6 +137,7 @@ public:
     * Tests the setters and getters of variable top
     */
     void TestVariableTopSetting();
+    void TestMaxVariable();
 
     /**
     * Tests GetLocale for a Collator
@@ -149,21 +154,34 @@ public:
     */
     void TestGetTailoredSet();
 
-       /**
+    /**
     * Tests the subclassability
     */
     void TestSubclass();
 
-       /**
+    /**
     * Tests the dynamic and static ids of collation classes
     */
     void TestUClassID();
 
+    /**
+    * Test NULL
+    */
+    void TestNULLCharTailoring();
+
+    void TestClone();
+    void TestCloneBinary();
+    void TestIterNumeric();
+    void TestBadKeywords();
+    void TestGapTooSmall();
+
 private:
     // If this is too small for the test data, just increase it.
     // Just don't make it too large, otherwise the executable will get too big
     enum EToken_Len { MAX_TOKEN_LEN = 16 };
 
+    void dump(UnicodeString msg, RuleBasedCollator* c, UErrorCode& status);
+
 };
 
 #endif /* #if !UCONFIG_NO_COLLATION */