]> source.dussan.org Git - poi.git/commitdiff
continuation of prev commit - testcase for 14330. Sync from branch Will fail in HEAD...
authorAvik Sengupta <avik@apache.org>
Mon, 6 Oct 2003 17:44:24 +0000 (17:44 +0000)
committerAvik Sengupta <avik@apache.org>
Mon, 6 Oct 2003 17:44:24 +0000 (17:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353382 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

index b200b123075b3330270e3987e6d553689b74172d..ba4d05bc3a1082025b4e7edbbc21918b13d89da1 100644 (file)
@@ -151,5 +151,17 @@ extends TestCase {
             HSSFSheet sheet = wb.getSheetAt(0);
             assertTrue("No exception throws", true);
      }      
-          
+       public void test14330() throws Exception {
+           String filedir = System.getProperty("HSSF.testdata.path");
+           String filename=filedir+"/14330-1.xls";
+           FileInputStream in = new FileInputStream(filename);
+           HSSFWorkbook wb = new HSSFWorkbook(in);
+           HSSFSheet sheet = wb.getSheetAt(0);
+           
+           filename=filedir+"/14330-2.xls";
+           in = new FileInputStream(filename);
+           wb = new HSSFWorkbook(in);
+           sheet = wb.getSheetAt(0);
+           assertTrue("No exception throws", true);
+       }    
 }