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

  Modified:    src/testcases/org/apache/poi/hssf/usermodel Tag:
                        REL_2_BRANCH TestBugs.java
  Added:       src/testcases/org/apache/poi/hssf/data Tag: REL_2_BRANCH
                        14330-1.xls 14330-2.xls
  Log:
  testcase for bug 14330
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +85 -0     jakarta-poi/src/testcases/org/apache/poi/hssf/data/Attic/14330-1.xls
  
  	<<Binary file>>
  
  
  1.1.2.1   +13 -0     jakarta-poi/src/testcases/org/apache/poi/hssf/data/Attic/14330-2.xls
  
  	<<Binary file>>
  
  
  No                   revision
  No                   revision
  1.1.2.7   +14 -0     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.1.2.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- TestBugs.java	6 Oct 2003 17:25:31 -0000	1.1.2.6
  +++ TestBugs.java	6 Oct 2003 17:40:08 -0000	1.1.2.7
  @@ -150,6 +150,20 @@
               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