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

Unified Diff: icu46/source/test/cintltst/creststn.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/crestst.c ('k') | icu46/source/test/cintltst/creststn.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/cintltst/creststn.h
===================================================================
--- icu46/source/test/cintltst/creststn.h (revision 0)
+++ icu46/source/test/cintltst/creststn.h (revision 0)
@@ -0,0 +1,85 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2006, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+/***************************************************************************
+*
+* File CRESTST.H
+*
+* Modification History:
+* Name Date Description
+* Madhu Katragadda 05/09/2000 Ported Tests for New ResourceBundle API
+* Madhu Katragadda 05/24/2000 Added new tests to test RES_BINARY for collationElements
+*************************************************************************************************
+*/
+#ifndef _CRESTSTN
+#define _CRESTSTN
+/* C TEST FOR NEW RESOURCEBUNDLE API*/
+#include "cintltst.h"
+
+/*
+ * Test wrapper for ures_getStringXYZ(), for testing other variants of
+ * these functions as well.
+ * If index>=0, calls ures_getStringByIndex().
+ * If key!=NULL, calls ures_getStringByKey().
+ */
+extern const UChar *
+tres_getString(const UResourceBundle *resB,
+ int32_t index, const char *key,
+ int32_t *length,
+ UErrorCode *status);
+
+void addNEWResourceBundleTest(TestNode**);
+
+/**
+*Perform several extensive tests using the subtest routine testTag
+*/
+static void TestResourceBundles(void);
+/**
+* Test construction of ResourceBundle accessing a custom test resource-file
+**/
+static void TestConstruction1(void);
+
+static void TestAliasConflict(void);
+
+static void TestFallback(void);
+
+static void TestBinaryCollationData(void);
+
+static void TestNewTypes(void);
+
+static void TestEmptyTypes(void);
+
+static void TestAPI(void);
+
+static void TestErrorConditions(void);
+
+static void TestGetVersion(void);
+
+static void TestGetVersionColl(void);
+
+static void TestEmptyBundle(void);
+
+static void TestDirectAccess(void);
+
+static void TestResourceLevelAliasing(void);
+
+static void TestErrorCodes(void);
+
+static void TestJB3763(void);
+
+static void TestXPath(void);
+
+static void TestStackReuse(void);
+
+/**
+* extensive subtests called by TestResourceBundles
+**/
+static UBool testTag(const char* frag, UBool in_Root, UBool in_te, UBool in_te_IN);
+
+static void record_pass(void);
+static void record_fail(void);
+
+
+#endif
Property changes on: icu46/source/test/cintltst/creststn.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/cintltst/crestst.c ('k') | icu46/source/test/cintltst/creststn.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698