continuation of prev commit - testcase for 14330. Sync from branch Will fail in HEAD due to other issues
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c992c4534
commit
7a9783f2a0
@ -151,5 +151,17 @@ extends TestCase {
|
||||
HSSFSheet sheet = wb.getSheetAt(0);
|
||||
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