mirror of https://github.com/apache/poi.git
Add un-fixable testcase for bug 43493
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610097 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cee0e3954a
commit
7a2005043a
Binary file not shown.
|
@ -16,12 +16,21 @@
|
|||
*/
|
||||
package org.apache.poi.hssf.usermodel;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
|
||||
import junit.framework.*;
|
||||
import org.apache.poi.hssf.record.NameRecord;
|
||||
|
||||
public class TestHSSFWorkbook extends TestCase
|
||||
{
|
||||
HSSFWorkbook hssfWorkbook;
|
||||
String filename;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
filename = System.getProperty("HSSF.testdata.path");
|
||||
}
|
||||
|
||||
public void testSetRepeatingRowsAndColumns() throws Exception
|
||||
{
|
||||
|
|
|
@ -111,5 +111,12 @@ public class TestUnfixedBugs extends TestCase {
|
|||
|
||||
}
|
||||
|
||||
|
||||
public void test43493() throws Exception {
|
||||
// Has crazy corrup subrecords on
|
||||
// a EmbeddedObjectRefSubRecord
|
||||
File f = new File(cwd, "43493.xls");
|
||||
HSSFWorkbook wb = new HSSFWorkbook(
|
||||
new FileInputStream(f)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue