added testcase for bug 19599

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353420 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Avik Sengupta 2003-10-28 10:28:54 +00:00
parent d193c7c1a4
commit a26c21dbcc
3 changed files with 12 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -65,6 +65,8 @@ import junit.framework.TestCase;
/**
* Testcases for bugs entered in bugzilla
* the Test name contains the bugzilla bug id
* @author Avik Sengupta
*/
@ -351,7 +353,6 @@ extends TestCase {
/** 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);
@ -359,6 +360,16 @@ extends TestCase {
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);
}
}