summaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/Docx.hs
Commit message (Collapse)AuthorAge
* Moved tests/ -> test/.John MacFarlane2017-02-04
|
* Added ReaderOptions parameter to readNative.John MacFarlane2017-01-25
| | | | | | This makes it similar to the other readers -- even though ReaderOptions is essentially ignored, the uniformity is nice.
* Simplified reference-docx/reference-odt to reference-doc.John MacFarlane2017-01-25
| | | | | | | | | | | | * Text.Pandoc.Options.WriterOptions: removed writerReferenceDocx and writerReferenceODT, replaced them with writerReferenceDoc. This can hold either an ODT or a Docx. In this way, writerReferenceDoc is like writerTemplate, which can hold templates of different formats. [API change] * Removed `--reference-docx` and `--reference-odt` options. * Added `--reference-doc` option.
* Update all tests to use new readers and error structure.Jesse Rosenthal2017-01-25
|
* Changed readNative to use PandocMonad.John MacFarlane2017-01-25
|
* Tests: have docx writer test use runIOorExplode.Jesse Rosenthal2017-01-25
| | | | | Note that part of the reason for making a pure writer is to have better tests, so this is a temporary fix.
* Docx writer test: comment out function to make compiler happy.Jesse Rosenthal2016-08-15
|
* Docx writer: test for custom styles.Jesse Rosenthal2016-08-15
| | | | | | | | This just tests whether a custom style with a recognizable style (italic etc, defined in a reference.docx) will roundtrip back to that format (i.e., whether `<span custom-style="Emphasized">` will roundtrip to `Emph`). The custom styles are defined in the `custom-style-reference.docx` included in the docx dir.
* Docx writer tests: allow for altered round tripJesse Rosenthal2016-08-15
| | | | | | Sometimes we will want to get back something different than we started with in a round-trip test. This allows for that, and makes the perfect roundtrip a special case.
* Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane2015-11-09
| | | | This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
* Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* Tests: docx writer tests now use "../data" for data directory.John MacFarlane2015-09-09
| | | | This allows tests to be run without installing first.
* Merge branch 'errortype' of https://github.com/mpickering/pandoc into ↵John MacFarlane2015-03-28
| | | | | | | | | | | mpickering-errortype Conflicts: benchmark/benchmark-pandoc.hs src/Text/Pandoc/Readers/Markdown.hs src/Text/Pandoc/Readers/Org.hs src/Text/Pandoc/Readers/RST.hs tests/Tests/Readers/LaTeX.hs
* Docx Writer: Tables testNikolay Yakimov2015-03-08
|
* Lists testNikolay Yakimov2015-03-08
|
* Initial tests for writerNikolay Yakimov2015-03-03