]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cmsgtst.h
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / test / cintltst / cmsgtst.h
1 /********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2010, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************
6 *
7 * File CMSGTST.H
8 *
9 * Modification History:
10 * Name Description
11 * Madhu Katragadda Creation
12 ********************************************************************/
13 /* C API TEST FOR MESSAGE FORMAT */
14 #ifndef _CMSGFRMTST
15 #define _CMSGFRMTST
16
17 #include "unicode/utypes.h"
18
19 #if !UCONFIG_NO_FORMATTING
20
21 #include "cintltst.h"
22
23
24 /* The function used to test the Message format API*/
25
26 /**
27 * Test u_formatMessage() with various test patterns
28 **/
29 static void MessageFormatTest(void);
30 /**
31 * Test u_formatMessage() with sample test Patterns
32 **/
33 static void TestSampleMessageFormat(void);
34 /**
35 * Test format and parse sequence and roundtrip
36 **/
37 static void TestSampleFormatAndParse(void);
38 /**
39 * Test u_formatMessage() with choice option
40 **/
41 static void TestMsgFormatChoice(void);
42 /**
43 * Test u_formatMessage() with Select option
44 **/
45 static void TestMsgFormatSelect(void);
46 /**
47 * Test u_parseMessage() with various test patterns()
48 **/
49 static void TestParseMessage(void);
50 /**
51 * function used to set up various patterns used for testing u_formatMessage()
52 **/
53 static void InitStrings( void );
54
55 /**
56 * Regression test for ICU4C Jitterbug 904
57 */
58 static void TestJ904(void);
59
60 #endif /* #if !UCONFIG_NO_FORMATTING */
61
62 #endif