summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-11-19 15:12:40 -0800
committerElliott Hughes <enh@google.com>2010-11-19 15:12:40 -0800
commit4f12e1d5a764627f27ad93f411c737a1602aa7cf (patch)
treec1943be691eb4596b13ee75a1b7bf6c5fcd80769
parent102b3a86bde04a4cffcbecd5b6d175d7790b132a (diff)
downloadlibcore-4f12e1d5a764627f27ad93f411c737a1602aa7cf.zip
libcore-4f12e1d5a764627f27ad93f411c737a1602aa7cf.tar.gz
libcore-4f12e1d5a764627f27ad93f411c737a1602aa7cf.tar.bz2
Remove a broken test.
We agree with ICU but disagree with the RI. Harmony removed this test (if they ever had it), and I trust ICU way more than I trust the RI, so I'm calling this a broken test (and removing it). Bug: 1613709 Change-Id: I4c7b8e46bdc107ddebfc49979d70f0b0bae76103
-rw-r--r--luni/src/test/java/libcore/java/text/OldSimpleDateFormatTest.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/luni/src/test/java/libcore/java/text/OldSimpleDateFormatTest.java b/luni/src/test/java/libcore/java/text/OldSimpleDateFormatTest.java
index a4012a8..4da54e6 100644
--- a/luni/src/test/java/libcore/java/text/OldSimpleDateFormatTest.java
+++ b/luni/src/test/java/libcore/java/text/OldSimpleDateFormatTest.java
@@ -408,12 +408,6 @@ public class OldSimpleDateFormatTest extends junit.framework.TestCase {
assertFalse(test.testsFailed);
}
- public void testDefaultMinimalDaysInFirstWeek() {
- Locale.setDefault(Locale.US);
- assertEquals(1, new GregorianCalendar().getMinimalDaysInFirstWeek());
- assertEquals(1, new GregorianCalendar().getFirstDayOfWeek());
- }
-
/**
* @tests java.text.SimpleDateFormat#format(java.util.Date)
*/