]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cmsgtst.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2010, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************
11 * Modification History:
13 * Madhu Katragadda Creation
14 ********************************************************************/
15 /* C API TEST FOR MESSAGE FORMAT */
19 #include "unicode/utypes.h"
21 #if !UCONFIG_NO_FORMATTING
26 /* The function used to test the Message format API*/
29 * Test u_formatMessage() with various test patterns
31 static void MessageFormatTest(void);
33 * Test u_formatMessage() with sample test Patterns
35 static void TestSampleMessageFormat(void);
37 * Test format and parse sequence and roundtrip
39 static void TestSampleFormatAndParse(void);
41 * Test u_formatMessage() with choice option
43 static void TestMsgFormatChoice(void);
45 * Test u_formatMessage() with Select option
47 static void TestMsgFormatSelect(void);
49 * Test u_parseMessage() with various test patterns()
51 static void TestParseMessage(void);
53 * function used to set up various patterns used for testing u_formatMessage()
55 static void InitStrings( void );
58 * Regression test for ICU4C Jitterbug 904
60 static void TestJ904(void);
62 #endif /* #if !UCONFIG_NO_FORMATTING */