]> source.dussan.org Git - poi.git/commitdiff
[[51686]] rename testWORD.doc to Bug51686.doc
authorSergey Vladimirov <sergey@apache.org>
Mon, 22 Aug 2011 08:38:20 +0000 (08:38 +0000)
committerSergey Vladimirov <sergey@apache.org>
Mon, 22 Aug 2011 08:38:20 +0000 (08:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160143 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java
test-data/document/Bug51686.doc [new file with mode: 0644]
test-data/document/testWORD.doc [deleted file]

index b4f81f2bb15bec683712d6cfe83814bb4848ba8e..2f7a2d577198353bd63b6f2c2dead4f58b583e54 100644 (file)
@@ -358,8 +358,14 @@ public final class TestWordExtractor extends TestCase {
        }
     }
 
-    public void testRootEntiesNavigation() throws IOException {
-        InputStream is = POIDataSamples.getDocumentInstance().openResourceAsStream("testWORD.doc");
+    /**
+     * [RESOLVED FIXED] Bug 51686 - Update to POI 3.8 beta 4 causes
+     * ConcurrentModificationException in Tika's OfficeParser
+     */
+    public void testRootEntiesNavigation() throws IOException
+    {
+        InputStream is = POIDataSamples.getDocumentInstance()
+                .openResourceAsStream( "Bug51686.doc" );
 
         POIFSFileSystem fs = new POIFSFileSystem(is);
 
diff --git a/test-data/document/Bug51686.doc b/test-data/document/Bug51686.doc
new file mode 100644 (file)
index 0000000..c1f4f3d
Binary files /dev/null and b/test-data/document/Bug51686.doc differ
diff --git a/test-data/document/testWORD.doc b/test-data/document/testWORD.doc
deleted file mode 100644 (file)
index c1f4f3d..0000000
Binary files a/test-data/document/testWORD.doc and /dev/null differ