diff options
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/test/cintltst/cmsgtst.h')
-rw-r--r-- | Build/source/libs/icu/icu-xetex/test/cintltst/cmsgtst.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/test/cintltst/cmsgtst.h b/Build/source/libs/icu/icu-xetex/test/cintltst/cmsgtst.h new file mode 100644 index 00000000000..6936283980e --- /dev/null +++ b/Build/source/libs/icu/icu-xetex/test/cintltst/cmsgtst.h @@ -0,0 +1,60 @@ +/******************************************************************** + * COPYRIGHT: + * Copyright (c) 1997-2001, International Business Machines Corporation and + * others. All Rights Reserved. + ********************************************************************/ +/******************************************************************************** +* +* File CMSGTST.H +* +* Modification History: +* Name Description +* Madhu Katragadda Creation +********************************************************************************* +*/ +/* C API TEST FOR MESSAGE FORMAT */ +#ifndef _CMSGFRMTST +#define _CMSGFRMTST + +#include "unicode/utypes.h" + +#if !UCONFIG_NO_FORMATTING + +#include "cintltst.h" + + +/* The function used to test the Message format API*/ + + /** + * Test u_formatMessage() with various test patterns + **/ + static void MessageFormatTest(void); + /** + * Test u_formatMessage() with sample test Patterns + **/ + static void TestSampleMessageFormat(void); + /** + * Test format and parse sequence and roundtrip + **/ + static void TestSampleFormatAndParse(void); + /** + * Test u_formatMessage() with choice option + **/ + static void TestMsgFormatChoice(void); + /** + * Test u_parseMessage() with various test patterns() + **/ + static void TestParseMessage(void); + /** + * function used to set up various patterns used for testing u_formatMessage() + **/ + static void InitStrings( void ); + + /** + * Regression test for ICU4C Jitterbug 904 + */ + static void TestJ904(void); + +#endif /* #if !UCONFIG_NO_FORMATTING */ + +#endif |