/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2004, International Business Machines Corporation and
+ * Copyright (c) 1997-2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
*/
virtual void TestBadInput135(void);
-private:
- static const char* parseFormats[];
- static const char* inputStrings[];
-
public:
/**
* Verify the correct behavior when parsing an array of inputs against an
* Further test the formatting of time zones.
*/
virtual void TestDateFormatZone146(void);
-
+
+ void TestTimeZoneStringsAPI(void);
+
+#if ICU_4_2_1
+ void TestGMTParsing(void);
+#endif
+
public: // package
/**
* Test the formatting of dates in different locales.
void TestGreekMay(void);
+ void TestGenericTime(void);
+
+ void TestGenericTimeZoneOrder(void);
+
+#if ICU_4_2_1
+ void Test6338(void);
+
+ void Test6726(void);
+
+ void Test6880(void);
+#endif
+
+public:
+ /**
+ * Test host-specific formatting.
+ */
+ void TestHost(void);
+
+public:
+ /**
+ * Test patterns added in CLDR 1.4
+ */
+ void TestEras(void);
+
+ void TestNarrowNames(void);
+
+ void TestStandAloneDays(void);
+
+ void TestStandAloneMonths(void);
+
+ void TestQuarters(void);
+
+ void TestZTimeZoneParsing(void);
+
+ void TestRelativeClone(void);
+
+ void TestHostClone(void);
+
+#if ICU_4_2_1
+ void TestTimeZoneDisplayName(void);
+
+ void TestRoundtripWithCalendar(void);
+#endif
+
+public:
+ /***
+ * Test Relative Dates
+ */
+ void TestRelative(void);
+#if !ICU_4_2_1
+ void TestTimeZoneDisplayName(void);
+#endif
+/* void TestRelativeError(void);
+ void TestRelativeOther(void);
+*/
+
+public:
+ /**
+ * Test parsing a number as a string
+ */
+ void TestNumberAsStringParsing(void);
+
+private:
+ void TestRelative(int daysdelta,
+ const Locale& loc,
+ const char *expectChars);
+
private:
void expectParse(const char** data, int32_t data_length,
const Locale& locale);
void expect(const char** data, int32_t data_length,
const Locale& loc);
+
+ void expectFormat(const char **data, int32_t data_length,
+ const Locale &locale);
};
#endif /* #if !UCONFIG_NO_FORMATTING */