aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2017-02-09 19:29:15 +0000
committerNick Burch <nick@apache.org>2017-02-09 19:29:15 +0000
commit8190a9e53a3ada104b80858cc6ceae860f2d0c1a (patch)
treeb6ce4075ea67a4c3e4b7c5a2a72dcfdf497c18f4 /src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java
parent3e9ce6d2985700403f8b5a3326a89ac8170bd589 (diff)
downloadpoi-8190a9e53a3ada104b80858cc6ceae860f2d0c1a.tar.gz
poi-8190a9e53a3ada104b80858cc6ceae860f2d0c1a.zip
Unit test comment for possible future expansion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782378 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java')
-rw-r--r--src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java
index d718a621b5..718c73e70b 100644
--- a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java
+++ b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java
@@ -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");