mirror of https://github.com/apache/poi.git
Testcases for bug 19599 - sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353421 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7e9e442561
commit
c9b1d4c20f
Binary file not shown.
Binary file not shown.
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue