mirror of https://github.com/apache/poi.git
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:
parent
d4b53503bf
commit
1b74e2a9c0
|
@ -647,4 +647,15 @@ public class TestBugs extends TestCase
|
||||||
npoifsFileSystem.getRoot() );
|
npoifsFileSystem.getRoot() );
|
||||||
hwpfDocument.write( new ByteArrayOutputStream() );
|
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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue