diff --git a/src/testcases/org/apache/poi/hssf/data/12843-1.xls b/src/testcases/org/apache/poi/hssf/data/12843-1.xls new file mode 100644 index 000000000..0ef5df426 Binary files /dev/null and b/src/testcases/org/apache/poi/hssf/data/12843-1.xls differ diff --git a/src/testcases/org/apache/poi/hssf/data/12843-2.xls b/src/testcases/org/apache/poi/hssf/data/12843-2.xls new file mode 100644 index 000000000..beff64650 Binary files /dev/null and b/src/testcases/org/apache/poi/hssf/data/12843-2.xls differ diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index f4a8e8d62..779805423 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -329,6 +329,25 @@ extends TestCase { this.assertTrue("Read workbook!" , true); } + /*Double byte strings + File supplied by jubeson*/ + public void test12843_1() throws java.io.IOException { + String filename = System.getProperty("HSSF.testdata.path"); + filename=filename+"/12843-1.xls"; + FileInputStream in = new FileInputStream(filename); + HSSFWorkbook wb = new HSSFWorkbook(in); + this.assertTrue("Read workbook!" , true); + } + + /*Double byte strings + File supplied by Paul Chung*/ + public void test12843_2() throws java.io.IOException { + String filename = System.getProperty("HSSF.testdata.path"); + filename=filename+"/12843-2.xls"; + FileInputStream in = new FileInputStream(filename); + HSSFWorkbook wb = new HSSFWorkbook(in); + this.assertTrue("Read workbook!" , true); + } /** Reference to Name*/ public void test13224() throws java.io.IOException {