diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-01-21 00:25:03 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-01-21 12:15:35 -0500 |
commit | 54526525bf2035b8517a8abf45def9c4aaa9444c (patch) | |
tree | a8c5fd6000e5c6d6deb756e7fb99783015e1d126 /test/latex-reader.native | |
parent | 3193bf6be74082f46e7d4267ad4382372c4dcb49 (diff) | |
download | pandoc-54526525bf2035b8517a8abf45def9c4aaa9444c.tar.gz |
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).
Diffstat (limited to 'test/latex-reader.native')
0 files changed, 0 insertions, 0 deletions