]> source.dussan.org Git - poi.git/commitdiff
bug #44235 is not reproducible in 3.1-beta1
authorYegor Kozlov <yegor@apache.org>
Mon, 5 May 2008 16:12:21 +0000 (16:12 +0000)
committerYegor Kozlov <yegor@apache.org>
Mon, 5 May 2008 16:12:21 +0000 (16:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653520 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/data/44235.xls [new file with mode: 0755]
src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

diff --git a/src/testcases/org/apache/poi/hssf/data/44235.xls b/src/testcases/org/apache/poi/hssf/data/44235.xls
new file mode 100755 (executable)
index 0000000..39b7658
Binary files /dev/null and b/src/testcases/org/apache/poi/hssf/data/44235.xls differ
index 4ba81c409823ed42b790d1798b9ddfeb324a4aaa..e0a2bde24a7f37b79e6a85c78593bf8c6ebca034 100644 (file)
@@ -898,4 +898,16 @@ public final class TestBugs extends TestCase {
         writeOutAndReadBack(wb);
         assertTrue("no errors writing sample xls", true);
     }
+
+    /**
+     * Bug 44235: Ms Excel can't open save as excel file
+     *
+     * Works fine with poi-3.1-beta1.
+     */
+    public void test44235() throws Exception {
+       HSSFWorkbook wb = openSample("44235.xls");
+        assertTrue("no errors reading sample xls", true);
+        writeOutAndReadBack(wb);
+        assertTrue("no errors writing sample xls", true);
+    }
 }