aboutsummaryrefslogtreecommitdiff
path: root/html-test
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests for content searchalexbiehl2017-08-2890-21/+641
|
* Fix: Generate pattern signatures for constructors exported as patterns (#663)Tim Baumann2017-08-064-1/+233
| | | | | | | | | | | | | | | | | | | | | | | | * Fix pretty-printing of pattern signatures Pattern synonyms can have up to two contexts, both having a different semantic meaning: The first holds the constraints required to perform the matching, the second contains the constraints provided by a successful pattern match. When the first context is empty but the second is not it is necessary to render the first, empty context. * Generate pattern synonym signatures for ctors exported as patterns This fixes #653. * Simplify extractPatternSyn It is not necessary to generate the simplest type signature since it will be simplified when pretty-printed. * Add changelog entries for PR #663 * Fix extractPatternSyn error message
* Fix renaming after instance signature specializing (#660)Moritz Drexl2017-08-053-89/+365
| | | | | | | | | | * rework rename * Add regression test for Bug 613 * update tests * update changelog
* Document record fields when DuplicateRecordFields is enabled (#649)Alex Biehl2017-07-032-0/+185
|
* Make per-argument docs for class methods work again (#648)Alex Biehl2017-06-292-0/+120
| | | | | | * Make per-argument docs for class methods work again * Test case
* Don't include names with empty subordinates in maps (#644)Alex Biehl2017-06-233-0/+90
| | | These are unecessary anyway and just blow up interface size
* Haddock support for bundled pattern synonyms (#627)Christiaan Baaij2017-06-094-0/+1066
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Haddock support for bundled pattern synonyms * Add fixities to bundled pattern synonyms * Add bundled pattern synonyms to the synopsis * Store bundled pattern fixities in expItemFixities * Add test for bundled pattern synonyms * Stop threading fixities * Include bundled pattern synonyms for re-exported data types Sadly, fixity information isn't found for re-exported data types * Support for pattern synonyms * Modify tests after #631 * Test some reexport variations * Also lookup bundled pattern synonyms from `InstalledInterface`s * Check isExported for bundled pattern synonyms * Pattern synonym is exported check * Always look for pattern synonyms in the current module Another overlooked cornercase * Account for types named twice in export lists Also introduce a fast function for nubbing on a `Name` and use it throughout the code base. * correct fixities for reexported pattern synonyms * Fuse concatMap and map * Remove obsolete import * Add pattern synonyms to visible exports * Fix test * Remove corner case
* Allow user defined signatures for pattern synonyms (#631)Alex Biehl2017-06-032-0/+34
|
* Improve error messageSergey Vinokurov2017-04-292-3/+3
|
* Remove anything related to obsolete frames modealexbiehl2017-04-2683-296/+165
|
* `html-test --accept` deltas to reference samplesHerbert Valerio Riedel2017-04-258-115/+183
|
* Use new MathJax URL in html-testalexbiehl2017-04-25136-217/+217
| | | | | 18ed871afb82560d5433b2f53e31b4db9353a74e switched to a new MathJax URL but didn't update the tests.
* Update test suite to expect kind annotations on type parameters.Brian Huffman2017-03-232-5/+9
|
* Copyright holders shown on several lines. Fix #279Sebastian Meric de Bellefon2016-06-162-5/+5
|
* Merge pull request #504 from Helkafen/issue-280Sebastian Méric de Bellefon2016-05-282-0/+92
|\ | | | | Fix #280. Parsing of module header
| * Fix #280. Parsing of module headerSebastian Meric de Bellefon2016-05-152-0/+92
| | | | | | | | The initial newlines were counted as indentation spaces, thus disturbing the parsing of next lines
* | remove framed view of the HTML documentation (see #114 and #274)Sebastian Meric de Bellefon2016-05-242-58/+0
| | | | | | | | | | Frames are a bit broken, ignored by Hackage, and considered obsolete in general. This patch disables frames generation. The mini_*.html files are still used in the synopsis.
* | Fix #303. Hide footer when printingSebastian Meric de Bellefon2016-05-141-0/+3
|/ | | | | The "Produced by Haddock" footer was overlapping the page's body when printing. This patch hides the footer with a css media rule.
* html-test: Update reference outputBen Gamari2016-05-107-240/+820
|
* Update tests for previous commitPhil Ruffwind2016-02-0880-645/+1586
|
* html-test: Accept test outputBen Gamari2016-02-0881-2873/+4556
|
* test: Compare on dumpBen Gamari2016-02-081-1/+2
| | | | | For reasons I don't understand the Xml representations differ despite their textual representations being identical.
* testsuite: Rework handling of output sanitizationBen Gamari2016-02-081-1/+2
| | | | | | | | | Previously un-cleaned artifacts were kept as reference output, making it difficult to tell what has changed and causing spurious changes in the version control history. Here we rework this, cleaning the output during acceptance. To accomplish this it was necessary to move to strict I/O to ensure the reference handle was closed before accept attempts to open the reference file.
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-2557-0/+258
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-2157-2/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change notation and add support for inline math. Allow newlines in display math. Add a command line option for the mathjax url (you might want to use a locally installed version). Rebase tests because of extra url and version change. Respond to (some of the) comments. Fix warnings in InterfaceFile.hs
| * Handle inline math with mathjax.Dominic Steinitz2015-12-213-0/+118
| |
* | OrphanInstances: Accept test outputBen Gamari2015-12-244-1/+281
| |
* | html-test/Operators: Clear up ambiguous typesBen Gamari2015-12-231-1/+5
| | | | | | | | | | | | For reasons that aren't entirely clear a class with ambiguous types was accepted by GHC <8.0. I've added a functional dependency to clear up this ambiguity.
* | Add html-test for orphan instances outputBen Gamari2015-12-203-0/+14
| |
* | Get rid of obsolete testing utilities.Łukasz Hanuszczak2015-08-243-267/+0
| |
* | Improve portability of test runner scripts.Łukasz Hanuszczak2015-08-221-2/+3
| |
* | Refactor existing code to use XHTML printer instead of XML one.Łukasz Hanuszczak2015-08-221-4/+4
| |
* | Fix bug with test runner invoking Haddock in incorrect mode.Łukasz Hanuszczak2015-08-221-1/+5
| |
* | Adapt HTML test runner to use new ignoring functionality.Łukasz Hanuszczak2015-08-221-1/+10
| |
* | Create convenience script for running specific HTML tests.Łukasz Hanuszczak2015-08-222-0/+5
| |
* | Fix typo in link stripper of HTML test suite runner.Łukasz Hanuszczak2015-08-221-1/+1
| |
* | Refactor and simplify XHTML helper module of test package.Łukasz Hanuszczak2015-08-221-7/+10
| |
* | Create convenience wrappers to simplify in test entry points.Łukasz Hanuszczak2015-08-221-4/+1
| |
* | Make Haddock test package more generic.Łukasz Hanuszczak2015-08-221-4/+14
| |
* | Move Haddock runner of HTML test suite to Haddock test package.Łukasz Hanuszczak2015-08-221-118/+2
| |
* | Move IO-dependent config of HTML test suite to test package.Łukasz Hanuszczak2015-08-221-119/+2
| |
* | Refactor HTML test suite boilerplate to external package.Łukasz Hanuszczak2015-08-221-141/+4
| |
* | Make it possible to run tests without generating diff.Łukasz Hanuszczak2015-08-221-1/+6
| |
* | Fix issue with output being printed in incorrect order.Łukasz Hanuszczak2015-08-221-0/+2
| |
* | Implement footer-stripping logic.Łukasz Hanuszczak2015-08-221-53/+19
| |
* | Incorporate link stripping to output diffing mechanism.Łukasz Hanuszczak2015-08-221-9/+11
| |
* | Implement link-stripping logic as simple SYB transformation.Łukasz Hanuszczak2015-08-221-1/+8
| |
* | Create stub methods for processing test output as XML documents.Łukasz Hanuszczak2015-08-221-3/+17
| |
* | Make it possible to choose alternative diff tool.Łukasz Hanuszczak2015-08-221-5/+29
| |
* | Improve code style to match popular guidelines.Łukasz Hanuszczak2015-08-221-7/+7
| |