diff options
author | Nick Burch <nick@apache.org> | 2008-02-22 11:40:00 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2008-02-22 11:40:00 +0000 |
commit | a8ef1d3527c56a5719f6a334a52e070cba696da7 (patch) | |
tree | e7f159d8ad80eccb74cbe5e248dfabe3a38f0fcd /src/testcases/org | |
parent | f055e2999a3f07f51e8430027445528544255cef (diff) | |
download | poi-a8ef1d3527c56a5719f6a334a52e070cba696da7.tar.gz poi-a8ef1d3527c56a5719f6a334a52e070cba696da7.zip |
Bug #44471 - Crystal Reports generates files with short StyleRecords, which isn't allowed in the spec. Work around this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@630164 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index dc38824d39..04c729b3be 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -1091,17 +1091,14 @@ extends TestCase { } /** - * Date: Tue, 19 Feb 2008 05:03:47 -0800 (PST) - * From: Setya <jsetya@gmail.com> - * Subject: Exception when parsing excel file + * Crystal reports generates files with short + * StyleRecords, which is against the spec */ - public void BROKENtest20080219() throws Exception { + public void test44471() throws Exception { FileInputStream in = new FileInputStream(new File(cwd, "OddStyleRecord.xls")); - // Blows up with an ArrayIndexOutOfBounds + // Used to blow up with an ArrayIndexOutOfBounds // when creating a StyleRecord - // However, our code matches the latest Microsoft - // docs, so no idea what's wrong HSSFWorkbook wb = new HSSFWorkbook(in); in.close(); |