make sure at least English text is extracted

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-09 15:36:05 +00:00
parent f23c8a021a
commit b95ff1310d

View File

@ -795,7 +795,13 @@ public final class TestProblems extends HWPFTestCase {
public void test49933() public void test49933()
{ {
HWPFTestDataSamples.openOldSampleFile( "Bug49933.doc" ); HWPFOldDocument document = HWPFTestDataSamples
.openOldSampleFile( "Bug49933.doc" );
Word6Extractor word6Extractor = new Word6Extractor( document );
String text = word6Extractor.getText();
assertTrue( text.contains( "best.wine.jump.ru" ) );
} }
/** /**