From 186a955bd03e001201ece26442bdf25203714c14 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Wed, 18 Nov 2015 13:15:23 -0500 Subject: Docx reader: Add test cases for dummy list items. --- tests/docx/dummy_item_after_list_item.docx | Bin 0 -> 70197 bytes tests/docx/dummy_item_after_list_item.native | 3 +++ tests/docx/dummy_item_after_paragraph.docx | Bin 0 -> 70234 bytes tests/docx/dummy_item_after_paragraph.native | 3 +++ 4 files changed, 6 insertions(+) create mode 100644 tests/docx/dummy_item_after_list_item.docx create mode 100644 tests/docx/dummy_item_after_list_item.native create mode 100644 tests/docx/dummy_item_after_paragraph.docx create mode 100644 tests/docx/dummy_item_after_paragraph.native (limited to 'tests/docx') diff --git a/tests/docx/dummy_item_after_list_item.docx b/tests/docx/dummy_item_after_list_item.docx new file mode 100644 index 000000000..5e29b993c Binary files /dev/null and b/tests/docx/dummy_item_after_list_item.docx differ diff --git a/tests/docx/dummy_item_after_list_item.native b/tests/docx/dummy_item_after_list_item.native new file mode 100644 index 000000000..3f6231932 --- /dev/null +++ b/tests/docx/dummy_item_after_list_item.native @@ -0,0 +1,3 @@ +[OrderedList (1,Decimal,Period) + [[Para [Str "One"] + ,Para [Str "Two",LineBreak,LineBreak,Str "Three"]]]] diff --git a/tests/docx/dummy_item_after_paragraph.docx b/tests/docx/dummy_item_after_paragraph.docx new file mode 100644 index 000000000..b0aee8843 Binary files /dev/null and b/tests/docx/dummy_item_after_paragraph.docx differ diff --git a/tests/docx/dummy_item_after_paragraph.native b/tests/docx/dummy_item_after_paragraph.native new file mode 100644 index 000000000..2e9b831c4 --- /dev/null +++ b/tests/docx/dummy_item_after_paragraph.native @@ -0,0 +1,3 @@ +[Para [Str "First",Space,Str "bullet",Space,Str "point",Space,Str "created",Space,Str "and",Space,Str "then",Space,Str "deleted"] +,Para [Str "A",Space,Str "normal",Space,Str "paragraph"] +,Para [Str "First",Space,Str "bullet",Space,Str "point",Space,Str "created",Space,Str "and",Space,Str "then",Space,Str "deleted",Space,Str "after",Space,Str "the",Space,Str "normal",Space,Str "paragraph"]] -- cgit v1.2.3