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
852964d9d3
commit
26f6e5a716
BIN
src/testcases/org/apache/poi/hssf/data/43493.xls
Normal file
BIN
src/testcases/org/apache/poi/hssf/data/43493.xls
Normal file
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
Block a user