-/********************************************************************
+// © 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
* - displayable name in the desired locale
*/
void TestProperty(/* char* par */);
+ void TestKeywordValues();
/**
* This tests the RuleBasedCollator
* This tests the sort keys generated by collator
*/
void TestSortKey();
+ void TestSortKeyOverflow();
/**
* This tests getMaxExpansion
* Tests the setters and getters of variable top
*/
void TestVariableTopSetting();
+ void TestMaxVariable();
/**
* Tests GetLocale for a Collator
*/
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 */