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

Unified Diff: icu46/source/test/cintltst/cg7coll.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/cfrtst.c ('k') | icu46/source/test/cintltst/cg7coll.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/cintltst/cg7coll.h
===================================================================
--- icu46/source/test/cintltst/cg7coll.h (revision 0)
+++ icu46/source/test/cintltst/cg7coll.h (revision 0)
@@ -0,0 +1,71 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2001, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+/********************************************************************************
+*
+* File CG7COLL.H
+*
+* Modification History:
+* Name Description
+* Madhu Katragadda Converted to C
+*********************************************************************************/
+/**
+ * G7CollationTest is a third level test class. This test performs the examples
+ * mentioned on the IBM Java international demos web site.
+ * Sample Rules: & Z < p , P
+ * Effect : Making P sort after Z.
+ *
+ * Sample Rules: & c < ch , cH, Ch, CH
+ * Effect : As well as adding sequences of characters that act as a single character (this is
+ * known as contraction), you can also add characters that act like a sequence of
+ * characters (this is known as expansion).
+ *
+ * Sample Rules: & Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'
+ * Effect : Expansion and contraction can actually be combined.
+ *
+ * Sample Rules: & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-'
+ * Effect : sorted sequence as the following,
+ * aardvark
+ * a-rdvark
+ * abbot
+ * coop
+ * co-p
+ * cop
+ */
+
+#ifndef _CG7COLLTST
+#define _CG7COLLTST
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_COLLATION
+
+#include "cintltst.h"
+
+#define MAX_TOKEN_LEN 16
+#define TESTLOCALES 12
+#define FIXEDTESTSET 15
+#define TOTALTESTSET 30
+
+ /* perform test for G7 locales */
+ static void TestG7Locales(void);
+
+ /* perform test with added rules " & Z < p, P" */
+ static void TestDemo1(void);
+
+ /* perorm test with added rules "& C < ch , cH, Ch, CH" */
+ static void TestDemo2(void);
+
+ /* perform test with added rules */
+ /* "& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'" */
+ static void TestDemo3(void);
+
+ /* perform test with added rules */
+ /* " & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' " */
+ static void TestDemo4(void);
+
+#endif /* #if !UCONFIG_NO_COLLATION */
+
+#endif
Property changes on: icu46/source/test/cintltst/cg7coll.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/cintltst/cfrtst.c ('k') | icu46/source/test/cintltst/cg7coll.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698