X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..e4f10fab0c078f399c9deef476d9c9b73b47dff8:/icuSources/test/intltest/dtfmttst.h diff --git a/icuSources/test/intltest/dtfmttst.h b/icuSources/test/intltest/dtfmttst.h index 84513d46..829903fa 100644 --- a/icuSources/test/intltest/dtfmttst.h +++ b/icuSources/test/intltest/dtfmttst.h @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2012, International Business Machines Corporation and + * Copyright (c) 1997-2013, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -22,6 +22,11 @@ class DateFormatTest: public CalendarTimeZoneTest { // IntlTest override void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par ); public: + /** + * Verify that patterns have the correct values and could produce + * the DateFormat instances that contain the correct localized patterns. + */ + void TestPatterns(); /** * "Test written by Wally Wedel and emailed to me." * Test handling of timezone offsets @@ -179,6 +184,8 @@ public: // package void TestContext(void); + void TestNonGregoFmtParse(void); + public: /** * Test host-specific formatting. @@ -187,12 +194,14 @@ public: public: /** - * Test patterns added in CLDR 1.4 + * Test patterns added in CLDR 1.4, CLDR 23 */ void TestEras(void); void TestNarrowNames(void); + void TestShortDays(void); + void TestStandAloneDays(void); void TestStandAloneMonths(void); @@ -218,6 +227,10 @@ public: void TestRelativeOther(void); */ + void TestDotAndAtLeniency(); +private: + UBool showParse(DateFormat &format, const UnicodeString &formattedString); + public: /** * Test parsing a number as a string