]> source.dussan.org Git - poi.git/commitdiff
More double byte chars testcases. Sync from branch
authorAvik Sengupta <avik@apache.org>
Mon, 27 Oct 2003 03:57:30 +0000 (03:57 +0000)
committerAvik Sengupta <avik@apache.org>
Mon, 27 Oct 2003 03:57:30 +0000 (03:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353419 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/data/12843-1.xls [new file with mode: 0644]
src/testcases/org/apache/poi/hssf/data/12843-2.xls [new file with mode: 0644]
src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

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 (file)
index 0000000..0ef5df4
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 (file)
index 0000000..beff646
Binary files /dev/null and b/src/testcases/org/apache/poi/hssf/data/12843-2.xls differ
index f4a8e8d620fd4cc484a79041caf8160d1e331236..779805423d6c8b639314764ee48322517a80ca1b 100644 (file)
@@ -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 {