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

Unified Diff: icu46/source/test/intltest/tzrulets.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/tzregts.cpp ('k') | icu46/source/test/intltest/tzrulets.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/intltest/tzrulets.h
===================================================================
--- icu46/source/test/intltest/tzrulets.h (revision 0)
+++ icu46/source/test/intltest/tzrulets.h (revision 0)
@@ -0,0 +1,53 @@
+/*
+*******************************************************************************
+* Copyright (C) 2007-2009, International Business Machines Corporation and *
+* others. All Rights Reserved. *
+*******************************************************************************
+*/
+
+#ifndef _TIMEZONERULETEST_
+#define _TIMEZONERULETEST_
+
+#include "unicode/utypes.h"
+#include "caltztst.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+/**
+ * Tests for TimeZoneRule, RuleBasedTimeZone and VTimeZone
+ */
+class TimeZoneRuleTest : public CalendarTimeZoneTest {
+ // IntlTest override
+ void runIndexedTest(int32_t index, UBool exec, const char*& name, char* par);
+public:
+ void TestSimpleRuleBasedTimeZone(void);
+ void TestHistoricalRuleBasedTimeZone(void);
+ void TestOlsonTransition(void);
+ void TestRBTZTransition(void);
+ void TestHasEquivalentTransitions(void);
+ void TestVTimeZoneRoundTrip(void);
+ void TestVTimeZoneRoundTripPartial(void);
+ void TestVTimeZoneSimpleWrite(void);
+ void TestVTimeZoneHeaderProps(void);
+ void TestGetSimpleRules(void);
+ void TestTimeZoneRuleCoverage(void);
+ void TestSimpleTimeZoneCoverage(void);
+ void TestVTimeZoneCoverage(void);
+ void TestVTimeZoneParse(void);
+ void TestT6216(void);
+ void TestT6669(void);
+ void TestVTimeZoneWrapper(void);
+
+private:
+ void verifyTransitions(BasicTimeZone& icutz, UDate start, UDate end);
+ void compareTransitionsAscending(BasicTimeZone& z1, BasicTimeZone& z2,
+ UDate start, UDate end, UBool inclusive);
+ void compareTransitionsDescending(BasicTimeZone& z1, BasicTimeZone& z2,
+ UDate start, UDate end, UBool inclusive);
+ UDate getUTCMillis(int32_t year, int32_t month, int32_t dom,
+ int32_t hour=0, int32_t min=0, int32_t sec=0, int32_t msec=0);
+};
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif // _TIMEZONERULETEST_
Property changes on: icu46/source/test/intltest/tzrulets.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/intltest/tzregts.cpp ('k') | icu46/source/test/intltest/tzrulets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698