mirror of https://github.com/apache/poi.git
related to Bug 61991 -- include docx in test suite to trigger inclusion of CTPictureBase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822033 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e415b852f8
commit
e2fe5c190a
|
@ -433,4 +433,12 @@ public class TestXWPFWordExtractor extends TestCase {
|
|||
assertEquals("\u6771\u4EAC", extractor.getText().trim());
|
||||
}
|
||||
|
||||
public void testCTPictureBase() throws IOException {
|
||||
//This forces ctpicturebase to be included in the poi-ooxml-schemas jar
|
||||
XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("61991.docx");
|
||||
XWPFWordExtractor extractor = new XWPFWordExtractor(doc);
|
||||
String txt = extractor.getText();
|
||||
assertContains(txt, "Sequencing data");
|
||||
extractor.close();
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue