From ebd9a8bc9a4f47463bc508065d3b0586bc27915d Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 11 May 2025 14:11:28 +0000 Subject: [PATCH] extend test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925503 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/xssf/usermodel/TestXSSFTextParagraph.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTextParagraph.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTextParagraph.java index ec13f604be..8244ca2d91 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTextParagraph.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTextParagraph.java @@ -90,6 +90,10 @@ class TestXSSFTextParagraph { text.setBulletFontColor(color); assertEquals(color, text.getBulletFontColor()); + final byte[] colorBytes = new byte[] { (byte) 255, 127, 0 }; + text.setBulletFontColor(colorBytes); + assertArrayEquals(colorBytes, text.getBulletFontColorAsBytes()); + assertEquals(100.0, text.getBulletFontSize(), 0.01); text.setBulletFontSize(1.0); assertEquals(1.0, text.getBulletFontSize(), 0.01);