From da0543027196d5aeb0a8a20e48121bf5b68592d2 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Tue, 4 Aug 2015 23:26:20 +0000 Subject: [PATCH] Stub next test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694127 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/xssf/model/TestThemesTable.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java b/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java index 3e58919411..2a2e78d236 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java @@ -21,7 +21,7 @@ import static org.junit.Assert.assertEquals; 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 workbooks = new HashMap(); + Map workbooks = new LinkedHashMap(); 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") -- 2.39.5