]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/restsnew.h
1 /********************************************************************
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 #ifndef NEW_RESOURCEBUNDLETEST_H
8 #define NEW_RESOURCEBUNDLETEST_H
13 * Tests for class ResourceBundle
15 class NewResourceBundleTest
: public IntlTest
{
17 NewResourceBundleTest();
18 virtual ~NewResourceBundleTest();
20 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
23 * Perform several extensive tests using the subtest routine testTag
25 void TestResourceBundles(void);
27 * Test construction of ResourceBundle accessing a custom test resource-file
29 void TestConstruction(void);
31 void TestIteration(void);
33 void TestOtherAPI(void);
35 void TestNewTypes(void);
37 void TestGetByFallback(void);
41 * The assignment operator has no real implementation.
42 * It is provided to make the compiler happy. Do not call.
44 NewResourceBundleTest
& operator=(const NewResourceBundleTest
&) { return *this; }
47 * extensive subtests called by TestResourceBundles
49 UBool
testTag(const char* frag
, UBool in_Root
, UBool in_te
, UBool in_te_IN
);
51 void record_pass(void);
52 void record_fail(void);