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 Tue, 28 Oct 2003 10:28:54 GMT
avik        2003/10/28 02:28:54

  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
                        19599-1.xls 19599-2.xls
  Log:
  added testcase for bug 19599
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +2302 -0   jakarta-poi/src/testcases/org/apache/poi/hssf/data/Attic/19599-1.xls
  
  	<<Binary file>>
  
  
  1.1.2.1   +757 -0    jakarta-poi/src/testcases/org/apache/poi/hssf/data/Attic/19599-2.xls
  
  	<<Binary file>>
  
  
  No                   revision
  No                   revision
  1.1.2.12  +12 -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.1.2.11
  retrieving revision 1.1.2.12
  diff -u -r1.1.2.11 -r1.1.2.12
  --- TestBugs.java	27 Oct 2003 03:56:31 -0000	1.1.2.11
  +++ TestBugs.java	28 Oct 2003 10:28:54 -0000	1.1.2.12
  @@ -65,6 +65,8 @@
   
   
   /**
  + * Testcases for bugs entered in bugzilla
  + * the Test name contains the bugzilla bug id
    * @author Avik Sengupta
    */
   
  @@ -351,12 +353,21 @@
       
       /** Reference to Name*/
       public void test13224() throws java.io.IOException {
  -
           String filename = System.getProperty("HSSF.testdata.path");
           filename=filename+"/13224.xls";
           FileInputStream in = new FileInputStream(filename);
           HSSFWorkbook wb = new HSSFWorkbook(in);
           this.assertTrue("Read workbook!" , true);
  +
  +    }
  +    
  +    /** Illegal argument exception - cannot store duplicate value in Map*/
  +     public void test19599() throws java.io.IOException {
  +        FileInputStream in = new FileInputStream("19599-1.xls");
  +        HSSFWorkbook wb = new HSSFWorkbook(in);
  +        in = new FileInputStream("19599-2.xls");
  +        wb = new HSSFWorkbook(in);
  +        this.assertTrue("Read workbook, No exceptions" , 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