fix some tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879927 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2020-07-16 07:33:31 +00:00
parent dcdb03801e
commit 69aaedd60f
3 changed files with 1 additions and 6 deletions

View File

@ -37,8 +37,6 @@ public class TestXSSFBSharedStringsTable {
assertEquals(1, parts.size()); assertEquals(1, parts.size());
XSSFBSharedStringsTable rtbl = new XSSFBSharedStringsTable(parts.get(0)); XSSFBSharedStringsTable rtbl = new XSSFBSharedStringsTable(parts.get(0));
//TODO fix
//assertEquals(49, rtbl.getCount());
assertEquals("\u30B3\u30E1\u30F3\u30C8", rtbl.getItemAt(0).getString()); assertEquals("\u30B3\u30E1\u30F3\u30C8", rtbl.getItemAt(0).getString());
assertEquals("\u65E5\u672C\u30AA\u30E9\u30AF\u30EB", rtbl.getItemAt(3).getString()); assertEquals("\u65E5\u672C\u30AA\u30E9\u30AF\u30EB", rtbl.getItemAt(3).getString());

View File

@ -58,8 +58,7 @@ public final class TestReadOnlySharedStringsTable {
for (int i = 0; i < stbl.getUniqueCount(); i++) { for (int i = 0; i < stbl.getUniqueCount(); i++) {
RichTextString i1 = stbl.getItemAt(i); RichTextString i1 = stbl.getItemAt(i);
RichTextString i2 = rtbl.getItemAt(i); RichTextString i2 = rtbl.getItemAt(i);
//TODO follow up fix assertEquals(i1.getString(), i2.getString());
//assertEquals(i1.getString(), i2.getString());
} }
} }
} }

View File

@ -109,8 +109,6 @@ public final class TestSharedStringsTable {
assertEquals(3, sst.getUniqueCount()); assertEquals(3, sst.getUniqueCount());
//OK. the sst table is filled, check the contents //OK. the sst table is filled, check the contents
//TODO fix
//assertEquals(3, sst.getCount());
assertEquals("Hello, World!", sst.getItemAt(0).toString()); assertEquals("Hello, World!", sst.getItemAt(0).toString());
assertEquals("Second string", sst.getItemAt(1).toString()); assertEquals("Second string", sst.getItemAt(1).toString());
assertEquals("Second string", sst.getItemAt(2).toString()); assertEquals("Second string", sst.getItemAt(2).toString());