From: PJ Fanning Date: Tue, 23 Aug 2022 19:32:24 +0000 (+0000) Subject: add test X-Git-Tag: REL_5_2_3~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8d9d916ecdf5e703def0b80eb4b1db30fd1e5e58;p=poi.git add test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903646 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java index b3e86899c2..98d14afb40 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java @@ -640,6 +640,14 @@ public final class TestSXSSFWorkbook extends BaseTestXWorkbook { } } + @Test + void getStylesSource() throws IOException { + try (SXSSFWorkbook workbook = new SXSSFWorkbook()) { + assertNotNull(workbook.getXSSFWorkbook().getStylesSource(), "style source available"); + assertNotNull(workbook.getXSSFWorkbook().getStylesSource().getIndexedColors(), "indexed colors available"); + } + } + @Override @Disabled("not implemented") protected void changeSheetNameWithSharedFormulas() {