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