summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-4.6/test/cintltst/cdattst.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-4.6/test/cintltst/cdattst.h')
-rw-r--r--Build/source/libs/icu/icu-4.6/test/cintltst/cdattst.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.6/test/cintltst/cdattst.h b/Build/source/libs/icu/icu-4.6/test/cintltst/cdattst.h
new file mode 100644
index 00000000000..7159f88c55c
--- /dev/null
+++ b/Build/source/libs/icu/icu-4.6/test/cintltst/cdattst.h
@@ -0,0 +1,55 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2009, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+/********************************************************************************
+*
+* File CDATTST.H
+*
+* Modification History:
+* Name Description
+* Madhu Katragadda Creation
+*********************************************************************************
+*/
+/* C API TEST FOR DATE FORMAT */
+#ifndef _CDATFRMTST
+#define _CDATFRMTST
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+#include "cintltst.h"
+
+ /**
+ * The functions used to test the Date format API
+ **/
+ static void TestDateFormat(void);
+ static void TestRelativeDateFormat(void);
+
+ /**
+ * The function used to test API udat_getSymbols(), udat_setSymbols() and udat_countSymbols()
+ **/
+ static void TestSymbols(void);
+
+ /**
+ * Test DateFormat(Calendar) API
+ */
+ static void TestDateFormatCalendar(void);
+
+ /**
+ * test subroutines used by TestSymbols
+ **/
+ static void VerifygetSymbols(UDateFormat*, UDateFormatSymbolType, int32_t, const char*);
+ static void VerifysetSymbols(UDateFormat*, UDateFormatSymbolType, int32_t, const char*);
+ static void VerifygetsetSymbols(UDateFormat*, UDateFormat*, UDateFormatSymbolType, int32_t);
+
+ /**
+ * test subroutine used by the testing functions
+ **/
+ static UChar* myNumformat(const UNumberFormat* numfor, double d);
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif