X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..b801cf366c7671a99bdcef84d1e9c0ec64b36723:/icuSources/test/cintltst/creststn.h diff --git a/icuSources/test/cintltst/creststn.h b/icuSources/test/cintltst/creststn.h index 3f539232..95eb2c3d 100644 --- a/icuSources/test/cintltst/creststn.h +++ b/icuSources/test/cintltst/creststn.h @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2004, International Business Machines Corporation and + * Copyright (c) 1997-2013, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /*************************************************************************** @@ -18,8 +18,17 @@ /* 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**); @@ -36,6 +45,8 @@ static void TestAliasConflict(void); static void TestFallback(void); +static void TestPreventFallback(void); + static void TestBinaryCollationData(void); static void TestNewTypes(void); @@ -54,12 +65,18 @@ static void TestEmptyBundle(void); static void TestDirectAccess(void); +static void TestTicket9804(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 **/