poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1155337 - in /poi/trunk/src: documentation/content/xdocs/status.xml scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java
Date Tue, 09 Aug 2011 12:42:35 GMT
Author: sergey
Date: Tue Aug  9 12:42:34 2011
New Revision: 1155337

URL: http://svn.apache.org/viewvc?rev=1155337&view=rev
Log:
new word-to-text converter can handle OLE2 included objects, so issue 47731 is fixed

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

Modified: poi/trunk/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1155337&r1=1155336&r2=1155337&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/status.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/status.xml Tue Aug  9 12:42:34 2011
@@ -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>

Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java?rev=1155337&r1=1155336&r2=1155337&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java Tue Aug
 9 12:42:34 2011
@@ -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" ) );
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message