]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/cmsgtst.h
ICU-6.2.22.tar.gz
[apple/icu.git] / icuSources / test / cintltst / cmsgtst.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2001, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6/********************************************************************************
7*
8* File CMSGTST.H
9*
10* Modification History:
11* Name Description
12* Madhu Katragadda Creation
13*********************************************************************************
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_parseMessage() with various test patterns()
46 **/
47 static void TestParseMessage(void);
48 /**
49 * function used to set up various patterns used for testing u_formatMessage()
50 **/
51 static void InitStrings( void );
52
53 /**
54 * Regression test for ICU4C Jitterbug 904
55 */
56 static void TestJ904(void);
57
58#endif /* #if !UCONFIG_NO_FORMATTING */
59
60#endif