Better test parameter name
This commit is contained in:
parent
f19304299f
commit
c4164c4e16
|
@ -93,8 +93,8 @@ public class CalendarUtilsTest extends AbstractLangTest {
|
||||||
|
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS)
|
@MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS)
|
||||||
public void testToLocalDateTime(final String id) {
|
public void testToLocalDateTime(final String timeZoneId) {
|
||||||
final TimeZone timeZone = TimeZone.getTimeZone(id);
|
final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId);
|
||||||
final ZoneId zoneId = timeZone.toZoneId();
|
final ZoneId zoneId = timeZone.toZoneId();
|
||||||
final Calendar calendar = new GregorianCalendar(timeZone);
|
final Calendar calendar = new GregorianCalendar(timeZone);
|
||||||
calendar.setTimeInMillis(0);
|
calendar.setTimeInMillis(0);
|
||||||
|
@ -106,8 +106,8 @@ public class CalendarUtilsTest extends AbstractLangTest {
|
||||||
|
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS)
|
@MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS)
|
||||||
public void testToOffsetDateTime(final String id) {
|
public void testToOffsetDateTime(final String timeZoneId) {
|
||||||
final TimeZone timeZone = TimeZone.getTimeZone(id);
|
final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId);
|
||||||
final ZoneId zoneId = timeZone.toZoneId();
|
final ZoneId zoneId = timeZone.toZoneId();
|
||||||
final Calendar calendar = new GregorianCalendar(timeZone);
|
final Calendar calendar = new GregorianCalendar(timeZone);
|
||||||
calendar.setTimeInMillis(0);
|
calendar.setTimeInMillis(0);
|
||||||
|
@ -119,8 +119,8 @@ public class CalendarUtilsTest extends AbstractLangTest {
|
||||||
|
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS)
|
@MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS)
|
||||||
public void testToZonedDateTime(final String id) {
|
public void testToZonedDateTime(final String timeZoneId) {
|
||||||
final TimeZone timeZone = TimeZone.getTimeZone(id);
|
final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId);
|
||||||
final ZoneId zoneId = timeZone.toZoneId();
|
final ZoneId zoneId = timeZone.toZoneId();
|
||||||
final Calendar calendar = new GregorianCalendar(timeZone);
|
final Calendar calendar = new GregorianCalendar(timeZone);
|
||||||
calendar.setTimeInMillis(0);
|
calendar.setTimeInMillis(0);
|
||||||
|
|
Loading…
Reference in New Issue