extend test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-09-03 18:50:52 +00:00
parent e485bf0b65
commit 9e36716056
1 changed files with 2 additions and 0 deletions

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());
}
}
}