Browse Source

extend test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903849 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_3
PJ Fanning 1 year ago
parent
commit
9e36716056

+ 2
- 0
poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java View File

@@ -108,6 +108,7 @@ class TestXSSFCellUtil extends BaseTestCellUtil {
CellUtil.setCellStyleProperties(cell, properties);
}
assertEquals(color, cell.getCellStyle().getFillForegroundColorColor());
assertEquals(FillPatternType.SOLID_FOREGROUND, cell.getCellStyle().getFillPattern());

{
final Map<String, Object> properties = new LinkedHashMap<>();
@@ -119,6 +120,7 @@ class TestXSSFCellUtil extends BaseTestCellUtil {
}
assertNull(cell.getCellStyle().getFillForegroundColorColor());
assertEquals(IndexedColors.AUTOMATIC.getIndex(), cell.getCellStyle().getFillForegroundColor());
assertEquals(FillPatternType.NO_FILL, cell.getCellStyle().getFillPattern());
}
}
}

Loading…
Cancel
Save