From 8d9d916ecdf5e703def0b80eb4b1db30fd1e5e58 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Tue, 23 Aug 2022 19:32:24 +0000 Subject: [PATCH] add test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903646 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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() { -- 2.39.5