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

Unified Diff: source/test/intltest/tztest.h

Issue 2435373002: Delete source/test (Closed)
Patch Set: Created 4 years, 2 months 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 | « source/test/intltest/tzrulets.cpp ('k') | source/test/intltest/tztest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/tztest.h
diff --git a/source/test/intltest/tztest.h b/source/test/intltest/tztest.h
deleted file mode 100644
index f1737ca794fb0a2f1d56f83293c23039d91b3f08..0000000000000000000000000000000000000000
--- a/source/test/intltest/tztest.h
+++ /dev/null
@@ -1,122 +0,0 @@
-
-/********************************************************************
- * Copyright (c) 1997-2014, International Business Machines
- * Corporation and others. All Rights Reserved.
- ********************************************************************/
-
-#ifndef __TimeZoneTest__
-#define __TimeZoneTest__
-
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_FORMATTING
-
-#include "unicode/simpletz.h"
-#include "caltztst.h"
-
-/**
- * Various tests for TimeZone
- **/
-class TimeZoneTest: public CalendarTimeZoneTest {
- // IntlTest override
- void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
-public: // package
- static const int32_t millisPerHour;
-
-public:
- /**
- * Test the offset of the PRT timezone.
- */
- virtual void TestPRTOffset(void);
- /**
- * Regress a specific bug with a sequence of API calls.
- */
- virtual void TestVariousAPI518(void);
- /**
- * Test the call which retrieves the available IDs.
- */
- virtual void TestGetAvailableIDs913(void);
-
- virtual void TestGetAvailableIDsNew(void);
-
- /**
- * Generic API testing for API coverage.
- */
- virtual void TestGenericAPI(void);
- /**
- * Test the setStartRule/setEndRule API calls.
- */
- virtual void TestRuleAPI(void);
-
- void findTransition(const TimeZone& tz,
- UDate min, UDate max);
-
- /**
- * subtest used by TestRuleAPI
- **/
- void testUsingBinarySearch(const TimeZone& tz,
- UDate min, UDate max,
- UDate expectedBoundary);
-
-
- /**
- * Test short zone IDs for compliance
- */
- virtual void TestShortZoneIDs(void);
-
-
- /**
- * Test parsing custom zones
- */
- virtual void TestCustomParse(void);
-
- /**
- * Test new getDisplayName() API
- */
- virtual void TestDisplayName(void);
-
- void TestDSTSavings(void);
- void TestAlternateRules(void);
-
- void TestCountries(void);
-
- void TestHistorical(void);
-
- void TestEquivalentIDs(void);
-
- void TestAliasedNames(void);
-
- void TestFractionalDST(void);
-
- void TestFebruary(void);
-
- void TestCanonicalIDAPI();
- void TestCanonicalID(void);
-
- virtual void TestDisplayNamesMeta();
-
- void TestGetRegion(void);
- void TestGetUnknown();
-
- void TestGetWindowsID(void);
- void TestGetIDForWindowsID(void);
-
- static const UDate INTERVAL;
-
-private:
- // internal functions
- static UnicodeString& formatOffset(int32_t offset, UnicodeString& rv);
- static UnicodeString& formatTZID(int32_t offset, UnicodeString& rv);
-
- // Some test case data is current date/tzdata version sensitive and producing errors
- // when year/rule are changed.
- static const int32_t REFERENCE_YEAR;
- static const char *REFERENCE_DATA_VERSION;
-
- void checkContainsAll(StringEnumeration *s1, const char *name1,
- StringEnumeration *s2, const char *name2);
-};
-
-#endif /* #if !UCONFIG_NO_FORMATTING */
-
-#endif // __TimeZoneTest__
« no previous file with comments | « source/test/intltest/tzrulets.cpp ('k') | source/test/intltest/tztest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698