insertTable( 3, 3 );
}
+ /**
+ * [FAILING] 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
+ }
+ }
+
/**
* Bug 4774 - text extracted by WordExtractor is broken
*/