testcase for bug 34775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353692 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
668c108b82
commit
7b0a3977f4
BIN
src/testcases/org/apache/poi/hssf/data/34775.xls
Normal file
BIN
src/testcases/org/apache/poi/hssf/data/34775.xls
Normal file
Binary file not shown.
@ -515,6 +515,15 @@ extends TestCase {
|
||||
HSSFWorkbook wb = new HSSFWorkbook(in);
|
||||
assertTrue("Read book fine!" , true);
|
||||
}
|
||||
|
||||
/*NullPointerException on reading file*/
|
||||
public void test34775() throws java.io.IOException {
|
||||
String filename = System.getProperty("HSSF.testdata.path");
|
||||
filename=filename+"/34775.xls";
|
||||
FileInputStream in = new FileInputStream(filename);
|
||||
HSSFWorkbook wb = new HSSFWorkbook(in);
|
||||
assertTrue("Read book fine!" , true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user