+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/********************************************************************
- * COPYRIGHT:
- * Copyright (c) 1997-2004, International Business Machines Corporation and
- * others. All Rights Reserved.
+ * Copyright (c) 1997-2013 International Business Machines
+ * Corporation and others. All Rights Reserved.
********************************************************************/
/********************************************************************************
*
* Modification History:
* Name Description
* Madhu Katragadda Converted to C
+* Brian Rower Added TestOpenVsOpenRules
*********************************************************************************
*//* C API TEST For COLLATOR */
#if !UCONFIG_NO_COLLATION
#include "cintltst.h"
+#include "callcoll.h"
#define MAX_TOKEN_LEN 16
**/
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 TestMergeSortKeys(void);
- /**
- * utility function, defined in cmsccoll.c
- */
- void genericLocaleStarter(const char *locale, const char *s[], uint32_t size);
-
-
/**
* test short string and collator identifier functions
*/
*/
static void TestGetContractionsAndUnsafes(void);
+ /**
+ * Test funny stuff with open binary
+ */
+ static void TestOpenBinary(void);
+
+ /**
+ * Test getKeywordValuesForLocale API
+ */
+ static void TestGetKeywordValuesForLocale(void);
+
+ /**
+ * test strcoll with null arg
+ */
+ static void TestStrcollNull(void);
#endif /* #if !UCONFIG_NO_COLLATION */