Unit test comment for possible future expansion

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782378 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2017-02-09 19:29:15 +00:00
parent cc962432a4
commit 31ec02043a
1 changed files with 6 additions and 0 deletions

View File

@ -613,6 +613,12 @@ public final class TestXWPFParagraph {
assertEquals("This is a test.\n\n\n\n3\n4\n5\n\n\n\nThis is a whole paragraph where one word is deleted.\n", str.toString());
}
/**
* Tests for numbered lists
*
* See also https://github.com/jimklo/apache-poi-sample/blob/master/src/main/java/com/sri/jklo/StyledDocument.java
* for someone else trying a similar thing
*/
@Test
public void testNumberedLists() throws Exception {
XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("ComplexNumberedLists.docx");