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:34:10 GMT
avik        2003/10/06 10:34:10

  Modified:    src/testcases/org/apache/poi/hssf/usermodel TestBugs.java
  Added:       src/testcases/org/apache/poi/hssf/data 14460.xls
  Log:
  testcase for bug 14460
  
  Revision  Changes    Path
  1.2       +65 -0     jakarta-poi/src/testcases/org/apache/poi/hssf/data/14460.xls
  
  	<<Binary file>>
  
  
  1.6       +11 -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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestBugs.java	6 Oct 2003 10:20:33 -0000	1.5
  +++ TestBugs.java	6 Oct 2003 17:34:10 -0000	1.6
  @@ -140,6 +140,16 @@
               wb.write(fileOut);
               fileOut.close();
           }
  -          
  +        
  +       /** test reading of a formula with a name and a cell ref in one
  +        **/
  +       public void test14460() throws Exception {
  +        String filename = System.getProperty("HSSF.testdata.path");
  +        filename=filename+"/14460.xls";
  +        FileInputStream in = new FileInputStream(filename);
  +            HSSFWorkbook wb = new HSSFWorkbook(in);
  +            HSSFSheet 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