poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1691407 - /poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java
Date Thu, 16 Jul 2015 14:17:13 GMT
Author: centic
Date: Thu Jul 16 14:17:13 2015
New Revision: 1691407

URL: http://svn.apache.org/r1691407
Log:
* Some more checks as test still fails on freebsd CI machine

Modified:
    poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java

Modified: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java?rev=1691407&r1=1691406&r2=1691407&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java Thu Jul
16 14:17:13 2015
@@ -361,6 +361,9 @@ public abstract class BaseTestBugzillaIs
         Assume.assumeTrue("Cannot verify auoSizeColumn() because the necessary Fonts are
not installed on this machine: " + font, 
                 SheetUtil.canComputeColumnWidht(font));
         
+        double width = SheetUtil.getCellWidth(cell0, 8, null, false);
+        assertTrue("Expected to have cell width > 0 after auto-size, but had " + width,
width > 0);
+        
         assertEquals(255*256, sheet.getColumnWidth(0)); // maximum column width is 255 characters
         sheet.setColumnWidth(0, sheet.getColumnWidth(0)); // Bug 506819 reports exception
at this point
     }



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


Mime
View raw message