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 51160bc098
commit 7ba496912f
2 changed files with 9 additions and 0 deletions

Binary file not shown.

View File

@ -516,6 +516,15 @@ extends TestCase {
assertTrue("Read book fine!" , true); 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);
}
} }