Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a workbook has a custom indexed color

Missed this test.  As part of the work I noticed the Enum was missing some values defined in the OOXML spec, so I added them.

I've updated the test to reflect that those values are no longer invalid.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796360 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Greg Woolsey 2017-05-26 23:37:04 +00:00
parent c844803b66
commit 4a6c8426c1
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public final class TestIndexedColors {
@Test
public void fromInt() {
int[] illegalIndices = { -1, 0, 27, 65 };
int[] illegalIndices = { -1, 65 };
for (int index : illegalIndices) {
try {
IndexedColors.fromInt(index);