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,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( );
|
||||||
|
|
|
@ -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