mirror of https://github.com/apache/poi.git
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
51160bc098
commit
7ba496912f
Binary file not shown.
|
@ -516,6 +516,15 @@ extends TestCase {
|
|||
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