mirror of https://github.com/apache/poi.git
extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e485bf0b65
commit
9e36716056
|
@ -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…
Reference in New Issue