Browse Source

#62921 - Provide OOXMLLite alternative for Java 12+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846810 13f79535-47bb-0310-9956-ffa450edef68
pull/134/head
Andreas Beeker 5 years ago
parent
commit
7d53738154

+ 1
- 1
jenkins/create_jobs.groovy View File

@@ -377,7 +377,7 @@ poijobs.each { poijob ->
}
} else if (poijob.noScratchpad) {
ant {
targets(['clean', 'compile-all'] + (poijob.properties ?: []))
targets(['clean', 'compile'] + (poijob.properties ?: []))
prop('coverage.enabled', true)
antInstallation(antRT)
}

+ 4
- 0
src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java View File

@@ -18,6 +18,8 @@
package org.apache.poi.ss.usermodel;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;

import java.text.DateFormatSymbols;
import java.text.FieldPosition;
@@ -75,6 +77,8 @@ public class TestExcelStyleDateFormatter {

int actIdx = (Locale.CHINESE.equals(locale) && jreVersion >= 12) ? 1 : 0;

assertNotNull(msg, result);
assertTrue(msg, result.length() > actIdx);
assertEquals(msg, expected.charAt(month), result.charAt(actIdx));
month++;
}

Loading…
Cancel
Save