No need to exclude the current time zone from testing

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666575 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2015-03-13 20:53:00 +00:00
parent 8aa1b44ada
commit 04c8de2334

View File

@ -263,10 +263,8 @@ public void testTimeZoneMatches() {
@Test
public void testCalendarTimezoneRespected() {
final String[] availableZones = TimeZone.getAvailableIDs();
final TimeZone currentZone = TimeZone.getDefault();
for (final String zone : availableZones) {
if (!zone.equals(currentZone.getID())) {
TimeZone anotherZone = TimeZone.getTimeZone(zone);
assertNotNull("Cannot find another timezone", anotherZone);
@ -281,7 +279,6 @@ public void testCalendarTimezoneRespected() {
assertEquals(expectedValue, actualValue);
}
}
}
@Test
public void testTimeZoneAsZ() throws Exception {