]> source.dussan.org Git - poi.git/commitdiff
POI-60341, add test document (ugh, mea culpa), turn on test.
authorTim Allison <tallison@apache.org>
Mon, 7 Nov 2016 12:10:46 +0000 (12:10 +0000)
committerTim Allison <tallison@apache.org>
Mon, 7 Nov 2016 12:10:46 +0000 (12:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768505 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFSDT.java
test-data/document/Bug60341.docx [new file with mode: 0644]

index c9d12bddce493ac12b6a1339ad57467915dd6ca4..9cba17e36e253a442f8b3a57a3c1bda8e9c7e232 100644 (file)
@@ -139,7 +139,7 @@ public final class TestXWPFSDT {
         }
     }
 
-    @Ignore
+    @Test
     public void test60341() throws IOException {
         //handle sdtbody without an sdtpr
         XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("Bug60341.docx");
diff --git a/test-data/document/Bug60341.docx b/test-data/document/Bug60341.docx
new file mode 100644 (file)
index 0000000..d97ebdc
Binary files /dev/null and b/test-data/document/Bug60341.docx differ