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
48a5e63ad7
commit
db3e8697f7
@ -433,4 +433,12 @@ public class TestXWPFWordExtractor extends TestCase {
|
|||||||
assertEquals("\u6771\u4EAC", extractor.getText().trim());
|
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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
BIN
test-data/document/61991.docx
Normal file
BIN
test-data/document/61991.docx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user