Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1647)

Unified Diff: icu46/source/test/intltest/incaltst.h

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu46/source/test/intltest/idnaref.cpp ('k') | icu46/source/test/intltest/incaltst.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/intltest/incaltst.h
===================================================================
--- icu46/source/test/intltest/incaltst.h (revision 0)
+++ icu46/source/test/intltest/incaltst.h (revision 0)
@@ -0,0 +1,53 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2007, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+
+#ifndef __IntlCalendarTest__
+#define __IntlCalendarTest__
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+#include "unicode/calendar.h"
+#include "unicode/smpdtfmt.h"
+#include "caltztst.h"
+
+class IntlCalendarTest: public CalendarTimeZoneTest {
+public:
+ // IntlTest override
+ void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
+public:
+ void TestTypes(void);
+
+ void TestGregorian(void);
+
+ void TestBuddhist(void);
+ void TestBuddhistFormat(void);
+
+ void TestTaiwan(void);
+
+ void TestJapanese(void);
+ void TestJapaneseFormat(void);
+ void TestJapanese3860(void);
+
+ void TestPersian(void);
+ void TestPersianFormat(void);
+
+ protected:
+ // Test a Gregorian-Like calendar
+ void quasiGregorianTest(Calendar& cal, const Locale& gregoLocale, const int32_t *data);
+ void simpleTest(const Locale& loc, const UnicodeString& expect, UDate expectDate, UErrorCode& status);
+
+public: // package
+ // internal routine for checking date
+ static UnicodeString value(Calendar* calendar);
+
+};
+
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif // __IntlCalendarTest__
Property changes on: icu46/source/test/intltest/incaltst.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/intltest/idnaref.cpp ('k') | icu46/source/test/intltest/incaltst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698