]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/cmsgtst.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / cintltst / cmsgtst.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/********************************************************************
4 * COPYRIGHT:
729e4ab9 5 * Copyright (c) 1997-2010, International Business Machines Corporation and
b75a7d8f 6 * others. All Rights Reserved.
729e4ab9
A
7 ********************************************************************
8 *
9 * File CMSGTST.H
10 *
11 * Modification History:
12 * Name Description
13 * Madhu Katragadda Creation
b75a7d8f 14 ********************************************************************/
b75a7d8f
A
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);
729e4ab9
A
44 /**
45 * Test u_formatMessage() with Select option
46 **/
47 static void TestMsgFormatSelect(void);
b75a7d8f
A
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