poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1753120 - in /poi/trunk: src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java test-data/document/57603-seven_columns.doc
Date Sun, 17 Jul 2016 21:17:46 GMT
Author: centic
Date: Sun Jul 17 21:17:45 2016
New Revision: 1753120

URL: http://svn.apache.org/viewvc?rev=1753120&view=rev
Log:
Add commented reproducer for bug 57603

Added:
    poi/trunk/test-data/document/57603-seven_columns.doc
Modified:
    poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java

Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java?rev=1753120&r1=1753119&r2=1753120&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java Sun Jul
17 21:17:45 2016
@@ -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);
+    }
 }

Added: poi/trunk/test-data/document/57603-seven_columns.doc
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/document/57603-seven_columns.doc?rev=1753120&view=auto
==============================================================================
Binary files poi/trunk/test-data/document/57603-seven_columns.doc (added) and poi/trunk/test-data/document/57603-seven_columns.doc
Sun Jul 17 21:17:45 2016 differ



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message