git.iko.soy/typeable/pandoc
on master help sign in
Revised tests directory.
40e67b8John MacFarlane
pandoc.cabal+117−141
@@ -40,44 +40,44 @@ Description: Pandoc is a Haskell library for converting from one markup
40 only adding a reader or writer.
40 only adding a reader or writer.
41Data-Files:
41Data-Files:
42 -- templates
42 -- templates
43− data/templates/default.html,
43+ data/templates/default.html
44− data/templates/default.html5,
44+ data/templates/default.html5
45− data/templates/default.docbook,
45+ data/templates/default.docbook
46− data/templates/default.beamer,
46+ data/templates/default.beamer
47− data/templates/default.opendocument,
47+ data/templates/default.opendocument
48− data/templates/default.icml,
48+ data/templates/default.icml
49− data/templates/default.opml,
49+ data/templates/default.opml
50− data/templates/default.latex,
50+ data/templates/default.latex
51− data/templates/default.context,
51+ data/templates/default.context
52− data/templates/default.texinfo,
52+ data/templates/default.texinfo
53− data/templates/default.man,
53+ data/templates/default.man
54− data/templates/default.markdown,
54+ data/templates/default.markdown
55− data/templates/default.rst,
55+ data/templates/default.rst
56− data/templates/default.plain,
56+ data/templates/default.plain
57− data/templates/default.mediawiki,
57+ data/templates/default.mediawiki
58− data/templates/default.rtf,
58+ data/templates/default.rtf
59− data/templates/default.s5,
59+ data/templates/default.s5
60− data/templates/default.slidy,
60+ data/templates/default.slidy
61− data/templates/default.slideous,
61+ data/templates/default.slideous
62− data/templates/default.revealjs,
62+ data/templates/default.revealjs
63− data/templates/default.dzslides,
63+ data/templates/default.dzslides
64− data/templates/default.asciidoc,
64+ data/templates/default.asciidoc
65− data/templates/default.haddock,
65+ data/templates/default.haddock
66− data/templates/default.textile,
66+ data/templates/default.textile
67− data/templates/default.org,
67+ data/templates/default.org
68− data/templates/default.epub,
68+ data/templates/default.epub
69− data/templates/default.epub3,
69+ data/templates/default.epub3
70 -- data for ODT writer
70 -- data for ODT writer
71− data/reference.odt,
71+ data/reference.odt
72 -- data for docx writer
72 -- data for docx writer
73− data/reference.docx,
73+ data/reference.docx
74 -- stylesheet for EPUB writer
74 -- stylesheet for EPUB writer
75− data/epub.css,
75+ data/epub.css
76 -- data for LaTeXMathML writer
76 -- data for LaTeXMathML writer
77− data/LaTeXMathML.js,
77+ data/LaTeXMathML.js
78− data/MathMLinHTML.js,
78+ data/MathMLinHTML.js
79 -- data for dzslides writer
79 -- data for dzslides writer
80− data/dzslides/template.html,
80+ data/dzslides/template.html
81 -- sample lua custom writer
81 -- sample lua custom writer
82 data/sample.lua
82 data/sample.lua
83 -- documentation
83 -- documentation
@@ -86,118 +86,94 @@ Extra-Source-Files:
86 -- documentation
86 -- documentation
87 INSTALL, BUGS, CONTRIBUTING.md, changelog
87 INSTALL, BUGS, CONTRIBUTING.md, changelog
88 -- code to create pandoc.1 man page
88 -- code to create pandoc.1 man page
89− man/man1/pandoc.1.template,
89+ man/man1/pandoc.1.template
90− man/man5/pandoc_markdown.5.template,
90+ man/man5/pandoc_markdown.5.template
91 -- generated man pages (produced post-build)
91 -- generated man pages (produced post-build)
92− man/man1/pandoc.1,
92+ man/man1/pandoc.1
93− man/man5/pandoc_markdown.5,
93+ man/man5/pandoc_markdown.5
94 -- tests
94 -- tests
95− tests/bodybg.gif,
95+ tests/bodybg.gif
96+ tests/*.native
96 tests/docbook-reader.docbook
97 tests/docbook-reader.docbook
97− tests/html-reader.html,
98+ tests/html-reader.html
98− tests/opml-reader.opml,
99+ tests/opml-reader.opml
99− tests/haddock-reader.haddock,
100+ tests/haddock-reader.haddock
100− tests/insert,
101+ tests/insert
101− tests/lalune.jpg,
102+ tests/lalune.jpg
102− tests/movie.jpg,
103+ tests/movie.jpg
103− tests/latex-reader.latex,
104+ tests/latex-reader.latex
104− tests/textile-reader.textile,
105+ tests/textile-reader.textile
105− tests/markdown-reader-more.txt,
106+ tests/markdown-reader-more.txt
106− tests/markdown-citations.txt,
107+ tests/markdown-citations.txt
107− tests/textile-reader.textile,
108+ tests/textile-reader.textile
108− tests/mediawiki-reader.wiki,
109+ tests/mediawiki-reader.wiki
109− tests/rst-reader.rst,
110+ tests/rst-reader.rst
110− tests/s5.basic.html,
111+ tests/s5-basic.html
111− tests/s5.fancy.html,
112+ tests/s5-fancy.html
112− tests/s5.fragment.html,
113+ tests/s5-fragment.html
113− tests/s5.inserts.html,
114+ tests/s5-inserts.html
114− tests/tables.context,
115+ tests/tables.context
115− tests/tables.docbook,
116+ tests/tables.docbook
116− tests/tables.html,
117+ tests/tables.html
117− tests/tables.latex,
118+ tests/tables.latex
118− tests/tables.man,
119+ tests/tables.man
119− tests/tables.plain,
120+ tests/tables.plain
120− tests/tables.markdown,
121+ tests/tables.markdown
121− tests/tables.mediawiki,
122+ tests/tables.mediawiki
122− tests/tables.textile,
123+ tests/tables.textile
123− tests/tables.opendocument,
124+ tests/tables.opendocument
124− tests/tables.org,
125+ tests/tables.org
125− tests/tables.asciidoc,
126+ tests/tables.asciidoc
126− tests/tables.haddock,
127+ tests/tables.haddock
127− tests/tables.texinfo,
128+ tests/tables.texinfo
128− tests/tables.rst,
129+ tests/tables.rst
129− tests/tables.rtf,
130+ tests/tables.rtf
130− tests/tables.txt,
131+ tests/tables.txt
131− tests/tables.fb2,
132+ tests/tables.fb2
132− tests/testsuite.txt,
133+ tests/testsuite.txt
133− tests/writer.latex,
134+ tests/writer.latex
134− tests/writer.context,
135+ tests/writer.context
135− tests/writer.docbook,
136+ tests/writer.docbook
136− tests/writer.html,
137+ tests/writer.html
137− tests/writer.man,
138+ tests/writer.man
138− tests/writer.markdown,
139+ tests/writer.markdown
139− tests/writer.plain,
140+ tests/writer.plain
140− tests/writer.mediawiki,
141+ tests/writer.mediawiki
141− tests/writer.textile,
142+ tests/writer.textile
142− tests/writer.opendocument,
143+ tests/writer.opendocument
143− tests/writer.org,
144+ tests/writer.org
144− tests/writer.asciidoc,
145+ tests/writer.asciidoc
145− tests/writer.haddock,
146+ tests/writer.haddock
146− tests/writer.rst,
147+ tests/writer.rst
147− tests/writer.rtf,
148+ tests/writer.icml
149+ tests/writer.rtf
148− tests/writer.texinfo,
150+ tests/writer.texinfo
149− tests/writer.fb2,
151+ tests/writer.fb2
150− tests/writer.opml,
152+ tests/writer.opml
153+ tests/writer.dokuwiki
154+ tests/dokuwiki_inline_formatting.dokuwiki
151− tests/lhs-test.markdown,
155+ tests/lhs-test.markdown
152− tests/lhs-test.markdown+lhs,
156+ tests/lhs-test.markdown+lhs
153− tests/lhs-test.rst,
157+ tests/lhs-test.rst
154− tests/lhs-test.rst+lhs,
158+ tests/lhs-test.rst+lhs
155− tests/lhs-test.latex,
159+ tests/lhs-test.latex
156− tests/lhs-test.latex+lhs,
160+ tests/lhs-test.latex+lhs
157− tests/lhs-test.html,
161+ tests/lhs-test.html
158− tests/lhs-test.html+lhs,
162+ tests/lhs-test.html+lhs
159− tests/lhs-test.fragment.html+lhs,
163+ tests/lhs-test.fragment.html+lhs
160− tests/pipe-tables.txt,
164+ tests/pipe-tables.txt
161− tests/*.epub
162− tests/fb2.basic.markdown,
165+ tests/fb2/*.markdown
163− tests/fb2.basic.fb2,
166+ tests/fb2/*.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,
167+ tests/fb2/images-embedded.html
169− tests/fb2.images-embedded.fb2,
168+ tests/fb2/images-embedded.fb2
170− tests/fb2.math.markdown,
171− tests/fb2.math.fb2,
172− tests/fb2.test-small.png,
169+ tests/fb2/test-small.png
173− tests/fb2.test.jpg,
170+ tests/fb2/test.jpg
174− tests/docx.already_auto_ident.docx,
175− tests/docx.block_quotes.docx,
176− tests/docx.codeblock.docx,
171+ tests/docx/*.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,
172+ tests/docx/*.native
188− tests/docx.metadata.docx,
173+ tests/epub/*.epub
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,
174+ tests/epub/*.native
199 tests/txt2tags.t2t
175 tests/txt2tags.t2t
200−Extra-Tmp-Files: man/man1/pandoc.1,
176+Extra-Tmp-Files: man/man1/pandoc.1
201 man/man5/pandoc_markdown.5
177 man/man5/pandoc_markdown.5
202
178
203Source-repository head
179Source-repository head
tests/Tests/Old.hs+11−13
@@ -111,12 +111,12 @@ tests = [ testGroup "markdown"
111 "testsuite.native" "testsuite.native"
111 "testsuite.native" "testsuite.native"
112 ]
112 ]
113 , testGroup "fb2"
113 , testGroup "fb2"
114− [ fb2WriterTest "basic" [] "fb2.basic.markdown" "fb2.basic.fb2"
114+ [ fb2WriterTest "basic" [] "fb2/basic.markdown" "fb2/basic.fb2"
115− , fb2WriterTest "titles" [] "fb2.titles.markdown" "fb2.titles.fb2"
115+ , fb2WriterTest "titles" [] "fb2/titles.markdown" "fb2/titles.fb2"
116− , fb2WriterTest "images" [] "fb2.images.markdown" "fb2.images.fb2"
116+ , fb2WriterTest "images" [] "fb2/images.markdown" "fb2/images.fb2"
117− , fb2WriterTest "images-embedded" [] "fb2.images-embedded.html" "fb2.images-embedded.fb2"
117+ , fb2WriterTest "images-embedded" [] "fb2/images-embedded.html" "fb2/images-embedded.fb2"
118+ , fb2WriterTest "math" [] "fb2/math.markdown" "fb2/math.fb2"
118 , fb2WriterTest "tables" [] "tables.native" "tables.fb2"
119 , fb2WriterTest "tables" [] "tables.native" "tables.fb2"
119− , fb2WriterTest "math" [] "fb2.math.markdown" "fb2.math.fb2"
120 , fb2WriterTest "testsuite" [] "testsuite.native" "writer.fb2"
120 , fb2WriterTest "testsuite" [] "testsuite.native" "writer.fb2"
121 ]
121 ]
122 , testGroup "mediawiki"
122 , testGroup "mediawiki"
@@ -126,10 +126,8 @@ tests = [ testGroup "markdown"
126 ]
126 ]
127 , testGroup "dokuwiki"
127 , testGroup "dokuwiki"
128 [ testGroup "writer" $ writerTests "dokuwiki"
128 [ 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"]
129+ , test "inline_formatting" ["-r", "native", "-w", "dokuwiki", "-s"]
132− "dokuwiki.inline_formatting.native" "dokuwiki.inline_formatting.dokuwiki"
130+ "dokuwiki_inline_formatting.native" "dokuwiki_inline_formatting.dokuwiki"
133 ]
131 ]
134 , testGroup "opml"
132 , testGroup "opml"
135 [ test "basic" ["-r", "native", "-w", "opml", "--columns=78", "-s"]
133 [ test "basic" ["-r", "native", "-w", "opml", "--columns=78", "-s"]
@@ -147,11 +145,11 @@ tests = [ testGroup "markdown"
147 "txt2tags.t2t" "txt2tags.native" ]
145 "txt2tags.t2t" "txt2tags.native" ]
148 , testGroup "epub" [
146 , testGroup "epub" [
149 test "features" ["-r", "epub", "-w", "native"]
147 test "features" ["-r", "epub", "-w", "native"]
150− "epub.features.epub" "epub.features.native"
148+ "epub/features.epub" "epub/features.native"
151 , test "wasteland" ["-r", "epub", "-w", "native"]
149 , test "wasteland" ["-r", "epub", "-w", "native"]
152− "epub.wasteland.epub" "epub.wasteland.native"
150+ "epub/wasteland.epub" "epub/wasteland.native"
153 , test "formatting" ["-r", "epub", "-w", "native"]
151 , test "formatting" ["-r", "epub", "-w", "native"]
154− "epub.formatting.epub" "epub.formatting.native"
152+ "epub/formatting.epub" "epub/formatting.native"
155 ]
153 ]
156 , testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
154 , testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
157 [ "opendocument" , "context" , "texinfo", "icml"
155 [ "opendocument" , "context" , "texinfo", "icml"
@@ -194,7 +192,7 @@ s5WriterTest :: String -> [String] -> String -> Test
194s5WriterTest modifier opts format
192s5WriterTest modifier opts format
195 = test (format ++ " writer (" ++ modifier ++ ")")
193 = test (format ++ " writer (" ++ modifier ++ ")")
196 (["-r", "native", "-w", format] ++ opts)
194 (["-r", "native", "-w", format] ++ opts)
197− "s5.native" ("s5." ++ modifier <.> "html")
195+ "s5.native" ("s5-" ++ modifier <.> "html")
198
196
199fb2WriterTest :: String -> [String] -> String -> String -> Test
197fb2WriterTest :: String -> [String] -> String -> String -> Test
200fb2WriterTest title opts inputfile normfile =
198fb2WriterTest title opts inputfile normfile =
tests/Tests/Readers/Docx.hs+61−61
@@ -100,135 +100,135 @@ tests :: [Test]
100tests = [ testGroup "inlines"
100tests = [ testGroup "inlines"
101 [ testCompare
101 [ testCompare
102 "font formatting"
102 "font formatting"
103− "docx.inline_formatting.docx"
103+ "docx/inline_formatting.docx"
104− "docx.inline_formatting.native"
104+ "docx/inline_formatting.native"
105 , testCompare
105 , testCompare
106 "hyperlinks"
106 "hyperlinks"
107− "docx.links.docx"
107+ "docx/links.docx"
108− "docx.links.native"
108+ "docx/links.native"
109 , testCompare
109 , testCompare
110 "inline image"
110 "inline image"
111− "docx.image.docx"
111+ "docx/image.docx"
112− "docx.image_no_embed.native"
112+ "docx/image_no_embed.native"
113 , testCompare
113 , testCompare
114 "inline image in links"
114 "inline image in links"
115− "docx.inline_images.docx"
115+ "docx/inline_images.docx"
116− "docx.inline_images.native"
116+ "docx/inline_images.native"
117 , testCompare
117 , testCompare
118 "handling unicode input"
118 "handling unicode input"
119− "docx.unicode.docx"
119+ "docx/unicode.docx"
120− "docx.unicode.native"
120+ "docx/unicode.native"
121 , testCompare
121 , testCompare
122 "literal tabs"
122 "literal tabs"
123− "docx.tabs.docx"
123+ "docx/tabs.docx"
124− "docx.tabs.native"
124+ "docx/tabs.native"
125 , testCompare
125 , testCompare
126 "normalizing inlines"
126 "normalizing inlines"
127− "docx.normalize.docx"
127+ "docx/normalize.docx"
128− "docx.normalize.native"
128+ "docx/normalize.native"
129 , testCompare
129 , testCompare
130 "normalizing inlines deep inside blocks"
130 "normalizing inlines deep inside blocks"
131− "docx.deep_normalize.docx"
131+ "docx/deep_normalize.docx"
132− "docx.deep_normalize.native"
132+ "docx/deep_normalize.native"
133 , testCompare
133 , testCompare
134 "move trailing spaces outside of formatting"
134 "move trailing spaces outside of formatting"
135− "docx.trailing_spaces_in_formatting.docx"
135+ "docx/trailing_spaces_in_formatting.docx"
136− "docx.trailing_spaces_in_formatting.native"
136+ "docx/trailing_spaces_in_formatting.native"
137 , testCompare
137 , testCompare
138 "inline code (with VerbatimChar style)"
138 "inline code (with VerbatimChar style)"
139− "docx.inline_code.docx"
139+ "docx/inline_code.docx"
140− "docx.inline_code.native"
140+ "docx/inline_code.native"
141 ]
141 ]
142 , testGroup "blocks"
142 , testGroup "blocks"
143 [ testCompare
143 [ testCompare
144 "headers"
144 "headers"
145− "docx.headers.docx"
145+ "docx/headers.docx"
146− "docx.headers.native"
146+ "docx/headers.native"
147 , testCompare
147 , testCompare
148 "headers already having auto identifiers"
148 "headers already having auto identifiers"
149− "docx.already_auto_ident.docx"
149+ "docx/already_auto_ident.docx"
150− "docx.already_auto_ident.native"
150+ "docx/already_auto_ident.native"
151 , testCompare
151 , testCompare
152 "lists"
152 "lists"
153− "docx.lists.docx"
153+ "docx/lists.docx"
154− "docx.lists.native"
154+ "docx/lists.native"
155 , testCompare
155 , testCompare
156 "definition lists"
156 "definition lists"
157− "docx.definition_list.docx"
157+ "docx/definition_list.docx"
158− "docx.definition_list.native"
158+ "docx/definition_list.native"
159 , testCompare
159 , testCompare
160 "footnotes and endnotes"
160 "footnotes and endnotes"
161− "docx.notes.docx"
161+ "docx/notes.docx"
162− "docx.notes.native"
162+ "docx/notes.native"
163 , testCompare
163 , testCompare
164 "blockquotes (parsing indent as blockquote)"
164 "blockquotes (parsing indent as blockquote)"
165− "docx.block_quotes.docx"
165+ "docx/block_quotes.docx"
166− "docx.block_quotes_parse_indent.native"
166+ "docx/block_quotes_parse_indent.native"
167 , testCompare
167 , testCompare
168 "hanging indents"
168 "hanging indents"
169− "docx.hanging_indent.docx"
169+ "docx/hanging_indent.docx"
170− "docx.hanging_indent.native"
170+ "docx/hanging_indent.native"
171 , testCompare
171 , testCompare
172 "tables"
172 "tables"
173− "docx.tables.docx"
173+ "docx/tables.docx"
174− "docx.tables.native"
174+ "docx/tables.native"
175 , testCompare
175 , testCompare
176 "code block"
176 "code block"
177− "docx.codeblock.docx"
177+ "docx/codeblock.docx"
178− "docx.codeblock.native"
178+ "docx/codeblock.native"
179 , testCompare
179 , testCompare
180 "dropcap paragraphs"
180 "dropcap paragraphs"
181− "docx.drop_cap.docx"
181+ "docx/drop_cap.docx"
182− "docx.drop_cap.native"
182+ "docx/drop_cap.native"
183 ]
183 ]
184 , testGroup "track changes"
184 , testGroup "track changes"
185 [ testCompare
185 [ testCompare
186 "insertion (default)"
186 "insertion (default)"
187− "docx.track_changes_insertion.docx"
187+ "docx/track_changes_insertion.docx"
188− "docx.track_changes_insertion_accept.native"
188+ "docx/track_changes_insertion_accept.native"
189 , testCompareWithOpts def{readerTrackChanges=AcceptChanges}
189 , testCompareWithOpts def{readerTrackChanges=AcceptChanges}
190 "insert insertion (accept)"
190 "insert insertion (accept)"
191− "docx.track_changes_insertion.docx"
191+ "docx/track_changes_insertion.docx"
192− "docx.track_changes_insertion_accept.native"
192+ "docx/track_changes_insertion_accept.native"
193 , testCompareWithOpts def{readerTrackChanges=RejectChanges}
193 , testCompareWithOpts def{readerTrackChanges=RejectChanges}
194 "remove insertion (reject)"
194 "remove insertion (reject)"
195− "docx.track_changes_insertion.docx"
195+ "docx/track_changes_insertion.docx"
196− "docx.track_changes_insertion_reject.native"
196+ "docx/track_changes_insertion_reject.native"
197 , testCompare
197 , testCompare
198 "deletion (default)"
198 "deletion (default)"
199− "docx.track_changes_deletion.docx"
199+ "docx/track_changes_deletion.docx"
200− "docx.track_changes_deletion_accept.native"
200+ "docx/track_changes_deletion_accept.native"
201 , testCompareWithOpts def{readerTrackChanges=AcceptChanges}
201 , testCompareWithOpts def{readerTrackChanges=AcceptChanges}
202 "remove deletion (accept)"
202 "remove deletion (accept)"
203− "docx.track_changes_deletion.docx"
203+ "docx/track_changes_deletion.docx"
204− "docx.track_changes_deletion_accept.native"
204+ "docx/track_changes_deletion_accept.native"
205 , testCompareWithOpts def{readerTrackChanges=RejectChanges}
205 , testCompareWithOpts def{readerTrackChanges=RejectChanges}
206 "insert deletion (reject)"
206 "insert deletion (reject)"
207− "docx.track_changes_deletion.docx"
207+ "docx/track_changes_deletion.docx"
208− "docx.track_changes_deletion_reject.native"
208+ "docx/track_changes_deletion_reject.native"
209 , testCompareWithOpts def{readerTrackChanges=AllChanges}
209 , testCompareWithOpts def{readerTrackChanges=AllChanges}
210 "keep insertion (all)"
210 "keep insertion (all)"
211− "docx.track_changes_deletion.docx"
211+ "docx/track_changes_deletion.docx"
212− "docx.track_changes_deletion_all.native"
212+ "docx/track_changes_deletion_all.native"
213 , testCompareWithOpts def{readerTrackChanges=AllChanges}
213 , testCompareWithOpts def{readerTrackChanges=AllChanges}
214 "keep deletion (all)"
214 "keep deletion (all)"
215− "docx.track_changes_deletion.docx"
215+ "docx/track_changes_deletion.docx"
216− "docx.track_changes_deletion_all.native"
216+ "docx/track_changes_deletion_all.native"
217 ]
217 ]
218 , testGroup "media"
218 , testGroup "media"
219 [ testMediaBag
219 [ testMediaBag
220 "image extraction"
220 "image extraction"
221− "docx.image.docx"
221+ "docx/image.docx"
222 ]
222 ]
223 , testGroup "metadata"
223 , testGroup "metadata"
224 [ testCompareWithOpts def{readerStandalone=True}
224 [ testCompareWithOpts def{readerStandalone=True}
225 "metadata fields"
225 "metadata fields"
226− "docx.metadata.docx"
226+ "docx/metadata.docx"
227− "docx.metadata.native"
227+ "docx/metadata.native"
228 , testCompareWithOpts def{readerStandalone=True}
228 , testCompareWithOpts def{readerStandalone=True}
229 "stop recording metadata with normal text"
229 "stop recording metadata with normal text"
230− "docx.metadata_after_normal.docx"
230+ "docx/metadata_after_normal.docx"
231− "docx.metadata_after_normal.native"
231+ "docx/metadata_after_normal.native"
232 ]
232 ]
233
233
234 ]
234 ]
tests/Tests/Readers/EPUB.hs+1−1
@@ -28,6 +28,6 @@ tests :: [Test]
28tests =
28tests =
29 [ testGroup "EPUB Mediabag"
29 [ testGroup "EPUB Mediabag"
30 [ testCase "features bag"
30 [ testCase "features bag"
31− (testMediaBag "epub.features.epub" featuresBag)
31+ (testMediaBag "epub/features.epub" featuresBag)
32 ]
32 ]
33 ]
33 ]
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//.
7Above the line is <sup>superscript</sup> and below the line is <sub>subscript</sub>.
7Above the line is <sup>superscript</sup> and below the line is <sub>subscript</sub>.
8
8
9A line\\ break.
9A 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 @@
2,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 "."]
2,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 "."]
3,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 "."]
3,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 "."]
4,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 "."]
4,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].
4
4
5Paragraph image:
5Paragraph image:
6
6
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")
8
8
9![alt text of a big missing image](missing.jpg)
9![alt text of a big missing image](missing.jpg)
10
10
11A missing image inline: ![alt text of missing image](missing.jpg).
11A missing image inline: ![alt text of missing image](missing.jpg).
12
12
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.