aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src/Test/Haddock/Xhtml.hs
Commit message (Collapse)AuthorAgeFilesLines
* Removes `haddock-test`s dependency on `xml`/`xhtml` (#1027)Alec Theriault2019-02-101-84/+103
| | | | | | | | | | | This means that `html-test`, `latex-test`, `hoogle-test`, and `hypsrc-test` now only depend on GHC boot libs. So we should now be able to build and run these as part of GHC's testsuite. \o/ The reference output has changed very slightly, in three ways: * we don't convert quotes back into `"` as the `xml` lib did * we don't add extra ` ` as the `xml` lib did * we now remove the entire footer `div` (instead of just emptying it)
* Fix some Hyperlinker test suite falloutAlec Theriault2019-02-021-1/+9
| | | | | | | | | | | * Amend `ParserSpec` to match new Hyperlinker API - pass in compiler info - strip out null tokens * Make `hypsrc-test` pass reliably - strip out `local-*` ids - strip out `line-*` ids from the `ClangCppBug` test - re-accept output
* Remove `haddock-test`'s dep. on `syb` (#987)Alec Theriault2018-12-271-6/+12
| | | | The functionality is easily inlined into one short function: `gmapEverywhere`. This doesn't warrant pulling in another package.
* Accept failing testsAlec Theriault2018-09-221-2/+1
| | | | Also silence orphan warnings.
* Refactor existing code to use XHTML printer instead of XML one.Łukasz Hanuszczak2015-08-221-20/+21
|
* Create helper function for conversion between XML and XHTML.Łukasz Hanuszczak2015-08-221-0/+19
|
* Implement utility functions for conditional link stripping.Łukasz Hanuszczak2015-08-221-5/+22
|
* Refactor and simplify XHTML helper module of test package.Łukasz Hanuszczak2015-08-221-16/+24
|
* Refactor HTML test suite boilerplate to external package.Łukasz Hanuszczak2015-08-221-0/+49