poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1694127 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java
Date Tue, 04 Aug 2015 23:26:20 GMT
Author: nick
Date: Tue Aug  4 23:26:20 2015
New Revision: 1694127

URL: http://svn.apache.org/r1694127
Log:
Stub next test

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java?rev=1694127&r1=1694126&r2=1694127&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java Tue Aug 
4 23:26:20 2015
@@ -21,7 +21,7 @@ import static org.junit.Assert.assertEqu
 import static org.junit.Assert.assertNotNull;
 
 import java.io.FileOutputStream;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.Map;
 
 import org.apache.commons.codec.binary.Hex;
@@ -72,7 +72,7 @@ public class TestThemesTable {
         simple = XSSFTestDataSamples.openSampleWorkbook(testFileSimple);
         complex = XSSFTestDataSamples.openSampleWorkbook(testFileComplex);
         // Files and descriptions
-        Map<String,XSSFWorkbook> workbooks = new HashMap<String, XSSFWorkbook>();
+        Map<String,XSSFWorkbook> workbooks = new LinkedHashMap<String, XSSFWorkbook>();
         workbooks.put(testFileSimple, simple);
         workbooks.put("Re-Saved_" + testFileSimple, simpleRS);
         // TODO Fix these to work!
@@ -143,8 +143,15 @@ public class TestThemesTable {
             }
         }
     }
-    
-    // TODO Check the complex parts 
+
+    /**
+     * Ensure that, for a file with themes, we can correctly
+     *  read both the themed and non-themed colours back
+     */
+    @Test
+    public void themedAndNonThemedColours() {
+        // TODO Implement this using Theme2.xls{x}
+    }
     
     @Test
     @SuppressWarnings("resource")



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message