<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>
}
/**
- * [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" ) );
}
/**