/[Apache-SVN]
ViewVC logotype

Revision 1916297


Jump to revision: Previous Next
Author: centic
Date: Thu Mar 14 13:20:47 2024 UTC (7 weeks, 5 days ago)
Changed paths: 2
Log Message:
Bug 68778: Verify "ignoreMissingFontSystem" for SheetUtil.getDefaultCharWidthAsFloat()

This functionality saw some regressions at times and thus
should be verified via unit-tests. 

We can simulate failures in the low-level font-system by 
mocking the FontRenderContext and triggering exceptions
from there.

This hopefully now verifies behavior of 
SheetUtil.getDefaultCharWidthAsFloat() both with 
"ignoreMissingFontSystem" enabled and disabled.

Changed paths

Path Details
Directorypoi/trunk/poi/src/main/java/org/apache/poi/ss/util/SheetUtil.java modified , text changed
Directorypoi/trunk/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26