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