diff options
author | Nick Burch <nick@apache.org> | 2013-06-18 23:39:31 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2013-06-18 23:39:31 +0000 |
commit | b1e02dea83b58a77a860cfa257940522224679cf (patch) | |
tree | 441dbdcebda42d97dec1cf041ccbee6745207e78 /src/ooxml/testcases/org/apache/poi/xwpf | |
parent | 28981c306955bb64ff547ae4c2af927749b2b591 (diff) | |
download | poi-b1e02dea83b58a77a860cfa257940522224679cf.tar.gz poi-b1e02dea83b58a77a860cfa257940522224679cf.zip |
Fix the footnote doubling, and then enable the rest of the SDT tests from Tim Allison from bug #54849
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1494379 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/xwpf')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFSDT.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFSDT.java b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFSDT.java index 5a25e9e2c2..2359beac2e 100644 --- a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFSDT.java +++ b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFSDT.java @@ -43,8 +43,7 @@ public final class TestXWPFSDT extends TestCase { break; } } - // TODO Fix footnotes issues then enable -// assertEquals("controls size", 12, sdts.size()); + assertEquals("controls size", 12, sdts.size()); assertEquals("tag", "MyTag", tag); assertEquals("title", "MyTitle", title); @@ -70,8 +69,6 @@ public final class TestXWPFSDT extends TestCase { XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("Bug54849.docx"); List<XWPFSDT> sdts = extractAllSDTs(doc); - // TODO Fix footnotes issue -/* assertEquals("number of sdts", contents.length, sdts.size()); for (int i = 0; i < sdts.size(); i++){//contents.length; i++){ @@ -79,7 +76,6 @@ public final class TestXWPFSDT extends TestCase { assertEquals(i+ ": " + contents[i], contents[i], sdt.getContent().toString()); } -*/ } public void testFailureToGetSDTAsCell() throws Exception{ |