poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject cvs commit: jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel TestBugs.java
Date Mon, 06 Oct 2003 17:44:24 GMT
avik        2003/10/06 10:44:24

  Modified:    src/testcases/org/apache/poi/hssf/usermodel TestBugs.java
  Log:
  continuation of prev commit - testcase for 14330. Sync from branch Will fail in HEAD due
to other issues
  
  Revision  Changes    Path
  1.7       +13 -1     jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
  
  Index: TestBugs.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TestBugs.java	6 Oct 2003 17:34:10 -0000	1.6
  +++ TestBugs.java	6 Oct 2003 17:44:24 -0000	1.7
  @@ -151,5 +151,17 @@
               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);
  +       }    
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message