/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-1999, International Business Machines Corporation and
+ * Copyright (c) 1997-2006, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/***************************************************************************
/* 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**);
static void TestGetVersion(void);
+static void TestGetVersionColl(void);
+
static void TestEmptyBundle(void);
static void TestDirectAccess(void);
static void TestErrorCodes(void);
+static void TestJB3763(void);
+
+static void TestXPath(void);
+
+static void TestStackReuse(void);
+
/**
* extensive subtests called by TestResourceBundles
**/