pandoc/test
Jesse Rosenthal 54526525bf Powerpoint writer tests: New test framework for pptx.
Previously we had tested certain properties of the output PowerPoint
slides. Corruption, though, comes as the result of a numebr of
interrelated issues in the output pptx archive. This is a new
approach, which compares the output of the Powerpoint writer with
files that we know to (a) not be corrupt, and (b) to show the desired
output behavior (details below). This commit introduces three tests
using the new framework. More will follow.

The test procedure: given a native file and a pptx file, we generate a
pptx archive from the native file, and then test:

1. Whether the same files are in the two archives

2. Whether each of the contained xml files is the same. (We skip time
   entries in `docProps/core.xml`, since these are derived from IO. We
   just check to make sure that they're there in the same way in both
   files.)

3. Whether each of the media files is the same.

Note that steps 2 and 3, though they compare multiple files, are one
test each, since the number of files depends on the input file (if
there is a failure, it will only report the first failed file
comparison in the test failure).
2018-01-21 12:15:35 -05:00
..
command Markdown reader: Fix parsing bug with nested fenced divs. 2018-01-20 14:44:08 -08:00
docx Docx reader: Add test for hyperlinks in instrText tag 2018-01-16 13:22:02 -05:00
epub Test case change for texmath 0.10. 2017-11-04 10:23:02 -07:00
fb2 FB2 writer: Add "unrecognised" genre to <title-info> 2017-11-01 13:31:16 +03:00
lua Lua modules: add function pandoc.utils.hierarchicalize 2017-12-23 23:29:24 +01:00
media Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
odt Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
pptx Powerpoint writer tests: New test framework for pptx. 2018-01-21 12:15:35 -05:00
Tests Powerpoint writer tests: New test framework for pptx. 2018-01-21 12:15:35 -05:00
bodybg.gif Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
creole-reader.native Creole reader (#4002) 2017-10-29 13:28:50 -04:00
creole-reader.txt Creole reader (#4002) 2017-10-29 13:28:50 -04:00
docbook-reader.docbook Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
docbook-reader.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
docbook-xref.docbook Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
docbook-xref.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dokuwiki_external_images.dokuwiki Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dokuwiki_external_images.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dokuwiki_inline_formatting.dokuwiki Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dokuwiki_inline_formatting.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dokuwiki_multiblock_table.dokuwiki Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dokuwiki_multiblock_table.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
haddock-reader.haddock Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
haddock-reader.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
html-reader.html Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
html-reader.native Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
insert Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
jats-reader.native JATS reader: process author metadata. 2017-12-23 10:03:13 -08:00
jats-reader.xml JATS reader: process author metadata. 2017-12-23 10:03:13 -08:00
lalune.jpg Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
latex-reader.latex Rewrote LaTeX reader with proper tokenization. 2017-07-07 12:36:00 +02:00
latex-reader.native Make sure \write18 is parsed as raw LaTeX. 2017-07-12 14:50:49 +02:00
lhs-test-markdown.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lhs-test.fragment.html+lhs Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lhs-test.html HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
lhs-test.html+lhs HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
lhs-test.latex Changes for skylighting-0.5. 2017-12-10 21:13:05 -08:00
lhs-test.latex+lhs Adjusted some tests for last commit. 2017-09-08 16:34:33 -07:00
lhs-test.markdown Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lhs-test.markdown+lhs Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lhs-test.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lhs-test.rst Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lhs-test.rst+lhs Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
markdown-citations.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
markdown-citations.txt Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
markdown-reader-more.native Markdown reader: don't coalesce adjacent raw LaTeX blocks... 2018-01-17 09:22:35 -08:00
markdown-reader-more.txt Markdown reader: use CommonMark rules for list item nesting. 2017-08-19 15:45:01 -07:00
mediawiki-reader.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
mediawiki-reader.wiki Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
movie.jpg Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
opml-reader.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
opml-reader.opml Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
pipe-tables.native Markdown: Improved computation of relative cell widths in pipe tables. 2017-12-12 15:36:29 -08:00
pipe-tables.txt Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
rst-reader.native RST reader: add aligned environment when needed in math. 2018-01-14 15:11:11 -08:00
rst-reader.rst Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
s5-basic.html HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
s5-fancy.html HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
s5-fragment.html Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
s5-inserts.html HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
s5.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables-rstsubset.native Combine grid table parsers 2017-05-11 00:17:56 +02:00
tables.asciidoc Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.context ConTeXt writer: Use xtables instead of Tables (#4223) 2018-01-15 18:38:33 -07:00
tables.custom Added tests for custom writer. 2017-12-27 09:15:45 -08:00
tables.docbook4 Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.docbook5 Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.dokuwiki Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.fb2 FB2 writer: Add "unrecognised" genre to <title-info> 2017-11-01 13:31:16 +03:00
tables.haddock Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.html4 Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.html5 Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.icml Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.jats JATS writer: Make <p> optional in <td> and <th> (#4178) 2017-12-21 22:30:22 -07:00
tables.latex LaTeX writer: Use \endhead after \toprule in headerless tables. 2017-12-28 08:53:54 -08:00
tables.man Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.markdown Markdown writer: fix cell width calculation. 2018-01-16 23:13:33 -08:00
tables.mediawiki Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.ms Ms writer: respect text wrapping options. 2017-04-05 15:17:35 +02:00
tables.muse Muse writer: Indent tables with one space (#3649) 2017-05-07 21:41:38 +02:00
tables.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.opendocument Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.org Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.plain Markdown writer: fix cell width calculation. 2018-01-16 23:13:33 -08:00
tables.rst Grid tables: remove unnecessary extra space in cells. 2017-03-23 14:59:51 +01:00
tables.rtf Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.tei Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.texinfo Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.textile Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.txt Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.zimwiki ZimWiki writer: removed internal formatting from note and table cells, because ZimWiki does not support it (#3446) 2017-02-15 11:28:02 +01:00
test-pandoc.hs PowerPoint writer: Introduce beginning of tests 2017-12-28 10:51:03 -05:00
testsuite.native Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
testsuite.txt Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
textile-reader.native Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
textile-reader.textile Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
tikiwiki-reader.native Added TikiWiki reader (#3800) 2017-07-21 10:09:54 +02:00
tikiwiki-reader.tikiwiki Added TikiWiki reader (#3800) 2017-07-21 10:09:54 +02:00
twiki-reader.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
twiki-reader.twiki Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
txt2tags.native Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
txt2tags.t2t Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
vimwiki-reader.native Fixed #3760. (#3784) 2017-07-12 17:19:49 +02:00
vimwiki-reader.wiki Fixed #3760. (#3784) 2017-07-12 17:19:49 +02:00
writer.asciidoc Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.context ConTeXt writer: Use xtables instead of Tables (#4223) 2018-01-15 18:38:33 -07:00
writer.custom Added tests for custom writer. 2017-12-27 09:15:45 -08:00
writer.docbook4 Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.docbook5 Small improvement to #3855 - move lang attribute up. 2017-08-21 21:16:55 -07:00
writer.dokuwiki Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.fb2 FB2 writer: Add "unrecognised" genre to <title-info> 2017-11-01 13:31:16 +03:00
writer.haddock Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.html4 HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
writer.html5 HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
writer.icml Allow em for image height/width in HTML, LaTeX. 2017-05-25 22:48:27 +02:00
writer.jats Deduplicate JATS writer image mime type code 2017-12-14 18:39:45 +13:00
writer.latex Write euro symbol directly in LaTeX 2017-09-08 22:26:32 +01:00
writer.man Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.markdown Markdown writer: better escaping of < and >. 2017-07-30 13:45:22 -07:00
writer.mediawiki Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.ms Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.muse Muse writer: support definitions with multiple descriptions 2018-01-19 15:00:00 +03:00
writer.native Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.opendocument improve formatting of formulas in OpenDocument 2017-12-28 22:10:04 +01:00
writer.opml Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.org Revert "Better indentation under headers in org mode output." 2017-11-04 11:32:47 -07:00
writer.plain Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.rst RST writer: don't backslash-escape word-internal punctuation. 2017-10-16 20:39:19 -07:00
writer.rtf Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.tei Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.texinfo Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.textile Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writer.zimwiki Added spaced_reference_links extension. 2017-05-25 12:57:31 +02:00
writers-lang-and-dir.context ConTeXt writer: Use xtables instead of Tables (#4223) 2018-01-15 18:38:33 -07:00
writers-lang-and-dir.latex Write euro symbol directly in LaTeX 2017-09-08 22:26:32 +01:00
writers-lang-and-dir.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00