summaryrefslogtreecommitdiff
path: root/tests/docx.links.native
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2014-06-15 14:55:17 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2014-06-16 07:18:40 -0400
commitf928e4c8dce694c47e0cda35f82bfadd55c0e4b2 (patch)
treef37d57edab6f2d69708d11de2389070dca15f94c /tests/docx.links.native
parent3bc818d2d3079f1d31dbb409f839585a32f26f6e (diff)
Add DocX automated tests.
Note this makes use of input and output files in the tests/ dir.
Diffstat (limited to 'tests/docx.links.native')
-rw-r--r--tests/docx.links.native6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/docx.links.native b/tests/docx.links.native
new file mode 100644
index 000000000..98768de5a
--- /dev/null
+++ b/tests/docx.links.native
@@ -0,0 +1,6 @@
+[Header 2 ("",[],[]) [Str "An",Space,Str "internal",Space,Str "link",Space,Str "and",Space,Str "an",Space,Str "external",Space,Str "link"]
+,Para [Str "An",Space,Link [Str "external",Space,Str "link"] ("http://google.com",""),Space,Str "to",Space,Str "a",Space,Str "popular",Space,Str "website."]
+,Para [Str "An",Space,Link [Str "internal",Space,Str "link"] ("#_A_section_for",""),Space,Str "to",Space,Str "a",Space,Str "section",Space,Str "header."]
+,Para [Str "An",Space,Link [Str "internal",Space,Str "link"] ("#my_bookmark",""),Space,Str "to",Space,Str "a",Space,Str "bookmark."]
+,Header 2 ("_A_section_for",[],[]) [Str "A",Space,Str "section",Space,Str "for",Space,Str "testing",Space,Str "link",Space,Str "targets"]
+,Para [Str "A",Space,Str "bookmark",Space,Str "right",Space,Span ("my_bookmark",["anchor"],[]) [],Str "here"]]