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:
Nick Burch 2008-01-08 19:11:22 +00:00
parent 852964d9d3
commit 26f6e5a716
3 changed files with 20 additions and 4 deletions

Binary file not shown.

View File

@ -16,14 +16,23 @@
*/ */
package org.apache.poi.hssf.usermodel; package org.apache.poi.hssf.usermodel;
import java.io.File;
import java.io.FileInputStream;
import junit.framework.*; import junit.framework.*;
import org.apache.poi.hssf.record.NameRecord; import org.apache.poi.hssf.record.NameRecord;
public class TestHSSFWorkbook extends TestCase public class TestHSSFWorkbook extends TestCase
{ {
HSSFWorkbook hssfWorkbook; HSSFWorkbook hssfWorkbook;
String filename;
public void testSetRepeatingRowsAndColumns() throws Exception protected void setUp() throws Exception {
super.setUp();
filename = System.getProperty("HSSF.testdata.path");
}
public void testSetRepeatingRowsAndColumns() throws Exception
{ {
// Test bug 29747 // Test bug 29747
HSSFWorkbook b = new HSSFWorkbook( ); HSSFWorkbook b = new HSSFWorkbook( );

View File

@ -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)
);
}
} }