From: Dominik Stadler Date: Tue, 27 May 2014 20:45:25 +0000 (+0000) Subject: Increase the font-inaccuracy for one unit test as some machines have fonts that lead... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f928ce1d342ef35aa4a0bee5060a70137b66e89a;p=poi.git Increase the font-inaccuracy for one unit test as some machines have fonts that lead to lower values, e.g. we get only 770 instead of 980 for Jenkins build on IBM JDK and on some local Windows machines git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597873 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index 989ea4125f..141a8e4483 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -2497,7 +2497,7 @@ public final class TestBugs extends BaseTestBugzillaIssues { // How close the sizing should be, given that not all // systems will have quite the same fonts on them - float fontAccuracy = 0.15f; + float fontAccuracy = 0.22f; // x% CellStyle iPercent = wb.createCellStyle();