aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2008-05-05 16:12:21 +0000
committerYegor Kozlov <yegor@apache.org>2008-05-05 16:12:21 +0000
commit8252387053dbac6438d45a37f21b9614a65fa414 (patch)
treea45fe89d1ffa07931ee31b67a799921fe885a044 /src
parente7262a59628212c79376712811ad064908521869 (diff)
downloadpoi-8252387053dbac6438d45a37f21b9614a65fa414.tar.gz
poi-8252387053dbac6438d45a37f21b9614a65fa414.zip
bug #44235 is not reproducible in 3.1-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653520 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rwxr-xr-xsrc/testcases/org/apache/poi/hssf/data/44235.xlsbin0 -> 78336 bytes
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java12
2 files changed, 12 insertions, 0 deletions
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
index 0000000000..39b76588a3
--- /dev/null
+++ b/src/testcases/org/apache/poi/hssf/data/44235.xls
Binary files differ
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
index 4ba81c4098..e0a2bde24a 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
@@ -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);
+ }
}