Author: fanningpj
Date: Sat Sep 3 18:50:52 2022
New Revision: 1903849
URL: http://svn.apache.org/viewvc?rev=1903849&view=rev
Log:
extend test
Modified:
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java
Modified:
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java?rev=1903849&r1=1903848&r2=1903849&view=diff
==============================================================================
---
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java
(original)
+++
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java
Sat Sep 3 18:50:52 2022
@@ -108,6 +108,7 @@ class TestXSSFCellUtil extends BaseTestC
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 BaseTestC
}
assertNull(cell.getCellStyle().getFillForegroundColorColor());
assertEquals(IndexedColors.AUTOMATIC.getIndex(),
cell.getCellStyle().getFillForegroundColor());
+ assertEquals(FillPatternType.NO_FILL,
cell.getCellStyle().getFillPattern());
}
}
}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]