| java.lang.Object com.ibm.icu.dev.test.AbstractTestLog com.ibm.icu.dev.test.TestFmwk com.ibm.icu.dev.test.timezone.TimeZoneRegression
TimeZoneRegression | public class TimeZoneRegression extends TestFmwk (Code) | | |
Method Summary | |
public void | Test4052967() | public void | Test4073209() | public void | Test4073215() | public void | Test4084933() | public void | Test4096952() | public void | Test4109314() | public void | Test4126678() CANNOT REPRODUDE
Yet another _alleged_ bug in TimeZone.getOffset(), a method that never
should have been made public. | public void | Test4151406() TimeZone.getAvailableIDs(int) throws exception for certain values,
due to a faulty constant in TimeZone.java. | public void | Test4151429() | public void | Test4154525() SimpleTimeZone accepts illegal DST savings values. | public void | Test4154537() SimpleTimeZone.hasSameRules() doesn't work for zones with no DST
and different DST parameters. | public void | Test4154542() SimpleTimeZone constructors, setStartRule(), and setEndRule() don't
check for out-of-range arguments. | public void | Test4154650() SimpleTimeZone.getOffset accepts illegal arguments. | public void | Test4159922() TimeZone constructors allow null IDs. | public void | Test4162593() TimeZone broken at midnight. | public void | Test4173604() | public void | Test4176686() getDisplayName doesn't work with unusual savings/offsets. | public void | Test4184229() SimpleTimeZone allows invalid DOM values. | public void | Test4208960() SimpleTimeZone.getOffset() throws IllegalArgumentException when to get
of 2/29/1996 (leap day). | public void | TestJ449() Test to see if DateFormat understands zone equivalency groups. | public void | TestJ5134() | boolean | checkCalendar314(GregorianCalendar testCal, TimeZone testTZ) | public static void | main(String[] args) |
Test4052967 | public void Test4052967()(Code) | | |
Test4073209 | public void Test4073209()(Code) | | |
Test4073215 | public void Test4073215()(Code) | | |
Test4084933 | public void Test4084933()(Code) | | The expected behavior of TimeZone around the boundaries is:
(Assume transition time of 2:00 AM)
day of onset 1:59 AM STD = display name 1:59 AM ST
2:00 AM STD = display name 3:00 AM DT
day of end 0:59 AM STD = display name 1:59 AM DT
1:00 AM STD = display name 1:00 AM ST
|
Test4096952 | public void Test4096952()(Code) | | |
Test4109314 | public void Test4109314()(Code) | | |
Test4126678 | public void Test4126678()(Code) | | CANNOT REPRODUDE
Yet another _alleged_ bug in TimeZone.getOffset(), a method that never
should have been made public. It's simply too hard to use correctly.
The original test code failed to do the following:
(1) Call Calendar.setTime() before getting the fields!
(2) Use the right millis (as usual) for getOffset(); they were passing
in the MILLIS field, instead of the STANDARD MILLIS IN DAY.
When you fix these two problems, the test passes, as expected.
|
Test4151406 | public void Test4151406()(Code) | | TimeZone.getAvailableIDs(int) throws exception for certain values,
due to a faulty constant in TimeZone.java.
|
Test4151429 | public void Test4151429()(Code) | | |
Test4154525 | public void Test4154525()(Code) | | SimpleTimeZone accepts illegal DST savings values. These values
must be non-zero. There is no upper limit at this time.
|
Test4154537 | public void Test4154537()(Code) | | SimpleTimeZone.hasSameRules() doesn't work for zones with no DST
and different DST parameters.
|
Test4154542 | public void Test4154542()(Code) | | SimpleTimeZone constructors, setStartRule(), and setEndRule() don't
check for out-of-range arguments.
|
Test4154650 | public void Test4154650()(Code) | | SimpleTimeZone.getOffset accepts illegal arguments.
|
Test4159922 | public void Test4159922()(Code) | | TimeZone constructors allow null IDs.
|
Test4162593 | public void Test4162593()(Code) | | TimeZone broken at midnight. The TimeZone code fails to handle
transitions at midnight correctly.
|
Test4173604 | public void Test4173604()(Code) | | TimeZone broken in last hour of year
|
Test4176686 | public void Test4176686()(Code) | | getDisplayName doesn't work with unusual savings/offsets.
|
Test4184229 | public void Test4184229()(Code) | | SimpleTimeZone allows invalid DOM values.
|
Test4208960 | public void Test4208960()(Code) | | SimpleTimeZone.getOffset() throws IllegalArgumentException when to get
of 2/29/1996 (leap day).
|
TestJ449 | public void TestJ449()(Code) | | Test to see if DateFormat understands zone equivalency groups. It
might seem that this should be a DateFormat test, but it's really a
TimeZone test -- the changes to DateFormat are minor.
We use two known, zones that are equivalent, where one zone has
localized name data, and the other doesn't, in some locale.
|
TestJ5134 | public void TestJ5134()(Code) | | getOffset returns wrong offset for days in early 20th century
|
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)
|
|
|