testcase for bug 14330
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353380 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f6c184fcff
commit
8d5e50f113
BIN
src/testcases/org/apache/poi/hssf/data/14330-1.xls
Normal file
BIN
src/testcases/org/apache/poi/hssf/data/14330-1.xls
Normal file
Binary file not shown.
BIN
src/testcases/org/apache/poi/hssf/data/14330-2.xls
Normal file
BIN
src/testcases/org/apache/poi/hssf/data/14330-2.xls
Normal file
Binary file not shown.
@ -151,6 +151,20 @@ extends TestCase {
|
||||
assertTrue("No exception throws", true);
|
||||
}
|
||||
|
||||
public void test14330() throws Exception {
|
||||
String filedir = System.getProperty("HSSF.testdata.path");
|
||||
String filename=filedir+"/14330-1.xls";
|
||||
FileInputStream in = new FileInputStream(filename);
|
||||
HSSFWorkbook wb = new HSSFWorkbook(in);
|
||||
HSSFSheet sheet = wb.getSheetAt(0);
|
||||
|
||||
filename=filedir+"/14330-2.xls";
|
||||
in = new FileInputStream(filename);
|
||||
wb = new HSSFWorkbook(in);
|
||||
sheet = wb.getSheetAt(0);
|
||||
assertTrue("No exception throws", true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user