]> source.dussan.org Git - poi.git/commitdiff
new word-to-text converter can handle OLE2 included objects, so issue 47731 is fixed
authorSergey Vladimirov <sergey@apache.org>
Tue, 9 Aug 2011 12:42:34 +0000 (12:42 +0000)
committerSergey Vladimirov <sergey@apache.org>
Tue, 9 Aug 2011 12:42:34 +0000 (12:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155337 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/status.xml
src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java

index aca3037dc9ac9ed9c97d18f7a497f727b84323c1..34733a2a440c6d1072f7b3e2906c6e0fd8fd327b 100644 (file)
@@ -34,6 +34,7 @@
 
     <changes>
         <release version="3.8-beta4" date="2011-??-??">
+           <action dev="poi-developers" type="fix">47731 - Word Extractor considers text copied from some website as an embedded object</action>
            <action dev="poi-developers" type="add">Add Word-to-Text converter and use it as replacement for WordExtractor</action>
            <action dev="poi-developers" type="fix">51604 - replace text fails for doc ( poi 3.8 beta release from download site )</action>
            <action dev="poi-developers" type="fix">Fixed incorrect encoding of non-breaking space (0xA0) in SXSSF</action>
index 01810569a5ec7b99c469243f3f6011dca14ec50d..820d7ba239f262274503608145ff8e3434d86d5b 100644 (file)
@@ -353,25 +353,16 @@ public class TestBugs extends TestCase
     }
 
     /**
-     * [FAILING] Bug 47731 - Word Extractor considers text copied from some
-     * website as an embedded object
+     * [RESOLVED FIXED] Bug 47731 - Word Extractor considers text copied from
+     * some website as an embedded object
      */
     public void test47731() throws Exception
     {
         HWPFDocument doc = HWPFTestDataSamples.openSampleFile( "Bug47731.doc" );
         String foundText = new WordExtractor( doc ).getText();
 
-        try
-        {
-            assertTrue( foundText
-                    .contains( "Soak the rice in water for three to four hours" ) );
-
-            fixed( "47731" );
-        }
-        catch ( AssertionFailedError exc )
-        {
-            // expected
-        }
+        assertTrue( foundText
+                .contains( "Soak the rice in water for three to four hours" ) );
     }
 
     /**