Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: icu46/source/test/cintltst/capitst.h

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu46/source/test/cintltst/calltest.c ('k') | icu46/source/test/cintltst/capitst.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/cintltst/capitst.h
===================================================================
--- icu46/source/test/cintltst/capitst.h (revision 0)
+++ icu46/source/test/cintltst/capitst.h (revision 0)
@@ -0,0 +1,134 @@
+/********************************************************************
+ * Copyright (c) 1997-2009 International Business Machines
+ * Corporation and others. All Rights Reserved.
+ ********************************************************************/
+/********************************************************************************
+*
+* File CAPITEST.H
+*
+* Modification History:
+* Name Description
+* Madhu Katragadda Converted to C
+* Brian Rower Added TestOpenVsOpenRules
+*********************************************************************************
+*//* C API TEST For COLLATOR */
+
+#ifndef _CCOLLAPITST
+#define _CCOLLAPITST
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_COLLATION
+
+#include "cintltst.h"
+#include "callcoll.h"
+#define MAX_TOKEN_LEN 16
+
+
+ /**
+ * error reporting utility method
+ **/
+
+ static void doAssert(int condition, const char *message);
+ /**
+ * Collator Class Properties
+ * ctor, dtor, createInstance, compare, getStrength/setStrength
+ * getDecomposition/setDecomposition, getDisplayName
+ */
+ void TestProperty(void);
+ /**
+ * Test RuleBasedCollator and getRules
+ **/
+ void TestRuleBasedColl(void);
+
+ /**
+ * Test compare
+ **/
+ void TestCompare(void);
+ /**
+ * Test hashCode functionality
+ **/
+ void TestHashCode(void);
+ /**
+ * Tests the constructor and numerous other methods for CollationKey
+ **/
+ void TestSortKey(void);
+ /**
+ * test the CollationElementIterator methods
+ **/
+ void TestElemIter(void);
+ /**
+ * Test ucol_getAvailable and ucol_countAvailable()
+ **/
+ void TestGetAll(void);
+ /**
+ * Test ucol_GetDefaultRules ()
+ void TestGetDefaultRules(void);
+ **/
+
+ void TestDecomposition(void);
+ /**
+ * Test ucol_safeClone ()
+ **/
+ void TestSafeClone(void);
+
+ /**
+ * Test ucol_cloneBinary(), ucol_openBinary()
+ **/
+ void TestCloneBinary(void);
+
+ /**
+ * Test ucol_open() vs. ucol_openRules()
+ **/
+ void TestOpenVsOpenRules(void);
+
+ /**
+ * Test getting bounds for a sortkey
+ */
+ void TestBounds(void);
+
+ /**
+ * Test ucol_getLocale function
+ */
+ void TestGetLocale(void);
+
+ /**
+ * Test buffer overrun while having smaller buffer for sortkey (j1865)
+ */
+ void TestSortKeyBufferOverrun(void);
+ /**
+ * Test getting and setting of attributes
+ */
+ void TestGetSetAttr(void);
+ /**
+ * Test getTailoredSet
+ */
+ void TestGetTailoredSet(void);
+
+ /**
+ * Test mergeSortKeys
+ */
+ void TestMergeSortKeys(void);
+
+ /**
+ * test short string and collator identifier functions
+ */
+ static void TestShortString(void);
+
+ /**
+ * test getContractions and getUnsafeSet
+ */
+ static void TestGetContractionsAndUnsafes(void);
+
+ /**
+ * Test funny stuff with open binary
+ */
+ static void TestOpenBinary(void);
+
+ /**
+ * Test getKeywordValuesForLocale API
+ */
+ static void TestGetKeywordValuesForLocale(void);
+#endif /* #if !UCONFIG_NO_COLLATION */
+
+#endif
Property changes on: icu46/source/test/cintltst/capitst.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/cintltst/calltest.c ('k') | icu46/source/test/cintltst/capitst.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698