1 /********************************************************************
2  * COPYRIGHT:
3  * Copyright (c) 1997-2004, International Business Machines Corporation and
4  * others. All Rights Reserved.
5  ********************************************************************/
6 /********************************************************************************
7 *
8 * File CRESTST.H
9 *
10 * Modification History:
11 *        Name                     Description
12 *     Madhu Katragadda            Converted to C
13 *********************************************************************************
14 */
15 #ifndef _CRESTST
16 #define _CRESTST
17 /* C API TEST FOR RESOURCEBUNDLE */
18 #include "cintltst.h"
19 
20 
21 
22 
23     void addTestResourceBundleTest(TestNode**);
24 
25     /**
26      * Perform several extensive tests using the subtest routine testTag
27      */
28     void TestResourceBundles(void);
29     /**
30      * Test construction of ResourceBundle accessing a custom test resource-file
31      */
32     void TestConstruction1(void);
33 
34     void TestConstruction2(void);
35 
36     void TestAliasConflict(void);
37 
38     static void TestGetSize(void);
39 
40     static void TestGetLocaleByType(void);
41 
42     /**
43      * extensive subtests called by TestResourceBundles
44      **/
45 
46     UBool testTag(const char* frag, UBool in_Root, UBool in_te, UBool in_te_IN);
47 
48     void record_pass(void);
49     void record_fail(void);
50 
51 
52     int32_t pass;
53     int32_t fail;
54 
55 #endif
56