summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-4.6/test/cintltst/cmsgtst.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-4.6/test/cintltst/cmsgtst.h')
-rw-r--r--Build/source/libs/icu/icu-4.6/test/cintltst/cmsgtst.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.6/test/cintltst/cmsgtst.h b/Build/source/libs/icu/icu-4.6/test/cintltst/cmsgtst.h
new file mode 100644
index 00000000000..70ba6c6c115
--- /dev/null
+++ b/Build/source/libs/icu/icu-4.6/test/cintltst/cmsgtst.h
@@ -0,0 +1,62 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2010, 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_formatMessage() with Select option
+ **/
+ static void TestMsgFormatSelect(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