poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1846810 - in /poi/trunk: jenkins/create_jobs.groovy src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
Date Sun, 18 Nov 2018 00:23:49 GMT
Author: kiwiwings
Date: Sun Nov 18 00:23:49 2018
New Revision: 1846810

URL: http://svn.apache.org/viewvc?rev=1846810&view=rev
Log:
#62921 - Provide OOXMLLite alternative for Java 12+

Modified:
    poi/trunk/jenkins/create_jobs.groovy
    poi/trunk/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java

Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1846810&r1=1846809&r2=1846810&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Sun Nov 18 00:23:49 2018
@@ -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)
                     }

Modified: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java?rev=1846810&r1=1846809&r2=1846810&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java Sun
Nov 18 00:23:49 2018
@@ -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++;
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message