aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2015-08-04 23:26:20 +0000
committerNick Burch <nick@apache.org>2015-08-04 23:26:20 +0000
commitda0543027196d5aeb0a8a20e48121bf5b68592d2 (patch)
treecf6282ac68926ffdeb83dbafc6b92bd90e2e2743 /src/ooxml
parent6f3a8f0cec84e14fb3edc27ab23dedd6a092d254 (diff)
downloadpoi-da0543027196d5aeb0a8a20e48121bf5b68592d2.tar.gz
poi-da0543027196d5aeb0a8a20e48121bf5b68592d2.zip
Stub next test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694127 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml')
-rw-r--r--src/ooxml/testcases/org/apache/poi/xssf/model/TestThemesTable.java15
1 files 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<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")