From: Sergey Vladimirov Date: Mon, 22 Aug 2011 08:38:20 +0000 (+0000) Subject: [[51686]] rename testWORD.doc to Bug51686.doc X-Git-Tag: REL_3_8_BETA4~1^2~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d2c134a96d8ba7c7b4567836f02c349a97f7310;p=poi.git [[51686]] rename testWORD.doc to Bug51686.doc git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160143 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java b/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java index b4f81f2bb1..2f7a2d5771 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java @@ -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 index 0000000000..c1f4f3d0b0 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 index c1f4f3d0b0..0000000000 Binary files a/test-data/document/testWORD.doc and /dev/null differ