| java.lang.Object com.ibm.icu.dev.test.AbstractTestLog com.ibm.icu.dev.test.TestFmwk com.ibm.icu.dev.test.timezone.TimeZoneTest
Inner Class :static class ZoneDescriptor | |
EXPECTED_CUSTOM_ID | final static String EXPECTED_CUSTOM_ID(Code) | | |
INTERVAL | final static int INTERVAL(Code) | | |
millisPerHour | final static int millisPerHour(Code) | | |
TestAlternateRules | public void TestAlternateRules()(Code) | | Bug 4107570
|
TestCountries | public void TestCountries()(Code) | | |
TestCoverage | public void TestCoverage()(Code) | | |
TestCustomParse | public void TestCustomParse()(Code) | | As part of the VM fix (see CCC approved RFE 4028006, bug
4044013), TimeZone.getTimeZone() has been modified to recognize
generic IDs of the form GMT[+-]hh:mm, GMT[+-]hhmm, and
GMT[+-]hh. Test this behavior here.
Bug 4044013
|
TestDSTSavings | public void TestDSTSavings()(Code) | | Bug 4107276
|
TestDisplayName | public void TestDisplayName()(Code) | | Test the basic functionality of the getDisplayName() API.
Bug 4112869
Bug 4028006
See also API change request A41.
4/21/98 - make smarter, so the test works if the ext resources
are present or not.
|
TestDisplayName2 | public void TestDisplayName2()(Code) | | |
TestEquivalencyGroups | public void TestEquivalencyGroups()(Code) | | |
TestFractionalDST | public void TestFractionalDST()(Code) | | |
TestGenericAPI | public void TestGenericAPI()(Code) | | |
TestGetAvailableIDs913 | public void TestGetAvailableIDs913()(Code) | | |
TestGetOffsetDate | public void TestGetOffsetDate()(Code) | | |
TestMark | public void TestMark()(Code) | | |
TestOddTimeZoneNames | public void TestOddTimeZoneNames()(Code) | | |
TestPRTOffset | public void TestPRTOffset()(Code) | | |
TestRuleAPI | public void TestRuleAPI()(Code) | | |
TestShortZoneIDs | public void TestShortZoneIDs() throws Exception(Code) | | NOTE: As of ICU 2.8, the mapping of 3-letter legacy aliases
to `real' Olson IDs is under control of the underlying JDK.
This test may fail on one JDK and pass on another; don't be
too concerned. Alan
Bug 4130885
Certain short zone IDs, used since 1.1.x, are incorrect.
The worst of these is:
"CAT" (Central African Time) should be GMT+2:00, but instead returns a
zone at GMT-1:00. The zone at GMT-1:00 should be called EGT, CVT, EGST,
or AZOST, depending on which zone is meant, but in no case is it CAT.
Other wrong zone IDs:
ECT (European Central Time) GMT+1:00: ECT is Ecuador Time,
GMT-5:00. European Central time is abbreviated CEST.
SST (Solomon Island Time) GMT+11:00. SST is actually Samoa Standard Time,
GMT-11:00. Solomon Island time is SBT.
NST (New Zealand Time) GMT+12:00. NST is the abbreviation for
Newfoundland Standard Time, GMT-3:30. New Zealanders use NZST.
AST (Alaska Standard Time) GMT-9:00. [This has already been noted in
another bug.] It should be "AKST". AST is Atlantic Standard Time,
GMT-4:00.
PNT (Phoenix Time) GMT-7:00. PNT usually means Pitcairn Time,
GMT-8:30. There is no standard abbreviation for Phoenix time, as distinct
from MST with daylight savings.
In addition to these problems, a number of zones are FAKE. That is, they
don't match what people use in the real world.
FAKE zones:
EET (should be EEST)
ART (should be EEST)
MET (should be IRST)
NET (should be AMST)
PLT (should be PKT)
BST (should be BDT)
VST (should be ICT)
CTT (should be CST) +
ACT (should be CST) +
AET (should be EST) +
MIT (should be WST) +
IET (should be EST) +
PRT (should be AST) +
CNT (should be NST)
AGT (should be ARST)
BET (should be EST) +
+ A zone with the correct name already exists and means something
else. E.g., EST usually indicates the US Eastern zone, so it cannot be
used for Brazil (BET).
|
TestSimpleTimeZoneSerialization | public void TestSimpleTimeZoneSerialization()(Code) | | |
TestVariousAPI518 | public void TestVariousAPI518()(Code) | | |
TestZoneMeta | public void TestZoneMeta()(Code) | | |
_testUsingBinarySearch | void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary)(Code) | | |
formatMinutes | final static String formatMinutes(int min)(Code) | | |
Fields inherited from com.ibm.icu.dev.test.TestFmwk | protected TestParams params(Code)(Java Doc)
|
Methods inherited from com.ibm.icu.dev.test.TestFmwk | protected boolean assertEquals(String message, boolean expected, boolean actual)(Code)(Java Doc) protected boolean assertEquals(String message, long expected, long actual)(Code)(Java Doc) protected boolean assertEquals(String message, float expected, float actual, double error)(Code)(Java Doc) protected boolean assertEquals(String message, double expected, double actual, double error)(Code)(Java Doc) protected boolean assertEquals(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertFalse(String message, boolean condition)(Code)(Java Doc) protected boolean assertNotEquals(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertNotNull(String message, Object actual)(Code)(Java Doc) protected boolean assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertNull(String message, Object actual)(Code)(Java Doc) protected boolean assertSame(String message, Object expected, Object actual)(Code)(Java Doc) protected boolean assertTrue(String message, boolean condition)(Code)(Java Doc) protected int checkArray(String msg, String array, String expected)(Code)(Java Doc) protected int checkArray(String msg, Locale array, String expected)(Code)(Java Doc) protected int checkArray(String msg, ULocale array, String expected)(Code)(Java Doc) protected Random createRandom()(Code)(Java Doc) protected void fail(String message)(Code)(Java Doc) protected static synchronized java.util.Date getDate(int year, int month, int dom)(Code)(Java Doc) protected String getDescription()(Code)(Java Doc) protected int getErrorCount()(Code)(Java Doc) public PrintWriter getErrorLogPrintWriter()(Code)(Java Doc) public int getInclusion()(Code)(Java Doc) public PrintWriter getLogPrintWriter()(Code)(Java Doc) protected String getMethodDescription(String name)(Code)(Java Doc) protected TestFmwk getSubtest(String prefix) throws TestFmwkException(Code)(Java Doc) protected Target getTargets(String targetName)(Code)(Java Doc) public String getTranslitTestFilter()(Code)(Java Doc) protected void handleException(Throwable e)(Code)(Java Doc) public static String hex(char[] s)(Code)(Java Doc) public static String hex(byte[] s)(Code)(Java Doc) public static String hex(char ch)(Code)(Java Doc) public static String hex(int ch)(Code)(Java Doc) public static String hex(String s)(Code)(Java Doc) public static String hex(StringBuffer s)(Code)(Java Doc) protected void init() throws Exception(Code)(Java Doc) public boolean isDateAtLeast(int year, int month, int day)(Code)(Java Doc) public boolean isMemTracking()(Code)(Java Doc) public boolean isModularBuild()(Code)(Java Doc) public boolean isQuick()(Code)(Java Doc) public boolean isTiming()(Code)(Java Doc) public boolean isVerbose()(Code)(Java Doc) public void msg(String message, int level, boolean incCount, boolean newln)(Code)(Java Doc) public boolean noData()(Code)(Java Doc) public static String prettify(String s)(Code)(Java Doc) public static String prettify(StringBuffer s)(Code)(Java Doc) public Target resolveTarget(TestParams params)(Code)(Java Doc) public Target resolveTarget(TestParams params, String targetPath)(Code)(Java Doc) public void run(String[] args)(Code)(Java Doc) public int run(String[] args, PrintWriter log)(Code)(Java Doc) public int runTests(TestParams params, String[] tests)(Code)(Java Doc) protected TimeZone safeGetTimeZone(String id)(Code)(Java Doc) public void usage()(Code)(Java Doc) public static void usage(PrintWriter pw, String className)(Code)(Java Doc) protected boolean validate()(Code)(Java Doc) protected boolean validateMethod(String name)(Code)(Java Doc)
|
Fields inherited from com.ibm.icu.dev.test.AbstractTestLog | public static boolean dontSkipForVersion(Code)(Java Doc)
|
|
|