diff options
author | Dominik Stadler <centic@apache.org> | 2016-07-17 21:17:45 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-07-17 21:17:45 +0000 |
commit | 194057bd1b3568e9003e1e077bb7f5b2b87e524e (patch) | |
tree | 16ab4fa8513da8152abd98d06bba352b39da72c4 | |
parent | 7d7b67fef65950ac041f098f1e6887c08029bb39 (diff) | |
download | poi-194057bd1b3568e9003e1e077bb7f5b2b87e524e.tar.gz poi-194057bd1b3568e9003e1e077bb7f5b2b87e524e.zip |
Add commented reproducer for bug 57603
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753120 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java | 12 | ||||
-rw-r--r-- | test-data/document/57603-seven_columns.doc | bin | 0 -> 42496 bytes |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java index 1a9ba9d203..2d9110df79 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java @@ -16,10 +16,7 @@ ==================================================================== */ package org.apache.poi.hwpf.usermodel; -import java.io.ByteArrayOutputStream; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.io.InputStream; +import java.io.*; import java.util.Arrays; import java.util.Collection; import java.util.List; @@ -44,6 +41,7 @@ import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; import junit.framework.TestCase; +import org.junit.Ignore; /** * Test different problems reported in the Apache Bugzilla @@ -896,4 +894,10 @@ public class TestBugs extends TestCase HWPFDocument hwpfDocument = HWPFTestDataSamples.openSampleFile("cap.stanford.edu_profiles_viewbiosketch_facultyid=4009&name=m_maciver.doc"); assertNotNull(hwpfDocument); } + + public void DISABLEDtest57603SevenRowTable() throws Exception { + HWPFDocument hwpfDocument = HWPFTestDataSamples.openSampleFile("57603-seven_columns.doc"); + HWPFDocument hwpfDocument2 = HWPFTestDataSamples.writeOutAndReadBack(hwpfDocument); + assertNotNull(hwpfDocument2); + } } diff --git a/test-data/document/57603-seven_columns.doc b/test-data/document/57603-seven_columns.doc Binary files differnew file mode 100644 index 0000000000..dff48ea462 --- /dev/null +++ b/test-data/document/57603-seven_columns.doc |