mirror of https://github.com/apache/poi.git
POI 55361 trigger to load CTMoveBookmark in TestXWPFParagraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1511777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e4ba611f12
commit
9ddef1c083
|
@ -342,4 +342,12 @@ public final class TestXWPFParagraph extends TestCase {
|
|||
r.getCTR().getDrawingArray(0).getInlineArray(0).getGraphic().getGraphicData();
|
||||
PicDocument pd = new PicDocumentImpl(null);
|
||||
}
|
||||
}
|
||||
|
||||
public void testTika792() throws Exception{
|
||||
//This test forces the loading of CTMoveBookmark and
|
||||
//CTMoveBookmarkImpl into ooxml-lite.
|
||||
XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("Tika-792.docx");
|
||||
XWPFParagraph paragraph = doc.getParagraphs().get(0);
|
||||
assertEquals("s", paragraph.getText());
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue