diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-09-03 18:50:52 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-09-03 18:50:52 +0000 |
commit | 9e367160561ebf291e01e6924e2cc90707802bf4 (patch) | |
tree | 859e60125ef8583cb26f321a7990eb2edb4148d4 /poi-ooxml | |
parent | e485bf0b652f55764520a47d630bdbe91b080b7d (diff) | |
download | poi-9e367160561ebf291e01e6924e2cc90707802bf4.tar.gz poi-9e367160561ebf291e01e6924e2cc90707802bf4.zip |
extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903849 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r-- | poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java index 8b0547cb69..d9aba70e50 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java +++ b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java @@ -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()); } } }
\ No newline at end of file |