mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-06 18:18:22 +00:00
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:
parent
8aa1b44ada
commit
04c8de2334
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user