]> source.dussan.org Git - poi.git/commitdiff
add 4th example file from Bug 53380
authorSergey Vladimirov <sergey@apache.org>
Tue, 25 Sep 2012 21:42:09 +0000 (21:42 +0000)
committerSergey Vladimirov <sergey@apache.org>
Tue, 25 Sep 2012 21:42:09 +0000 (21:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1390167 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java
test-data/document/Bug53380_4.doc [new file with mode: 0644]

index 70b36202793f4b81be835191245e7d8bb7dbd085..7fadde76f328d38e4800a963a932ff98700b5cfd 100644 (file)
@@ -767,7 +767,7 @@ public class TestBugs extends TestCase
     }
 
     /**
-     * Bug 53380 - ArrayIndexOutOfBounds Excetion parsing word 97 document
+     * Bug 53380 - ArrayIndexOutOfBounds Exception parsing word 97 document
      */
     public void testBug53380_1() throws Exception
     {
@@ -775,7 +775,7 @@ public class TestBugs extends TestCase
     }
 
     /**
-     * Bug 53380 - ArrayIndexOutOfBounds Excetion parsing word 97 document
+     * Bug 53380 - ArrayIndexOutOfBounds Exception parsing word 97 document
      */
     public void testBug53380_2() throws Exception
     {
@@ -783,10 +783,18 @@ public class TestBugs extends TestCase
     }
 
     /**
-     * Bug 53380 - ArrayIndexOutOfBounds Excetion parsing word 97 document
+     * Bug 53380 - ArrayIndexOutOfBounds Exception parsing word 97 document
      */
     public void testBug53380_3() throws Exception
     {
         HWPFTestDataSamples.openSampleFile( "Bug53380_3.doc" );
     }
+
+    /**
+     * Bug 53380 - ArrayIndexOutOfBounds Exception parsing word 97 document
+     */
+    public void testBug53380_4() throws Exception
+    {
+        HWPFTestDataSamples.openSampleFile( "Bug53380_4.doc" );
+    }
 }
diff --git a/test-data/document/Bug53380_4.doc b/test-data/document/Bug53380_4.doc
new file mode 100644 (file)
index 0000000..dc33d89
Binary files /dev/null and b/test-data/document/Bug53380_4.doc differ