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

Unified Diff: icu46/source/test/cintltst/cloctst.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/cldrtest.c ('k') | icu46/source/test/cintltst/cloctst.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/cintltst/cloctst.h
===================================================================
--- icu46/source/test/cintltst/cloctst.h (revision 0)
+++ icu46/source/test/cintltst/cloctst.h (revision 0)
@@ -0,0 +1,125 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2010, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+/********************************************************************************
+*
+* File CLOCTST.H
+*
+* Modification History:
+* Name Description
+* Madhu Katragadda Converted to C
+*********************************************************************************
+*/
+#ifndef _CLOCTEST
+#define _CLOCTEST
+
+#include "cintltst.h"
+/*C API TEST FOR LOCALE */
+
+/**
+ * Test functions to set and get data fields
+ **/
+static void TestBasicGetters(void);
+static void TestPrefixes(void);
+/**
+ * Use Locale to access Resource file data and compare against expected values
+ **/
+static void TestSimpleResourceInfo(void);
+/**
+ * Use Locale to access Resource file display names and compare against expected values
+ **/
+static void TestDisplayNames(void);
+/**
+ * Test getAvailableLocales
+ **/
+ static void TestGetAvailableLocales(void);
+/**
+ * Test functions to set and access a custom data directory
+ **/
+ static void TestDataDirectory(void);
+/**
+ * Test functions to test get ISO countries and Languages
+ **/
+ static void TestISOFunctions(void);
+/**
+ * Test functions to test get ISO3 countries and Languages Fallback
+ **/
+ static void TestISO3Fallback(void);
+/**
+ * Test functions to test get ISO3 countries and Languages for Uninstalled locales
+ **/
+ static void TestUninstalledISO3Names(void);
+ static void TestObsoleteNames(void);
+/**
+ * Test functions uloc_getDisplaynames()
+ **/
+ static void TestSimpleDisplayNames(void);
+/**
+ * Test functions uloc_getDisplaynames()
+ **/
+ static void TestVariantParsing(void);
+
+ /* Test getting keyword enumeratin */
+ static void TestKeywordVariants(void);
+
+ static void TestKeywordSet(void);
+ static void TestKeywordSetError(void);
+
+ /* Test getting keyword values */
+ static void TestKeywordVariantParsing(void);
+
+ /* Test warning for no data in getDisplay* */
+ static void TestDisplayNameWarning(void);
+
+ /* Test uloc_getLocaleForLCID */
+ static void TestGetLocaleForLCID(void);
+
+/**
+ * routine to perform subtests, used by TestDisplayNames
+ */
+ static void doTestDisplayNames(const char* inLocale, int32_t compareIndex);
+
+ static void TestCanonicalization(void);
+
+ static void TestDisplayKeywords(void);
+
+ static void TestDisplayKeywordValues(void);
+
+ static void TestGetBaseName(void);
+
+static void TestTrailingNull(void);
+
+static void TestGetLocale(void);
+
+/**
+ * additional intialization for datatables storing expected values
+ */
+static void setUpDataTable(void);
+static void cleanUpDataTable(void);
+/*static void displayDataTable(void);*/
+static void TestAcceptLanguage(void);
+
+/**
+ * test locale aliases
+*/
+static void TestCalendar(void);
+static void TestDateFormat(void);
+static void TestCollation(void);
+static void TestULocale(void);
+static void TestUResourceBundle(void);
+static void TestDisplayName(void);
+
+static void TestAcceptLanguage(void);
+
+static void TestOrientation(void);
+
+static void TestLikelySubtags(void);
+
+/**
+ * lanuage tag
+ */
+static void TestForLanguageTag(void);
+static void TestToLanguageTag(void);
+#endif
Property changes on: icu46/source/test/cintltst/cloctst.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/cintltst/cldrtest.c ('k') | icu46/source/test/cintltst/cloctst.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698