Hack to try to see if we can get GH builds to pass
This commit is contained in:
parent
fa6eac6cf6
commit
2f670821ab
|
@ -54,6 +54,8 @@ import org.opentest4j.AssertionFailedError;
|
||||||
/* make test reproducible */ @ReadsDefaultTimeZone
|
/* make test reproducible */ @ReadsDefaultTimeZone
|
||||||
public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
|
public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
|
||||||
|
|
||||||
|
static int failCount = 0; // HACK counter
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testLang1219() throws ParseException {
|
public void testLang1219() throws ParseException {
|
||||||
final FastDateParser parser = new FastDateParser("dd.MM.yyyy HH:mm:ss z", TimeZone.getDefault(), Locale.GERMAN);
|
final FastDateParser parser = new FastDateParser("dd.MM.yyyy HH:mm:ss z", TimeZone.getDefault(), Locale.GERMAN);
|
||||||
|
@ -108,7 +110,6 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
|
||||||
assumeTrue(LocaleUtils.isAvailableLocale(locale), () -> toFailureMessage(locale, null));
|
assumeTrue(LocaleUtils.isAvailableLocale(locale), () -> toFailureMessage(locale, null));
|
||||||
|
|
||||||
final String[][] zones = ArraySorter.sort(DateFormatSymbols.getInstance(locale).getZoneStrings(), Comparator.comparing(array -> array[0]));
|
final String[][] zones = ArraySorter.sort(DateFormatSymbols.getInstance(locale).getZoneStrings(), Comparator.comparing(array -> array[0]));
|
||||||
int failCount = 0; // HACK counter
|
|
||||||
final List<AssertionFailedError> parseExceptionList = new ArrayList<>();
|
final List<AssertionFailedError> parseExceptionList = new ArrayList<>();
|
||||||
for (final String[] zone : zones) {
|
for (final String[] zone : zones) {
|
||||||
for (int zIndex = 1; zIndex < zone.length; ++zIndex) {
|
for (int zIndex = 1; zIndex < zone.length; ++zIndex) {
|
||||||
|
|
Loading…
Reference in New Issue