aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Update test reference files with comments on instancesDavid Waern2009-11-237-49/+74
|
* Update CrossPackageDocs reference outputDavid Waern2009-11-231-275/+50
| | | | | - Remove GHC.MVar import (removed from base) - Strip link contents
* Update test reference outputDavid Waern2009-11-2213-702/+509
| | | | | * More links (Int, Float etc) * Stripped link contents
* Make copy.hs strip link contents before copyingDavid Waern2009-11-221-3/+10
| | | | No more updating of reference files when URLs in links changes.
* Follow removal of GHC.MVar from base in CrossPackageDocs David Waern2009-11-221-10/+1
|
* Follow findProgramOnPath signature change in runtests.hsDavid Waern2009-11-221-1/+1
|
* Make runtests.hs strip links before diffingDavid Waern2009-11-221-4/+9
| | | | | Generates easier to read diffs when tests fail. The content of the links is not important anyway since it is not taken into account by the tests.
* Add reference output for CrossPackageDocsDavid Waern2009-09-111-0/+745
|
* Update CrossPackageDocs testDavid Waern2009-09-111-1/+2
|
* Update runtests.hs to work with GHC 6.11David Waern2009-09-111-3/+3
|
* Use colordiff to display test results if availableDavid Waern2009-09-061-1/+11
|
* switch AttachInstances to use synify codeIsaac Dupree2009-08-181-1/+1
| | | | | | | | It changed an instance from showing ((,) a b) to (a, b) because my synify code is more sophisticated; I hope the latter is a good thing rather than a bad thing aesthetically, here. But this definitely reduces code duplication!
* Add a test for cross-package documentationDavid Waern2009-08-161-0/+11
|
* Read process.haddock when running testsDavid Waern2009-08-161-2/+4
|
* Update test output - we now have more linksDavid Waern2009-08-165-38/+120
|
* Read base.haddock when running testsDavid Waern2009-08-161-1/+8
| | | | We can now test cross-package docs.
* Update test suite following version bumpDavid Waern2009-07-2322-22/+22
|
* add test for GADT recordsIsaac Dupree2009-07-212-0/+307
|
* Clearer printing of versions by runtests.hsDavid Waern2009-07-061-4/+10
|
* WibbleDavid Waern2009-07-061-4/+4
|
* WibbleDavid Waern2009-03-281-1/+1
|
* Remove html files in the tests/output/ directory which have been ↵David Waern2009-02-0715-6111/+0
| | | | accidentally added
* Update test following change to top level subordinatesDavid Waern2009-02-073-173/+2
|
* Improve quasi-quotation test and add reference outputDavid Waern2009-01-223-2/+430
|
* Add test for quasi quotation. No reference output yet.David Waern2009-01-222-0/+45
|
* Add test for Template Haskell splicingDavid Waern2009-01-104-0/+182
|
* Update tests to account for version number changeDavid Waern2009-01-1033-33/+33
|
* Update tests following anchor changeDavid Waern2008-11-2816-46/+338
|
* FIX #45: generate two anchors for each nameDavid Waern2008-11-2314-41/+319
| | | | | | We generate two anchor tags for each name, one where we don't escape the name and one where we URI-encode it. This is for compatibility between IE and Opera. Test output is updated.
* HADDOCK_DATA_DIR changed to haddock_datadirDavid Waern2008-11-231-3/+3
|
* Update tests to account for version number bumpDavid Waern2008-11-2333-33/+33
|
* Update testsDavid Waern2008-11-152-2/+2
| | | | For unknown reasons, test output for Bug1 and Test has changed for the better.
* Reflect version bump in test suiteDavid Waern2008-11-1533-33/+33
|
* Output version info before running testsDavid Waern2008-11-041-0/+2
|
* Remove .ref files from tests/output/David Waern2008-11-0417-5805/+2
|
* Bump version numberDavid Waern2008-11-0433-33/+33
|
* Follow change to ExportDecl in frames codeDavid Waern2008-11-0449-15/+94
|
* Add tests/TH.hsDavid Waern2008-11-041-0/+8
|
* Add failing test for template haskell crashDavid Waern2008-11-031-0/+7
|
* Make named doc comments into ExportDoc instead of ExportDeclDavid Waern2008-10-272-0/+103
| | | | | Fixes a crash when processing modules without export lists containing named docs.
* Fix #61David Waern2008-10-164-0/+137
| | | | | | | | | | | | | | | | | | | We were not getting docs for re-exported class methods. This was because we were looking up the docs in a map made from the declarations in the current module being rendered. Obviously, re-exported class methods come from another module. Class methods and ATs were the only thing we were looking up using the doc map, everything else we found in the ExporItems. So now I've put subordinate docs in the ExportItem's directly, to make things a bit more consistent. To do this, I added subordinates to the the declarations in the declaration map. This was easy since we were computing subordinates anyway, to store stand-alone in the map. I added a new type synonym 'DeclInfo', which is what we call what is now stored in the map. This little refactoring removes duplicate code to retrieve subordinates and documentation from the HsGroup.
* Update testsDavid Waern2008-10-1045-45/+45
|
* Update test following Haddock version changeDavid Waern2008-08-1345-45/+45
|
* Add a reference file for the TypeFamilies testDavid Waern2008-07-241-0/+310
|
* Drop unnecessary parenthesis in types, put in by the userDavid Waern2008-07-243-30/+30
| | | | | | | | | | | | | We were putting in parenthesis were the user did. Let's remove this since it just clutters up the types. The types are readable anyway since we print parens around infix operators and do not rely on fixity levels. When doing this I discovered that we were relying on user parenthesis when printin types like (a `O` b) c. This patchs fixes this problem so that parenthesis are always inserted around an infix op application in case it is applied to further arguments, or if it's an arguments to a type constructor. Tests are updated.
* Be compatible with GHC 6.8.3David Waern2008-07-2345-45/+45
| | | | | | | | | | | | | | | | | | The cabal file is converted to use the "new" syntax with explicit Library and Executable sections. We define the __GHC_PATCHLEVEL__ symbol using a conditinal cpp-options field in the cabal file. (Ideally, Cabal would define the symbol for us, like it does for __GLASGOW_HASKELL__). We use these symbols to #ifdef around a small difference between 6.8.2 and 6.8.3. Previously, we only supported GHC 6.8.2 officially but the dependencies field said "ghc <= 6.9". This was just for convenience when testing against the (then compatible) HEAD version of GHC, and was left in the release by mistake. Now, we support both GHC 6.8.2 and 6.8.3 and the dependencies field correctly reflects this.
* Update tests/READMEDavid Waern2008-07-231-2/+8
|
* Add "all" command to runtests.hs that runs all tests despite failuresDavid Waern2008-07-231-3/+4
|
* Preparation for rendering instances as separate declarationsDavid Waern2008-07-201-0/+28
| | | | | | | | | We want to be able to render instances as separate declarations. So we remove the Name argument of ExportDecl, since instances are nameless. This patch also contains the first steps needed to gather type family instances and display them in the backend, but the implementation is far from complete. Because of this, we don't actually show the instances yet.
* Update test output following change to instance filteringDavid Waern2008-07-084-0/+136
|