fix 51678 -- Extracting text from Bug51524.zip is slow

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1159245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-08-18 14:30:15 +00:00
parent d4b53503bf
commit 1b74e2a9c0
1 changed files with 11 additions and 0 deletions

View File

@ -647,4 +647,15 @@ public class TestBugs extends TestCase
npoifsFileSystem.getRoot() );
hwpfDocument.write( new ByteArrayOutputStream() );
}
/**
* Bug 51678 - Extracting text from Bug51524.zip is slow
*/
public void test51678()
{
HWPFDocument hwpfDocument = HWPFTestDataSamples.openSampleFileFromArchive( "Bug51524.zip" );
WordExtractor wordExtractor = new WordExtractor( hwpfDocument );
wordExtractor.getText();
}
}