summaryrefslogtreecommitdiffstats
path: root/harmony-tests/src/test
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-05-12 09:37:19 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-12 09:37:19 +0000
commitee998bd77e0367865b524cdbd4a0659a0b5d8bd5 (patch)
tree22bad3b6a51a3407ac890048c99c71b4d2a859c0 /harmony-tests/src/test
parent3ac87904eeb5f902a02da18d2994fe87ae97bf6c (diff)
parent3ba6fc848a3080c09326399793231323188dca91 (diff)
downloadlibcore-ee998bd77e0367865b524cdbd4a0659a0b5d8bd5.zip
libcore-ee998bd77e0367865b524cdbd4a0659a0b5d8bd5.tar.gz
libcore-ee998bd77e0367865b524cdbd4a0659a0b5d8bd5.tar.bz2
am 3ba6fc84: am 0a2ddb63: Merge "Remove test for unsupported GregorianCalendar functionality."
* commit '3ba6fc848a3080c09326399793231323188dca91': Remove test for unsupported GregorianCalendar functionality.
Diffstat (limited to 'harmony-tests/src/test')
-rw-r--r--harmony-tests/src/test/java/org/apache/harmony/tests/java/util/GregorianCalendarTest.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/GregorianCalendarTest.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/GregorianCalendarTest.java
index 058681e..f35be4b 100644
--- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/GregorianCalendarTest.java
+++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/GregorianCalendarTest.java
@@ -157,7 +157,6 @@ public class GregorianCalendarTest extends junit.framework.TestCase {
assertEquals(34, c1.get(Calendar.MINUTE));
c1.setTimeZone(new SimpleTimeZone(60000, "ONE MINUTE"));
assertEquals(35, c1.get(Calendar.MINUTE));
-
}
/**
@@ -750,28 +749,5 @@ public class GregorianCalendarTest extends junit.framework.TestCase {
assertEquals(0, gc.get(Calendar.SECOND));
gc.set(1582, Calendar.OCTOBER, 14, 0, 0, 0);
assertEquals(24, gc.get(Calendar.DAY_OF_MONTH));
-
- // Regression test for HARMONY-2422
- gc = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
- gc.set(GregorianCalendar.ZONE_OFFSET, -1);
- assertEquals(-1, gc.get(GregorianCalendar.ZONE_OFFSET));
- gc.set(GregorianCalendar.ZONE_OFFSET, 1);
- assertEquals(1, gc.get(GregorianCalendar.ZONE_OFFSET));
- gc.set(GregorianCalendar.ZONE_OFFSET, 0);
- assertEquals(0, gc.get(GregorianCalendar.ZONE_OFFSET));
- }
-
- /**
- * Sets up the fixture, for example, open a network connection. This method
- * is called before a test is executed.
- */
- protected void setUp() {
- }
-
- /**
- * Tears down the fixture, for example, close a network connection. This
- * method is called after a test is executed.
- */
- protected void tearDown() {
}
}