aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Writers/Docx.hs
AgeCommit message (Collapse)AuthorFilesLines
2018-01-27Docx writer tests: correct test name.Jesse Rosenthal1-1/+1
2018-01-27Docx writer tests: Add tests for custom stylesJesse Rosenthal1-0/+10
2018-01-27Docx writer tests: Use new golden frameworkJesse Rosenthal1-127/+113
These are based off the reader tests, with some removed (where the reader output was identical, based on different docx inputs). There are still more to be added. In particular, tests for custom-styles need to be added. All golden docx files have been checked in MS Word 2013 (windows). There is no corruption. There is questionable output in the `tables` test: the three tables seemed to be joined. This will be addressed in a future commit, and the golden docx file will be changed.
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane1-5/+5
2017-08-10Fixed writer tests not to use writerUserDataDir.John MacFarlane1-3/+3
2017-07-15Fix docx writer test for ghc 8.2.1.John MacFarlane1-1/+9
Workaround for different behavior of Data.Unique in different ghc versions.
2017-07-15Rearrange docx writer roundtrip test.John MacFarlane1-4/+4
I'm hoping this gives reproducible results on ghc 8.2.1.
2017-07-14Refactored compareOutput in docx writer testJohn MacFarlane1-7/+6
2017-06-10Changed all readers to take Text instead of String.John MacFarlane1-2/+4
Readers: Renamed StringReader -> TextReader. Updated tests. API change.
2017-03-14Use tasty for tests rather than test-framework.John MacFarlane1-8/+9
2017-03-04Stylish-haskell automatic formatting changes.John MacFarlane1-6/+6
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+151