diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java index 85d49387f..b19622ff3 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java @@ -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(); + } }