]> source.dussan.org Git - poi.git/commitdiff
Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a workbook...
authorGreg Woolsey <gwoolsey@apache.org>
Fri, 26 May 2017 23:37:04 +0000 (23:37 +0000)
committerGreg Woolsey <gwoolsey@apache.org>
Fri, 26 May 2017 23:37:04 +0000 (23:37 +0000)
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

src/testcases/org/apache/poi/ss/usermodel/TestIndexedColors.java

index 5ca6621e7346da947998668b5e03a58ec375ebf5..093410b7461bb4da397f7c1ad61669c54c612080 100644 (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);