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:
Avik Sengupta 2005-05-19 15:13:04 +00:00
parent 668c108b82
commit 7b0a3977f4
2 changed files with 9 additions and 0 deletions

Binary file not shown.

View File

@ -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);
}
}