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 70fdc04369
commit 12e2fa1e9e
1 changed files with 7 additions and 1 deletions

View File

@ -795,7 +795,13 @@ public final class TestProblems extends HWPFTestCase {
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" ) );
}
/**