]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/creststn.h
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / test / cintltst / creststn.h
1 /********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-1999, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6 /***************************************************************************
7 *
8 * File CRESTST.H
9 *
10 * Modification History:
11 * Name Date Description
12 * Madhu Katragadda 05/09/2000 Ported Tests for New ResourceBundle API
13 * Madhu Katragadda 05/24/2000 Added new tests to test RES_BINARY for collationElements
14 *************************************************************************************************
15 */
16 #ifndef _CRESTSTN
17 #define _CRESTSTN
18 /* C TEST FOR NEW RESOURCEBUNDLE API*/
19 #include "cintltst.h"
20
21
22
23
24 void addNEWResourceBundleTest(TestNode**);
25
26 /**
27 *Perform several extensive tests using the subtest routine testTag
28 */
29 static void TestResourceBundles(void);
30 /**
31 * Test construction of ResourceBundle accessing a custom test resource-file
32 **/
33 static void TestConstruction1(void);
34
35 static void TestAliasConflict(void);
36
37 static void TestFallback(void);
38
39 static void TestBinaryCollationData(void);
40
41 static void TestNewTypes(void);
42
43 static void TestEmptyTypes(void);
44
45 static void TestAPI(void);
46
47 static void TestErrorConditions(void);
48
49 static void TestGetVersion(void);
50
51 static void TestEmptyBundle(void);
52
53 static void TestDirectAccess(void);
54
55 static void TestResourceLevelAliasing(void);
56
57 static void TestErrorCodes(void);
58
59 /**
60 * extensive subtests called by TestResourceBundles
61 **/
62 static UBool testTag(const char* frag, UBool in_Root, UBool in_te, UBool in_te_IN);
63
64 static void record_pass(void);
65 static void record_fail(void);
66
67
68 #endif