git.iko.soy/typeable/pandoc
on master help sign in
Revised tests directory.

Renamed some tests, introducing subsidiary directories for fb2, docx, epub. Cleaned up tests in cabal file. Combined dokuwiki-writer and dokuwiki_inline_formatting tests.

commit40e67b873735f108dfb17f75f6475219a62278cd authorJohn MacFarlane <jgm@berkeley.edu> dateWed 13 Aug 2014, 11:16 (12 years ago) parentfa71a08
82 files changed+199−224
pandoc.cabal+117−141 tests/Tests/Old.hs+11−13 tests/Tests/Readers/Docx.hs+61−61 tests/Tests/Readers/EPUB.hs+1−1 tests/docx.already_auto_ident.docx → tests/docx/already_auto_ident.docx tests/docx.already_auto_ident.native → tests/docx/already_auto_ident.native tests/docx.block_quotes.docx → tests/docx/block_quotes.docx tests/docx.block_quotes_parse_indent.native → tests/docx/block_quotes_parse_indent.native tests/docx.codeblock.docx → tests/docx/codeblock.docx tests/docx.codeblock.native → tests/docx/codeblock.native tests/docx.deep_normalize.docx → tests/docx/deep_normalize.docx tests/docx.deep_normalize.native → tests/docx/deep_normalize.native tests/docx.definition_list.docx → tests/docx/definition_list.docx tests/docx.definition_list.native → tests/docx/definition_list.native tests/docx.drop_cap.docx → tests/docx/drop_cap.docx tests/docx.drop_cap.native → tests/docx/drop_cap.native tests/docx.hanging_indent.docx → tests/docx/hanging_indent.docx tests/docx.hanging_indent.native → tests/docx/hanging_indent.native tests/docx.headers.docx → tests/docx/headers.docx tests/docx.headers.native → tests/docx/headers.native tests/docx.image.docx → tests/docx/image.docx tests/docx.image_no_embed.native → tests/docx/image_no_embed.native tests/docx.inline_code.docx → tests/docx/inline_code.docx tests/docx.inline_code.native → tests/docx/inline_code.native tests/docx.inline_formatting.docx → tests/docx/inline_formatting.docx tests/docx.inline_formatting.native → tests/docx/inline_formatting.native tests/docx.inline_images.docx → tests/docx/inline_images.docx tests/docx.inline_images.native → tests/docx/inline_images.native tests/docx.links.docx → tests/docx/links.docx tests/docx.links.native → tests/docx/links.native tests/docx.lists.docx → tests/docx/lists.docx tests/docx.lists.native → tests/docx/lists.native tests/docx.metadata.docx → tests/docx/metadata.docx tests/docx.metadata.native → tests/docx/metadata.native tests/docx.metadata_after_normal.docx → tests/docx/metadata_after_normal.docx tests/docx.metadata_after_normal.native → tests/docx/metadata_after_normal.native tests/docx.normalize.docx → tests/docx/normalize.docx tests/docx.normalize.native → tests/docx/normalize.native tests/docx.notes.docx → tests/docx/notes.docx tests/docx.notes.native → tests/docx/notes.native tests/docx.tables.docx → tests/docx/tables.docx tests/docx.tables.native → tests/docx/tables.native tests/docx.tabs.docx → tests/docx/tabs.docx tests/docx.tabs.native → tests/docx/tabs.native tests/docx.track_changes_deletion.docx → tests/docx/track_changes_deletion.docx tests/docx.track_changes_deletion_accept.native → tests/docx/track_changes_deletion_accept.native tests/docx.track_changes_deletion_all.native → tests/docx/track_changes_deletion_all.native tests/docx.track_changes_deletion_reject.native → tests/docx/track_changes_deletion_reject.native tests/docx.track_changes_insertion.docx → tests/docx/track_changes_insertion.docx tests/docx.track_changes_insertion_accept.native → tests/docx/track_changes_insertion_accept.native tests/docx.track_changes_insertion_all.native → tests/docx/track_changes_insertion_all.native tests/docx.track_changes_insertion_reject.native → tests/docx/track_changes_insertion_reject.native tests/docx.trailing_spaces_in_formatting.docx → tests/docx/trailing_spaces_in_formatting.docx tests/docx.trailing_spaces_in_formatting.native → tests/docx/trailing_spaces_in_formatting.native tests/docx.unicode.docx → tests/docx/unicode.docx tests/docx.unicode.native → tests/docx/unicode.native tests/dokuwiki-writer.dokuwiki−3 tests/dokuwiki-writer.native−2 tests/dokuwiki.inline_formatting.dokuwiki → tests/dokuwiki_inline_formatting.dokuwiki+4 tests/dokuwiki.inline_formatting.native → tests/dokuwiki_inline_formatting.native+3−1 tests/epub.features.epub → tests/epub/features.epub tests/epub.features.native → tests/epub/features.native tests/epub.formatting.epub → tests/epub/formatting.epub tests/epub.formatting.native → tests/epub/formatting.native tests/epub.wasteland.epub → tests/epub/wasteland.epub tests/epub.wasteland.native → tests/epub/wasteland.native tests/fb2.basic.fb2 → tests/fb2/basic.fb2 tests/fb2.basic.markdown → tests/fb2/basic.markdown tests/fb2.images-embedded.fb2 → tests/fb2/images-embedded.fb2 tests/fb2.images-embedded.html → tests/fb2/images-embedded.html tests/fb2.images.fb2 → tests/fb2/images.fb2 tests/fb2.images.markdown → tests/fb2/images.markdown+2−2 tests/fb2.math.fb2 → tests/fb2/math.fb2 tests/fb2.math.markdown → tests/fb2/math.markdown tests/fb2.test-small.png → tests/fb2/test-small.png tests/fb2.test.jpg → tests/fb2/test.jpg tests/fb2.titles.fb2 → tests/fb2/titles.fb2 tests/fb2.titles.markdown → tests/fb2/titles.markdown tests/s5.basic.html → tests/s5-basic.html tests/s5.fancy.html → tests/s5-fancy.html tests/s5.fragment.html → tests/s5-fragment.html tests/s5.inserts.html → tests/s5-inserts.html
pandoc.cabal+117−141
@@ -40,44 +40,44 @@ Description: Pandoc is a Haskell library for converting from one markup
4040 only adding a reader or writer.
4141Data-Files:
4242 -- templates
43− data/templates/default.html,
44− data/templates/default.html5,
45− data/templates/default.docbook,
46− data/templates/default.beamer,
47− data/templates/default.opendocument,
48− data/templates/default.icml,
49− data/templates/default.opml,
50− data/templates/default.latex,
51− data/templates/default.context,
52− data/templates/default.texinfo,
53− data/templates/default.man,
54− data/templates/default.markdown,
55− data/templates/default.rst,
56− data/templates/default.plain,
57− data/templates/default.mediawiki,
58− data/templates/default.rtf,
59− data/templates/default.s5,
60− data/templates/default.slidy,
61− data/templates/default.slideous,
62− data/templates/default.revealjs,
63− data/templates/default.dzslides,
64− data/templates/default.asciidoc,
65− data/templates/default.haddock,
66− data/templates/default.textile,
67− data/templates/default.org,
68− data/templates/default.epub,
69− data/templates/default.epub3,
43+ data/templates/default.html
44+ data/templates/default.html5
45+ data/templates/default.docbook
46+ data/templates/default.beamer
47+ data/templates/default.opendocument
48+ data/templates/default.icml
49+ data/templates/default.opml
50+ data/templates/default.latex
51+ data/templates/default.context
52+ data/templates/default.texinfo
53+ data/templates/default.man
54+ data/templates/default.markdown
55+ data/templates/default.rst
56+ data/templates/default.plain
57+ data/templates/default.mediawiki
58+ data/templates/default.rtf
59+ data/templates/default.s5
60+ data/templates/default.slidy
61+ data/templates/default.slideous
62+ data/templates/default.revealjs
63+ data/templates/default.dzslides
64+ data/templates/default.asciidoc
65+ data/templates/default.haddock
66+ data/templates/default.textile
67+ data/templates/default.org
68+ data/templates/default.epub
69+ data/templates/default.epub3
7070 -- data for ODT writer
71− data/reference.odt,
71+ data/reference.odt
7272 -- data for docx writer
73− data/reference.docx,
73+ data/reference.docx
7474 -- stylesheet for EPUB writer
75− data/epub.css,
75+ data/epub.css
7676 -- data for LaTeXMathML writer
77− data/LaTeXMathML.js,
78− data/MathMLinHTML.js,
77+ data/LaTeXMathML.js
78+ data/MathMLinHTML.js
7979 -- data for dzslides writer
80− data/dzslides/template.html,
80+ data/dzslides/template.html
8181 -- sample lua custom writer
8282 data/sample.lua
8383 -- documentation
@@ -86,118 +86,94 @@ Extra-Source-Files:
8686 -- documentation
8787 INSTALL, BUGS, CONTRIBUTING.md, changelog
8888 -- code to create pandoc.1 man page
89− man/man1/pandoc.1.template,
90− man/man5/pandoc_markdown.5.template,
89+ man/man1/pandoc.1.template
90+ man/man5/pandoc_markdown.5.template
9191 -- generated man pages (produced post-build)
92− man/man1/pandoc.1,
93− man/man5/pandoc_markdown.5,
92+ man/man1/pandoc.1
93+ man/man5/pandoc_markdown.5
9494 -- tests
95− tests/bodybg.gif,
95+ tests/bodybg.gif
96+ tests/*.native
9697 tests/docbook-reader.docbook
97− tests/html-reader.html,
98− tests/opml-reader.opml,
99− tests/haddock-reader.haddock,
100− tests/insert,
101− tests/lalune.jpg,
102− tests/movie.jpg,
103− tests/latex-reader.latex,
104− tests/textile-reader.textile,
105− tests/markdown-reader-more.txt,
106− tests/markdown-citations.txt,
107− tests/textile-reader.textile,
108− tests/mediawiki-reader.wiki,
109− tests/rst-reader.rst,
110− tests/s5.basic.html,
111− tests/s5.fancy.html,
112− tests/s5.fragment.html,
113− tests/s5.inserts.html,
114− tests/tables.context,
115− tests/tables.docbook,
116− tests/tables.html,
117− tests/tables.latex,
118− tests/tables.man,
119− tests/tables.plain,
120− tests/tables.markdown,
121− tests/tables.mediawiki,
122− tests/tables.textile,
123− tests/tables.opendocument,
124− tests/tables.org,
125− tests/tables.asciidoc,
126− tests/tables.haddock,
127− tests/tables.texinfo,
128− tests/tables.rst,
129− tests/tables.rtf,
130− tests/tables.txt,
131− tests/tables.fb2,
132− tests/testsuite.txt,
133− tests/writer.latex,
134− tests/writer.context,
135− tests/writer.docbook,
136− tests/writer.html,
137− tests/writer.man,
138− tests/writer.markdown,
139− tests/writer.plain,
140− tests/writer.mediawiki,
141− tests/writer.textile,
142− tests/writer.opendocument,
143− tests/writer.org,
144− tests/writer.asciidoc,
145− tests/writer.haddock,
146− tests/writer.rst,
147− tests/writer.rtf,
148− tests/writer.texinfo,
149− tests/writer.fb2,
150− tests/writer.opml,
151− tests/lhs-test.markdown,
152− tests/lhs-test.markdown+lhs,
153− tests/lhs-test.rst,
154− tests/lhs-test.rst+lhs,
155− tests/lhs-test.latex,
156− tests/lhs-test.latex+lhs,
157− tests/lhs-test.html,
158− tests/lhs-test.html+lhs,
159− tests/lhs-test.fragment.html+lhs,
160− tests/pipe-tables.txt,
161− tests/*.epub
162− tests/fb2.basic.markdown,
163− tests/fb2.basic.fb2,
164− tests/fb2.titles.markdown,
165− tests/fb2.titles.fb2,
166− tests/fb2.images.markdown,
167− tests/fb2.images.fb2,
168− tests/fb2.images-embedded.html,
169− tests/fb2.images-embedded.fb2,
170− tests/fb2.math.markdown,
171− tests/fb2.math.fb2,
172− tests/fb2.test-small.png,
173− tests/fb2.test.jpg,
174− tests/docx.already_auto_ident.docx,
175− tests/docx.block_quotes.docx,
176− tests/docx.codeblock.docx,
177− tests/docx.deep_normalize.docx,
178− tests/docx.definition_list.docx,
179− tests/docx.drop_cap.docx,
180− tests/docx.hanging_indent.docx,
181− tests/docx.headers.docx,
182− tests/docx.image.docx,
183− tests/docx.inline_images.docx,
184− tests/docx.inline_code.docx,
185− tests/docx.inline_formatting.docx,
186− tests/docx.links.docx,
187− tests/docx.lists.docx,
188− tests/docx.metadata.docx,
189− tests/docx.metadata_after_normal.docx,
190− tests/docx.normalize.docx,
191− tests/docx.notes.docx,
192− tests/docx.tables.docx,
193− tests/docx.tabs.docx,
194− tests/docx.track_changes_deletion.docx,
195− tests/docx.track_changes_insertion.docx,
196− tests/docx.trailing_spaces_in_formatting.docx,
197− tests/docx.unicode.docx,
198− tests/*.native,
98+ tests/html-reader.html
99+ tests/opml-reader.opml
100+ tests/haddock-reader.haddock
101+ tests/insert
102+ tests/lalune.jpg
103+ tests/movie.jpg
104+ tests/latex-reader.latex
105+ tests/textile-reader.textile
106+ tests/markdown-reader-more.txt
107+ tests/markdown-citations.txt
108+ tests/textile-reader.textile
109+ tests/mediawiki-reader.wiki
110+ tests/rst-reader.rst
111+ tests/s5-basic.html
112+ tests/s5-fancy.html
113+ tests/s5-fragment.html
114+ tests/s5-inserts.html
115+ tests/tables.context
116+ tests/tables.docbook
117+ tests/tables.html
118+ tests/tables.latex
119+ tests/tables.man
120+ tests/tables.plain
121+ tests/tables.markdown
122+ tests/tables.mediawiki
123+ tests/tables.textile
124+ tests/tables.opendocument
125+ tests/tables.org
126+ tests/tables.asciidoc
127+ tests/tables.haddock
128+ tests/tables.texinfo
129+ tests/tables.rst
130+ tests/tables.rtf
131+ tests/tables.txt
132+ tests/tables.fb2
133+ tests/testsuite.txt
134+ tests/writer.latex
135+ tests/writer.context
136+ tests/writer.docbook
137+ tests/writer.html
138+ tests/writer.man
139+ tests/writer.markdown
140+ tests/writer.plain
141+ tests/writer.mediawiki
142+ tests/writer.textile
143+ tests/writer.opendocument
144+ tests/writer.org
145+ tests/writer.asciidoc
146+ tests/writer.haddock
147+ tests/writer.rst
148+ tests/writer.icml
149+ tests/writer.rtf
150+ tests/writer.texinfo
151+ tests/writer.fb2
152+ tests/writer.opml
153+ tests/writer.dokuwiki
154+ tests/dokuwiki_inline_formatting.dokuwiki
155+ tests/lhs-test.markdown
156+ tests/lhs-test.markdown+lhs
157+ tests/lhs-test.rst
158+ tests/lhs-test.rst+lhs
159+ tests/lhs-test.latex
160+ tests/lhs-test.latex+lhs
161+ tests/lhs-test.html
162+ tests/lhs-test.html+lhs
163+ tests/lhs-test.fragment.html+lhs
164+ tests/pipe-tables.txt
165+ tests/fb2/*.markdown
166+ tests/fb2/*.fb2
167+ tests/fb2/images-embedded.html
168+ tests/fb2/images-embedded.fb2
169+ tests/fb2/test-small.png
170+ tests/fb2/test.jpg
171+ tests/docx/*.docx
172+ tests/docx/*.native
173+ tests/epub/*.epub
174+ tests/epub/*.native
199175 tests/txt2tags.t2t
200−Extra-Tmp-Files: man/man1/pandoc.1,
176+Extra-Tmp-Files: man/man1/pandoc.1
201177 man/man5/pandoc_markdown.5
202178
203179Source-repository head
tests/Tests/Old.hs+11−13
@@ -111,12 +111,12 @@ tests = [ testGroup "markdown"
111111 "testsuite.native" "testsuite.native"
112112 ]
113113 , testGroup "fb2"
114− [ fb2WriterTest "basic" [] "fb2.basic.markdown" "fb2.basic.fb2"
115− , fb2WriterTest "titles" [] "fb2.titles.markdown" "fb2.titles.fb2"
116− , fb2WriterTest "images" [] "fb2.images.markdown" "fb2.images.fb2"
117− , fb2WriterTest "images-embedded" [] "fb2.images-embedded.html" "fb2.images-embedded.fb2"
114+ [ fb2WriterTest "basic" [] "fb2/basic.markdown" "fb2/basic.fb2"
115+ , fb2WriterTest "titles" [] "fb2/titles.markdown" "fb2/titles.fb2"
116+ , fb2WriterTest "images" [] "fb2/images.markdown" "fb2/images.fb2"
117+ , fb2WriterTest "images-embedded" [] "fb2/images-embedded.html" "fb2/images-embedded.fb2"
118+ , fb2WriterTest "math" [] "fb2/math.markdown" "fb2/math.fb2"
118119 , fb2WriterTest "tables" [] "tables.native" "tables.fb2"
119− , fb2WriterTest "math" [] "fb2.math.markdown" "fb2.math.fb2"
120120 , fb2WriterTest "testsuite" [] "testsuite.native" "writer.fb2"
121121 ]
122122 , testGroup "mediawiki"
@@ -126,10 +126,8 @@ tests = [ testGroup "markdown"
126126 ]
127127 , testGroup "dokuwiki"
128128 [ testGroup "writer" $ writerTests "dokuwiki"
129− , test "writer-more" ["-r", "native", "-w", "dokuwiki", "-s"]
130− "dokuwiki-writer.native" "dokuwiki-writer.dokuwiki"
131− , test "writer-inline_formatting" ["-r", "native", "-w", "dokuwiki", "-s"]
132− "dokuwiki.inline_formatting.native" "dokuwiki.inline_formatting.dokuwiki"
129+ , test "inline_formatting" ["-r", "native", "-w", "dokuwiki", "-s"]
130+ "dokuwiki_inline_formatting.native" "dokuwiki_inline_formatting.dokuwiki"
133131 ]
134132 , testGroup "opml"
135133 [ test "basic" ["-r", "native", "-w", "opml", "--columns=78", "-s"]
@@ -147,11 +145,11 @@ tests = [ testGroup "markdown"
147145 "txt2tags.t2t" "txt2tags.native" ]
148146 , testGroup "epub" [
149147 test "features" ["-r", "epub", "-w", "native"]
150− "epub.features.epub" "epub.features.native"
148+ "epub/features.epub" "epub/features.native"
151149 , test "wasteland" ["-r", "epub", "-w", "native"]
152− "epub.wasteland.epub" "epub.wasteland.native"
150+ "epub/wasteland.epub" "epub/wasteland.native"
153151 , test "formatting" ["-r", "epub", "-w", "native"]
154− "epub.formatting.epub" "epub.formatting.native"
152+ "epub/formatting.epub" "epub/formatting.native"
155153 ]
156154 , testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
157155 [ "opendocument" , "context" , "texinfo", "icml"
@@ -194,7 +192,7 @@ s5WriterTest :: String -> [String] -> String -> Test
194192s5WriterTest modifier opts format
195193 = test (format ++ " writer (" ++ modifier ++ ")")
196194 (["-r", "native", "-w", format] ++ opts)
197− "s5.native" ("s5." ++ modifier <.> "html")
195+ "s5.native" ("s5-" ++ modifier <.> "html")
198196
199197fb2WriterTest :: String -> [String] -> String -> String -> Test
200198fb2WriterTest title opts inputfile normfile =
tests/Tests/Readers/Docx.hs+61−61
@@ -100,135 +100,135 @@ tests :: [Test]
100100tests = [ testGroup "inlines"
101101 [ testCompare
102102 "font formatting"
103− "docx.inline_formatting.docx"
104− "docx.inline_formatting.native"
103+ "docx/inline_formatting.docx"
104+ "docx/inline_formatting.native"
105105 , testCompare
106106 "hyperlinks"
107− "docx.links.docx"
108− "docx.links.native"
107+ "docx/links.docx"
108+ "docx/links.native"
109109 , testCompare
110110 "inline image"
111− "docx.image.docx"
112− "docx.image_no_embed.native"
111+ "docx/image.docx"
112+ "docx/image_no_embed.native"
113113 , testCompare
114114 "inline image in links"
115− "docx.inline_images.docx"
116− "docx.inline_images.native"
115+ "docx/inline_images.docx"
116+ "docx/inline_images.native"
117117 , testCompare
118118 "handling unicode input"
119− "docx.unicode.docx"
120− "docx.unicode.native"
119+ "docx/unicode.docx"
120+ "docx/unicode.native"
121121 , testCompare
122122 "literal tabs"
123− "docx.tabs.docx"
124− "docx.tabs.native"
123+ "docx/tabs.docx"
124+ "docx/tabs.native"
125125 , testCompare
126126 "normalizing inlines"
127− "docx.normalize.docx"
128− "docx.normalize.native"
127+ "docx/normalize.docx"
128+ "docx/normalize.native"
129129 , testCompare
130130 "normalizing inlines deep inside blocks"
131− "docx.deep_normalize.docx"
132− "docx.deep_normalize.native"
131+ "docx/deep_normalize.docx"
132+ "docx/deep_normalize.native"
133133 , testCompare
134134 "move trailing spaces outside of formatting"
135− "docx.trailing_spaces_in_formatting.docx"
136− "docx.trailing_spaces_in_formatting.native"
135+ "docx/trailing_spaces_in_formatting.docx"
136+ "docx/trailing_spaces_in_formatting.native"
137137 , testCompare
138138 "inline code (with VerbatimChar style)"
139− "docx.inline_code.docx"
140− "docx.inline_code.native"
139+ "docx/inline_code.docx"
140+ "docx/inline_code.native"
141141 ]
142142 , testGroup "blocks"
143143 [ testCompare
144144 "headers"
145− "docx.headers.docx"
146− "docx.headers.native"
145+ "docx/headers.docx"
146+ "docx/headers.native"
147147 , testCompare
148148 "headers already having auto identifiers"
149− "docx.already_auto_ident.docx"
150− "docx.already_auto_ident.native"
149+ "docx/already_auto_ident.docx"
150+ "docx/already_auto_ident.native"
151151 , testCompare
152152 "lists"
153− "docx.lists.docx"
154− "docx.lists.native"
153+ "docx/lists.docx"
154+ "docx/lists.native"
155155 , testCompare
156156 "definition lists"
157− "docx.definition_list.docx"
158− "docx.definition_list.native"
157+ "docx/definition_list.docx"
158+ "docx/definition_list.native"
159159 , testCompare
160160 "footnotes and endnotes"
161− "docx.notes.docx"
162− "docx.notes.native"
161+ "docx/notes.docx"
162+ "docx/notes.native"
163163 , testCompare
164164 "blockquotes (parsing indent as blockquote)"
165− "docx.block_quotes.docx"
166− "docx.block_quotes_parse_indent.native"
165+ "docx/block_quotes.docx"
166+ "docx/block_quotes_parse_indent.native"
167167 , testCompare
168168 "hanging indents"
169− "docx.hanging_indent.docx"
170− "docx.hanging_indent.native"
169+ "docx/hanging_indent.docx"
170+ "docx/hanging_indent.native"
171171 , testCompare
172172 "tables"
173− "docx.tables.docx"
174− "docx.tables.native"
173+ "docx/tables.docx"
174+ "docx/tables.native"
175175 , testCompare
176176 "code block"
177− "docx.codeblock.docx"
178− "docx.codeblock.native"
177+ "docx/codeblock.docx"
178+ "docx/codeblock.native"
179179 , testCompare
180180 "dropcap paragraphs"
181− "docx.drop_cap.docx"
182− "docx.drop_cap.native"
181+ "docx/drop_cap.docx"
182+ "docx/drop_cap.native"
183183 ]
184184 , testGroup "track changes"
185185 [ testCompare
186186 "insertion (default)"
187− "docx.track_changes_insertion.docx"
188− "docx.track_changes_insertion_accept.native"
187+ "docx/track_changes_insertion.docx"
188+ "docx/track_changes_insertion_accept.native"
189189 , testCompareWithOpts def{readerTrackChanges=AcceptChanges}
190190 "insert insertion (accept)"
191− "docx.track_changes_insertion.docx"
192− "docx.track_changes_insertion_accept.native"
191+ "docx/track_changes_insertion.docx"
192+ "docx/track_changes_insertion_accept.native"
193193 , testCompareWithOpts def{readerTrackChanges=RejectChanges}
194194 "remove insertion (reject)"
195− "docx.track_changes_insertion.docx"
196− "docx.track_changes_insertion_reject.native"
195+ "docx/track_changes_insertion.docx"
196+ "docx/track_changes_insertion_reject.native"
197197 , testCompare
198198 "deletion (default)"
199− "docx.track_changes_deletion.docx"
200− "docx.track_changes_deletion_accept.native"
199+ "docx/track_changes_deletion.docx"
200+ "docx/track_changes_deletion_accept.native"
201201 , testCompareWithOpts def{readerTrackChanges=AcceptChanges}
202202 "remove deletion (accept)"
203− "docx.track_changes_deletion.docx"
204− "docx.track_changes_deletion_accept.native"
203+ "docx/track_changes_deletion.docx"
204+ "docx/track_changes_deletion_accept.native"
205205 , testCompareWithOpts def{readerTrackChanges=RejectChanges}
206206 "insert deletion (reject)"
207− "docx.track_changes_deletion.docx"
208− "docx.track_changes_deletion_reject.native"
207+ "docx/track_changes_deletion.docx"
208+ "docx/track_changes_deletion_reject.native"
209209 , testCompareWithOpts def{readerTrackChanges=AllChanges}
210210 "keep insertion (all)"
211− "docx.track_changes_deletion.docx"
212− "docx.track_changes_deletion_all.native"
211+ "docx/track_changes_deletion.docx"
212+ "docx/track_changes_deletion_all.native"
213213 , testCompareWithOpts def{readerTrackChanges=AllChanges}
214214 "keep deletion (all)"
215− "docx.track_changes_deletion.docx"
216− "docx.track_changes_deletion_all.native"
215+ "docx/track_changes_deletion.docx"
216+ "docx/track_changes_deletion_all.native"
217217 ]
218218 , testGroup "media"
219219 [ testMediaBag
220220 "image extraction"
221− "docx.image.docx"
221+ "docx/image.docx"
222222 ]
223223 , testGroup "metadata"
224224 [ testCompareWithOpts def{readerStandalone=True}
225225 "metadata fields"
226− "docx.metadata.docx"
227− "docx.metadata.native"
226+ "docx/metadata.docx"
227+ "docx/metadata.native"
228228 , testCompareWithOpts def{readerStandalone=True}
229229 "stop recording metadata with normal text"
230− "docx.metadata_after_normal.docx"
231− "docx.metadata_after_normal.native"
230+ "docx/metadata_after_normal.docx"
231+ "docx/metadata_after_normal.native"
232232 ]
233233
234234 ]
tests/Tests/Readers/EPUB.hs+1−1
@@ -28,6 +28,6 @@ tests :: [Test]
2828tests =
2929 [ testGroup "EPUB Mediabag"
3030 [ testCase "features bag"
31− (testMediaBag "epub.features.epub" featuresBag)
31+ (testMediaBag "epub/features.epub" featuresBag)
3232 ]
3333 ]
tests/docx.already_auto_ident.docx → tests/docx/already_auto_ident.docxrenamed

Binary file not shown.

tests/docx.already_auto_ident.native → tests/docx/already_auto_ident.nativerenamed

The content is the same.

tests/docx.block_quotes.docx → tests/docx/block_quotes.docxrenamed

Binary file not shown.

tests/docx.block_quotes_parse_indent.native → tests/docx/block_quotes_parse_indent.nativerenamed

The content is the same.

tests/docx.codeblock.docx → tests/docx/codeblock.docxrenamed

Binary file not shown.

tests/docx.codeblock.native → tests/docx/codeblock.nativerenamed

The content is the same.

tests/docx.deep_normalize.docx → tests/docx/deep_normalize.docxrenamed

Binary file not shown.

tests/docx.deep_normalize.native → tests/docx/deep_normalize.nativerenamed

The content is the same.

tests/docx.definition_list.docx → tests/docx/definition_list.docxrenamed

Binary file not shown.

tests/docx.definition_list.native → tests/docx/definition_list.nativerenamed

The content is the same.

tests/docx.drop_cap.docx → tests/docx/drop_cap.docxrenamed

Binary file not shown.

tests/docx.drop_cap.native → tests/docx/drop_cap.nativerenamed

The content is the same.

tests/docx.hanging_indent.docx → tests/docx/hanging_indent.docxrenamed

Binary file not shown.

tests/docx.hanging_indent.native → tests/docx/hanging_indent.nativerenamed

The content is the same.

tests/docx.headers.docx → tests/docx/headers.docxrenamed

Binary file not shown.

tests/docx.headers.native → tests/docx/headers.nativerenamed

The content is the same.

tests/docx.image.docx → tests/docx/image.docxrenamed

Binary file not shown.

tests/docx.image_no_embed.native → tests/docx/image_no_embed.nativerenamed

The content is the same.

tests/docx.inline_code.docx → tests/docx/inline_code.docxrenamed

Binary file not shown.

tests/docx.inline_code.native → tests/docx/inline_code.nativerenamed

The content is the same.

tests/docx.inline_formatting.docx → tests/docx/inline_formatting.docxrenamed

Binary file not shown.

tests/docx.inline_formatting.native → tests/docx/inline_formatting.nativerenamed

The content is the same.

tests/docx.inline_images.docx → tests/docx/inline_images.docxrenamed

Binary file not shown.

tests/docx.inline_images.native → tests/docx/inline_images.nativerenamed

The content is the same.

tests/docx.links.docx → tests/docx/links.docxrenamed

Binary file not shown.

tests/docx.links.native → tests/docx/links.nativerenamed

The content is the same.

tests/docx.lists.docx → tests/docx/lists.docxrenamed

Binary file not shown.

tests/docx.lists.native → tests/docx/lists.nativerenamed

The content is the same.

tests/docx.metadata.docx → tests/docx/metadata.docxrenamed

Binary file not shown.

tests/docx.metadata.native → tests/docx/metadata.nativerenamed

The content is the same.

tests/docx.metadata_after_normal.docx → tests/docx/metadata_after_normal.docxrenamed

Binary file not shown.

tests/docx.metadata_after_normal.native → tests/docx/metadata_after_normal.nativerenamed

The content is the same.

tests/docx.normalize.docx → tests/docx/normalize.docxrenamed

Binary file not shown.

tests/docx.normalize.native → tests/docx/normalize.nativerenamed

The content is the same.

tests/docx.notes.docx → tests/docx/notes.docxrenamed

Binary file not shown.

tests/docx.notes.native → tests/docx/notes.nativerenamed

The content is the same.

tests/docx.tables.docx → tests/docx/tables.docxrenamed

Binary file not shown.

tests/docx.tables.native → tests/docx/tables.nativerenamed

The content is the same.

tests/docx.tabs.docx → tests/docx/tabs.docxrenamed

Binary file not shown.

tests/docx.tabs.native → tests/docx/tabs.nativerenamed

The content is the same.

tests/docx.track_changes_deletion.docx → tests/docx/track_changes_deletion.docxrenamed

Binary file not shown.

tests/docx.track_changes_deletion_accept.native → tests/docx/track_changes_deletion_accept.nativerenamed

The content is the same.

tests/docx.track_changes_deletion_all.native → tests/docx/track_changes_deletion_all.nativerenamed

The content is the same.

tests/docx.track_changes_deletion_reject.native → tests/docx/track_changes_deletion_reject.nativerenamed

The content is the same.

tests/docx.track_changes_insertion.docx → tests/docx/track_changes_insertion.docxrenamed

Binary file not shown.

tests/docx.track_changes_insertion_accept.native → tests/docx/track_changes_insertion_accept.nativerenamed

The content is the same.

tests/docx.track_changes_insertion_all.native → tests/docx/track_changes_insertion_all.nativerenamed

The content is the same.

tests/docx.track_changes_insertion_reject.native → tests/docx/track_changes_insertion_reject.nativerenamed

The content is the same.

tests/docx.trailing_spaces_in_formatting.docx → tests/docx/trailing_spaces_in_formatting.docxrenamed

Binary file not shown.

tests/docx.trailing_spaces_in_formatting.native → tests/docx/trailing_spaces_in_formatting.nativerenamed

The content is the same.

tests/docx.unicode.docx → tests/docx/unicode.docxrenamed

Binary file not shown.

tests/docx.unicode.native → tests/docx/unicode.nativerenamed

The content is the same.

tests/dokuwiki-writer.dokuwikideleted−3
@@ -1,3 +0,0 @@
1−hello %%//%% world %%**%% from %%__%% me
2−
3−''%%hello // world ** from __ me%%''
tests/dokuwiki-writer.nativedeleted−2
@@ -1,2 +0,0 @@
1−[Para [Str "hello",Space,Str "//",Space,Str "world",Space,Str "**",Space,Str "from",Space,Str "__",Space,Str "me"]
2−,Para [Code ("",[],[]) "hello // world ** from __ me"]]
tests/dokuwiki.inline_formatting.dokuwiki → tests/dokuwiki_inline_formatting.dokuwikirenamed+4
@@ -7,3 +7,7 @@ Some people use single underlines for //emphasis//.
77Above the line is <sup>superscript</sup> and below the line is <sub>subscript</sub>.
88
99A line\\ break.
10+
11+hello %%//%% world %%**%% from %%__%% me
12+
13+''%%hello // world ** from __ me%%''
tests/dokuwiki.inline_formatting.native → tests/dokuwiki_inline_formatting.nativerenamed+3−1
@@ -2,4 +2,6 @@
22,Para [Str "This",Space,Str "is",Space,SmallCaps [Str "Small",Space,Str "Caps"],Str ",",Space,Str "and",Space,Str "this",Space,Str "is",Space,Strikeout [Str "strikethrough"],Str "."]
33,Para [Str "Some",Space,Str "people",Space,Str "use",Space,Span ("",[],[("underline","single")]) [Str "single",Space,Str "underlines",Space,Str "for",Space,Emph [Str "emphasis"]],Str "."]
44,Para [Str "Above",Space,Str "the",Space,Str "line",Space,Str "is",Space,Superscript [Str "superscript"],Space,Str "and",Space,Str "below",Space,Str "the",Space,Str "line",Space,Str "is",Space,Subscript [Str "subscript"],Str "."]
5−,Para [Str "A",Space,Str "line",LineBreak,Str "break."]]
5+,Para [Str "A",Space,Str "line",LineBreak,Str "break."]
6+,Para [Str "hello",Space,Str "//",Space,Str "world",Space,Str "**",Space,Str "from",Space,Str "__",Space,Str "me"]
7+,Para [Code ("",[],[]) "hello // world ** from __ me"]]
tests/epub.features.epub → tests/epub/features.epubrenamed

Binary file not shown.

tests/epub.features.native → tests/epub/features.nativerenamed

The content is the same.

tests/epub.formatting.epub → tests/epub/formatting.epubrenamed

Binary file not shown.

tests/epub.formatting.native → tests/epub/formatting.nativerenamed

The content is the same.

tests/epub.wasteland.epub → tests/epub/wasteland.epubrenamed

Binary file not shown.

tests/epub.wasteland.native → tests/epub/wasteland.nativerenamed

The content is the same.

tests/fb2.basic.fb2 → tests/fb2/basic.fb2renamed

The content is the same.

tests/fb2.basic.markdown → tests/fb2/basic.markdownrenamed

The content is the same.

tests/fb2.images-embedded.fb2 → tests/fb2/images-embedded.fb2renamed

The content is the same.

tests/fb2.images-embedded.html → tests/fb2/images-embedded.htmlrenamed

The content is the same.

tests/fb2.images.fb2 → tests/fb2/images.fb2renamed

The content is the same.

tests/fb2.images.markdown → tests/fb2/images.markdownrenamed+2−2
@@ -4,10 +4,10 @@ Small inline image: ![alt text a small PNG image][inline-image].
44
55Paragraph image:
66
7−![alt text of a big JPEG image](fb2.test.jpg "image title text")
7+![alt text of a big JPEG image](fb2/test.jpg "image title text")
88
99![alt text of a big missing image](missing.jpg)
1010
1111A missing image inline: ![alt text of missing image](missing.jpg).
1212
13−[inline-image]: fb2.test-small.png
13+[inline-image]: fb2/test-small.png
tests/fb2.math.fb2 → tests/fb2/math.fb2renamed

The content is the same.

tests/fb2.math.markdown → tests/fb2/math.markdownrenamed

The content is the same.

tests/fb2.test-small.png → tests/fb2/test-small.pngrenamed

Binary file not shown.

tests/fb2.test.jpg → tests/fb2/test.jpgrenamed

Binary file not shown.

tests/fb2.titles.fb2 → tests/fb2/titles.fb2renamed

The content is the same.

tests/fb2.titles.markdown → tests/fb2/titles.markdownrenamed

The content is the same.

tests/s5.basic.html → tests/s5-basic.htmlrenamed

The content is the same.

tests/s5.fancy.html → tests/s5-fancy.htmlrenamed

The content is the same.

tests/s5.fragment.html → tests/s5-fragment.htmlrenamed

The content is the same.

tests/s5.inserts.html → tests/s5-inserts.htmlrenamed

The content is the same.