testcase for bug 14460
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dbe4ddf386
commit
33be098d16
BIN
src/testcases/org/apache/poi/hssf/data/14460.xls
Normal file
BIN
src/testcases/org/apache/poi/hssf/data/14460.xls
Normal file
Binary file not shown.
@ -140,6 +140,16 @@ extends TestCase {
|
|||||||
wb.write(fileOut);
|
wb.write(fileOut);
|
||||||
fileOut.close();
|
fileOut.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** test reading of a formula with a name and a cell ref in one
|
||||||
|
**/
|
||||||
|
public void test14460() throws Exception {
|
||||||
|
String filename = System.getProperty("HSSF.testdata.path");
|
||||||
|
filename=filename+"/14460.xls";
|
||||||
|
FileInputStream in = new FileInputStream(filename);
|
||||||
|
HSSFWorkbook wb = new HSSFWorkbook(in);
|
||||||
|
HSSFSheet sheet = wb.getSheetAt(0);
|
||||||
|
assertTrue("No exception throws", true);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user