summaryrefslogtreecommitdiffstats
path: root/poi-ooxml
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-08-13 23:34:33 +0000
committerPJ Fanning <fanningpj@apache.org>2021-08-13 23:34:33 +0000
commit93ab03c295dbd931276926bae40763e7844924e8 (patch)
treef1ef0bc3b925f581d39a4bcf7197fe28c4030cad /poi-ooxml
parent3ba7b4b1229fd5468f0e18d93f88d6b082b7d210 (diff)
downloadpoi-93ab03c295dbd931276926bae40763e7844924e8.tar.gz
poi-93ab03c295dbd931276926bae40763e7844924e8.zip
try to fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFConditionalFormatting.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFConditionalFormatting.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFConditionalFormatting.java
index 30d92dda2f..03187370c1 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFConditionalFormatting.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFConditionalFormatting.java
@@ -47,6 +47,11 @@ class TestXSSFConditionalFormatting extends BaseTestConditionalFormatting {
}
@Override
+ protected int defaultDataBarMinLength() { return 10; }
+ @Override
+ protected int defaultDataBarMaxLength() { return 90; }
+
+ @Override
protected void assertColor(String hexExpected, Color actual) {
assertNotNull(actual, "Color must be given");
XSSFColor color = (XSSFColor)actual;